flux-best-practices

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

FLUX Best Practices

FLUX最佳实践

Use this skill when generating prompts for any BFL FLUX model to ensure optimal image quality and accurate prompt interpretation.
当为任何BFL FLUX模型生成提示词时,使用本技能以确保最佳图像质量和准确的提示词解读。

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
  • 为FLUX.2或FLUX.1模型创建提示词
  • 文本转图像(T2I)生成
  • 使用FLUX.2模型进行图像转图像(I2I)编辑
  • 基于JSON的结构化场景生成
  • 排版与文本渲染
  • 多参考风格迁移
  • 色彩精准的品牌内容生成

Quick Reference

快速参考

Prompt Structure Formula

提示词结构公式

[Subject] + [Action/Pose] + [Style/Medium] + [Context/Setting] + [Lighting] + [Camera/Technical]
[主体] + [动作/姿态] + [风格/媒介] + [环境/场景] + [光线] + [相机/技术参数]

Model Selection

模型选择

Use CaseRecommended ModelNotes
Fastest generationFLUX.2 [klein]4B or 9B, sub-second
Highest qualityFLUX.2 [max]Best detail, grounding search
Production balancedFLUX.2 [pro]Quality + speed
Typography/textFLUX.2 [flex]Best text rendering
Local/developmentFLUX.2 [dev]Open weights
Image editingFLUX.2 [pro/max]Pass image URL directly to input_image
InpaintingFLUX.1 FillObject removal/completion
Context editingFLUX.1 KontextOlder model, prefer FLUX.2
使用场景推荐模型说明
最快生成速度FLUX.2 [klein]4B或9B参数,生成时间不足一秒
最高画质FLUX.2 [max]细节表现最佳,支持 grounding 搜索
生产环境平衡之选FLUX.2 [pro]画质与速度兼顾
排版/文本渲染FLUX.2 [flex]文本渲染效果最佳
本地/开发环境使用FLUX.2 [dev]开源权重模型
图像编辑FLUX.2 [pro/max]直接将图像URL传入input_image参数
图像补全FLUX.1 Fill物体移除/内容补全
上下文编辑FLUX.1 Kontext旧款模型,优先选择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
  1. 请勿使用负面提示词 - FLUX不支持负面提示词;请描述你想要的内容
  2. 保持具体 - 模糊的提示词会产生平庸的结果
  3. 使用自然语言 - 散文/叙事风格效果最佳
  4. 指定光线 - 光线对图像质量影响最大
  5. 文本加引号 - 使用"带引号的文本"来渲染排版内容
  6. 十六进制颜色 - 结合颜色描述使用#RRGGBB格式

Related

相关内容

For API integration (endpoints, polling, webhooks), see the bfl-api skill.
如需API集成(端点、轮询、Webhook),请查看bfl-api技能。

Rules Reference

规则参考

Read individual rule files for detailed guidance:
  • rules/core-principles.md - Universal FLUX prompting principles
  • rules/flux2-models.md - FLUX.2 family: klein, max, pro, flex, dev
  • rules/flux1-models.md - FLUX.1 family: older generation of FLUX.2 models - pro, Kontext, Fill
  • rules/t2i-prompting.md - Text-to-image prompting patterns
  • rules/i2i-prompting.md - Image-to-image editing with FLUX.2
  • rules/json-structured-prompting.md - Complex scene composition
  • rules/hex-color-prompting.md - Precise color specification
  • rules/typography-text.md - Text rendering and typography
  • rules/multi-reference-editing.md - Multi-image references
  • rules/negative-prompt-alternatives.md - Positive alternatives
  • rules/model-selection-guide.md - Choosing the right model
阅读单独的规则文件获取详细指导:
  • rules/core-principles.md - FLUX通用提示词原则
  • rules/flux2-models.md - FLUX.2系列:klein、max、pro、flex、dev
  • rules/flux1-models.md - FLUX.1系列:FLUX.2的前代模型 - pro、Kontext、Fill
  • rules/t2i-prompting.md - 文本转图像提示词模式
  • rules/i2i-prompting.md - 使用FLUX.2进行图像转图像编辑
  • rules/json-structured-prompting.md - 复杂场景构图
  • rules/hex-color-prompting.md - 精准颜色指定
  • rules/typography-text.md - 文本渲染与排版
  • rules/multi-reference-editing.md - 多图像参考编辑
  • rules/negative-prompt-alternatives.md - 正面替代方案
  • rules/model-selection-guide.md - 模型选择指南

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.
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.