Installation
- Claude Code
- Cursor
- Other Tools
What Your Agent Learns
flux-best-practices
Prompting knowledge for all FLUX models:- Prompt structure β The formula that works:
[Subject] + [Action] + [Style] + [Context] + [Lighting] + [Technical] - No negative prompts β FLUX doesnβt support them. Describe what you want, not what you donβt.
- Lighting vocabulary β Golden hour, softbox, rim light, Rembrandt, volumetric fog, and more
- Hex colors β Precise color control with
#RRGGBBformat - Typography β How to render text in images using quoted strings
- Model selection β When to use FLUX.2 [klein] vs [max] vs [pro], when to use Kontext, etc.
bfl-api
API integration patterns:- Async polling β Use the
polling_urlfrom responses, implement exponential backoff - Rate limits β 24 concurrent requests (6 for Kontext Max), how to handle 429s
- URL expiration β Download images within 10 minutes
- Regional endpoints β
api.eu.bfl.aifor GDPR,api.us.bfl.aifor US data residency - Webhooks β Production webhook setup and verification
Example: Before and After
Without skills, your agent might generate this prompt:Using with MCP
Skills and MCP serve different purposes:| Skills | MCP | |
|---|---|---|
| What it does | Teaches your agent FLUX knowledge | Lets your agent generate images directly |
| Use case | Writing code that uses FLUX | Generating images in conversation |

