mcpField
F
flux-best-practices

flux-best-practices

github.com/calesthioCreative & media72.7k1.1k installsUpdated today
Repository

About flux-best-practices

flux-best-practices is a skill for writing image-generation and editing prompts for BFL FLUX models, with model-selection guidance and task-specific prompting rules.

Key features

  1. 01FLUX.1 and FLUX.2 model selection guidance
  2. 02Text-to-image prompt structure
  3. 03Image editing and multi-reference guidance
  4. 04Structured scenes and JSON prompts
  5. 05Typography and color specification rules
  6. 06Alternatives to negative prompts

Use cases

  1. 01Writing text-to-image prompts for FLUX
  2. 02Planning FLUX.2 image-editing inputs
  3. 03Describing complex scenes with JSON
  4. 04Generating images with text or specified brand colors

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/calesthio/openmontage --skill flux-best-practices

After installing, type/flux-best-practicesin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

AGENTS.md
rules/
_sections.md
core-principles.md
flux1-models.md
flux2-models.md
hex-color-prompting.md
i2i-prompting.md
json-structured-prompting.md
model-selection-guide.md
multi-reference-editing.md
negative-prompt-alternatives.md
t2i-prompting.md
typography-text.md

Details

From the project README

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

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.

Comments

Markdown supported