Flux Best Practices

calesthio/OpenMontage/.claude/skills/flux-best-practices

作者 calesthio9327439db69021ab4b0e2776729bf3b58fdb5a87無授權條款65K 個星標收錄於 2026年10月9日更新於 2026年10月9日儲存庫5 天前更新

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.

AI 產生的概覽

指導為 Black Forest Labs FLUX 影像生成模型撰寫提示詞,涵蓋文生圖、影像編輯與模型選擇。

功能
這項技能為撰寫 BFL FLUX 影像生成模型的提示詞提供參考指引。內容涵蓋提示詞結構、FLUX.2 與 FLUX.1 系列的模型選擇、文生圖與圖生圖模式、結構化 JSON 場景提示詞、十六進位色碼指定、文字排版呈現,以及多參考圖編輯。產出的是提示詞指引與範例,而非影像或程式碼。
適用情境
適用於為任何 BFL FLUX 模型撰寫或調整提示詞,包括文生圖、圖生圖編輯、結構化場景構圖、文字排版,以及色彩精準的品牌創作。也可用來判斷某個使用情境適合哪一款 FLUX 模型。
執行需求
不需要指令碼或執行環境相依項目,僅為說明與參考文件。API 整合不在範圍內,交由另一項技能處理。

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 [blocked] 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 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

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:

  • rules/core-principles.md [blocked] - Universal FLUX prompting principles
  • rules/flux2-models.md [blocked] - FLUX.2 family: klein, max, pro, flex, dev
  • rules/flux1-models.md [blocked] - FLUX.1 family: older generation of FLUX.2 models - pro, Kontext, Fill
  • rules/t2i-prompting.md [blocked] - Text-to-image prompting patterns
  • rules/i2i-prompting.md [blocked] - Image-to-image editing with FLUX.2
  • rules/json-structured-prompting.md [blocked] - Complex scene composition
  • rules/hex-color-prompting.md [blocked] - Precise color specification
  • rules/typography-text.md [blocked] - Text rendering and typography
  • rules/multi-reference-editing.md [blocked] - Multi-image references
  • rules/negative-prompt-alternatives.md [blocked] - Positive alternatives
  • rules/model-selection-guide.md [blocked] - Choosing the right model

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 harborlights creating soft bokeh in the background. Kodak Portra 400 color science.

來源與署名

來源:calesthio/OpenMontage位於.claude/skills/flux-best-practices提交9327439

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架