---
name: flux-best-practices
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.
metadata:
  author: Black Forest Labs
  version: "1.0.0"
  tags: flux, bfl, image-generation, prompting, t2i, i2i
title: flux-best-practices
canonical_url: https://skilld.dev/gh/openmontageinc/openmontage/flux-best-practices
last_updated: 2026-10-14T05:11:31.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [AGENTS.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/AGENTS.md), [rules/_sections.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/_sections.md), [rules/core-principles.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/core-principles.md), [rules/flux1-models.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/flux1-models.md), [rules/flux2-models.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/flux2-models.md), [rules/hex-color-prompting.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/hex-color-prompting.md), [rules/i2i-prompting.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/i2i-prompting.md), [rules/json-structured-prompting.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/json-structured-prompting.md), [rules/model-selection-guide.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/model-selection-guide.md), [rules/multi-reference-editing.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/multi-reference-editing.md), [rules/negative-prompt-alternatives.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/negative-prompt-alternatives.md), [rules/t2i-prompting.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/t2i-prompting.md), [rules/typography-text.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/typography-text.md).
>
> If the user asked to install this Skill, run `npx skilld install openmontageinc/openmontage/flux-best-practices`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/flux-best-practices`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/openmontageinc/openmontage/flux-best-practices) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/flux-best-practices`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/flux-best-practices --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/flux-best-practices --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# 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`](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/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:

- [rules/core-principles.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/core-principles.md) - Universal FLUX prompting principles
- [rules/flux2-models.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/flux2-models.md) - FLUX.2 family: klein, max, pro, flex, dev
- [rules/flux1-models.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/flux1-models.md) - FLUX.1 family: older generation of FLUX.2 models - pro, Kontext, Fill
- [rules/t2i-prompting.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/t2i-prompting.md) - Text-to-image prompting patterns
- [rules/i2i-prompting.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/i2i-prompting.md) - Image-to-image editing with FLUX.2
- [rules/json-structured-prompting.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/json-structured-prompting.md) - Complex scene composition
- [rules/hex-color-prompting.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/hex-color-prompting.md) - Precise color specification
- [rules/typography-text.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/typography-text.md) - Text rendering and typography
- [rules/multi-reference-editing.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/multi-reference-editing.md) - Multi-image references
- [rules/negative-prompt-alternatives.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/negative-prompt-alternatives.md) - Positive alternatives
- [rules/model-selection-guide.md](https://skilld.dev/api/skills-raw/openmontageinc/openmontage/flux-best-practices/rules/model-selection-guide.md) - 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 harbor
lights creating soft bokeh in the background. Kodak Portra 400 color science.
```
