Agent Skillscalesthio/OpenMontage › flux-best-practices

flux-best-practices

GitHub

提供BFL FLUX图像生成模型的提示词最佳实践,涵盖T2I、I2I编辑、结构化JSON及排版等场景的Prompt构建公式与模型选型指南。

.agents/skills/flux-best-practices/SKILL.md calesthio/OpenMontage

Trigger Scenarios

为FLUX.1或FLUX.2模型编写图像生成提示词 需要进行文本到图像(T2I)或图像到图像(I2I)生成 使用FLUX模型进行品牌色精准生成或排版渲染

Install

npx skills add calesthio/OpenMontage --skill flux-best-practices -g -y
More Options

Non-standard path

npx skills add https://github.com/calesthio/OpenMontage/tree/main/.agents/skills/flux-best-practices -g -y

Use without installing

npx skills use calesthio/OpenMontage@flux-best-practices

指定 Agent (Claude Code)

npx skills add calesthio/OpenMontage --skill flux-best-practices -a claude-code -g -y

安装 repo 全部 skill

npx skills add calesthio/OpenMontage --all -g -y

预览 repo 内 skill

npx skills add calesthio/OpenMontage --list

SKILL.md

Frontmatter
{
    "name": "flux-best-practices",
    "metadata": {
        "tags": "flux, bfl, image-generation, prompting, t2i, i2i",
        "author": "Black Forest Labs",
        "version": "1.0.0"
    },
    "description": "Comprehensive guide for BFL FLUX image generation models. Covers prompting, T2I, I2I, structured JSON, hex colors, typography, multi-reference editing, and model-specific best practices for FLUX.2 and FLUX.1 families."
}

FLUX Best Practices

Use this skill when generating prompts for any BFL FLUX model to ensure optimal image quality and accurate prompt interpretation.

Extended reference: AGENTS.md in this directory is the long-form upstream FLUX guide (vendored from Black Forest Labs). It is supplementary reference material scoped to this skill only — SKILL.md is the loadable entry point and the authority. It does not override or extend the repository-root AGENTS.md / AGENT_GUIDE.md.

When to Use

  • Creating prompts for FLUX.2 or FLUX.1 models
  • Text-to-image (T2I) generation
  • Image-to-image (I2I) editing with FLUX.2 models
  • Structured scene generation with JSON
  • Typography and text rendering
  • Multi-reference style transfer
  • Color-accurate brand generations

Quick Reference

Prompt Structure Formula

[Subject] + [Action/Pose] + [Style/Medium] + [Context/Setting] + [Lighting] + [Camera/Technical]

Model Selection

Use Case Recommended Model Notes
Fastest generation FLUX.2 [klein] 4B or 9B, sub-second
Highest quality FLUX.2 [max] Best detail, grounding search
Production balanced FLUX.2 [pro] Quality + speed
Typography/text FLUX.2 [flex] Best text rendering
Local/development FLUX.2 [dev] Open weights
Image editing FLUX.2 [pro/max] Pass image URL directly to input_image
Inpainting FLUX.1 Fill Object removal/completion
Context editing FLUX.1 Kontext Older model, prefer FLUX.2

Critical Rules

  1. NO negative prompts - FLUX does not support negative prompts; describe what you want
  2. Be specific - Vague prompts produce mediocre results
  3. Use natural language - Prose/narrative style works best
  4. Specify lighting - Lighting has the biggest impact on quality
  5. Quote text - Use "quoted text" for typography rendering
  6. Hex colors - Use #RRGGBB format with color description

Related

For API integration (endpoints, polling, webhooks), see the bfl-api skill.

Rules Reference

Read individual rule files for detailed guidance:

Example Prompt

A weathered fisherman in his 70s with deep wrinkles and a salt-and-pepper beard,
wearing a navy cable-knit sweater, standing at the helm of his wooden boat.
Golden hour sunlight from the left creates dramatic rim lighting on his profile.
Shot on Hasselblad with 85mm lens at f/2.8, shallow depth of field with harbor
lights creating soft bokeh in the background. Kodak Portra 400 color science.

Version History

  • 0af32ce Current 2026-07-24 22:20

Same Skill Collection

.agents/skills/3d-asset-generation/SKILL.md
.agents/skills/acestep/SKILL.md
.agents/skills/agents/SKILL.md
.agents/skills/ai-video-gen/SKILL.md
.agents/skills/atlas-cloud/SKILL.md
.agents/skills/azure-speech-to-text/SKILL.md
.agents/skills/azure-text-to-speech/SKILL.md
.agents/skills/beautiful-mermaid/SKILL.md
.agents/skills/character-animation-qa/SKILL.md
.agents/skills/comfyui/SKILL.md
.agents/skills/create-video/SKILL.md
.agents/skills/d3-viz/SKILL.md
.agents/skills/dashscope/SKILL.md
.agents/skills/doubao-tts/SKILL.md
.agents/skills/elevenlabs/SKILL.md
.agents/skills/faceswap/SKILL.md
.agents/skills/ffmpeg/SKILL.md
.agents/skills/fish-audio-tts/SKILL.md
.agents/skills/framer-motion/SKILL.md
.agents/skills/grok-media/SKILL.md
.agents/skills/gsap-frameworks/SKILL.md
.agents/skills/gsap-performance/SKILL.md
.agents/skills/gsap-plugins/SKILL.md
.agents/skills/gsap-react/SKILL.md
.agents/skills/gsap-scrolltrigger/SKILL.md
.agents/skills/gsap-timeline/SKILL.md
.agents/skills/gsap-utils/SKILL.md
.agents/skills/heygen/SKILL.md
.agents/skills/hyperframes-cli/SKILL.md
.agents/skills/hyperframes-core/SKILL.md
.agents/skills/hyperframes-creative/SKILL.md
.agents/skills/hyperframes-registry/SKILL.md
.agents/skills/kling-official/SKILL.md
.agents/skills/lottie-bodymovin/SKILL.md
.agents/skills/ltx2/SKILL.md
.agents/skills/lyria/SKILL.md
.agents/skills/media-use/SKILL.md
.agents/skills/minimax-h3/SKILL.md
.agents/skills/music/SKILL.md
.agents/skills/playwright-recording/SKILL.md
.agents/skills/pose-library-design/SKILL.md
.agents/skills/remotion-best-practices/SKILL.md
.agents/skills/remotion/SKILL.md
.agents/skills/seedance-2-5/SKILL.md
.agents/skills/setup-api-key/SKILL.md
.agents/skills/sound-effects/SKILL.md
.agents/skills/speech-to-text/SKILL.md
.agents/skills/svg-character-animation/SKILL.md
.agents/skills/synthetic-screen-recording/SKILL.md

Metadata

Files
0
Version
1bab711
Hash
6c2fca51
Indexed
2026-07-24 22:20

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 01:50
浙ICP备14020137号-1 $mapa de visitantes$