BFFLUX.2 Flex
Black Forest Labs · Image · about $0.088 a request · 8 routes
FLUX.2 [flex] excels at rendering complex text, typography, and fine details, and supports multi-reference editing in the same unified architecture. Pricing is as follows, [per the docs](https://bfl.ai/pricing?category=flux.2): We charge $0.06...
Model ID black-forest-labs/flux.2-flex
Quick try
Quickstart · API, SDK & MCP
curl https://gizstack.com/v1/generations \
-H "Authorization: Bearer $GIZSTACK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "black-forest-labs/flux.2-flex", "prompt": "A cinematic shot of a sunlit studio", "wait": 30}'from openai import OpenAI
client = OpenAI(base_url="https://gizstack.com/v1", api_key="$GIZSTACK_API_KEY")
res = client.images.generate(model="black-forest-labs/flux.2-flex", prompt="A sunlit studio")
print(res.data[0].url)claude mcp add --transport http gizstack https://gizstack.com/v1/mcp \
--header "Authorization: Bearer $GIZSTACK_API_KEY"Request fields
| Field | Values | Default |
|---|---|---|
| prompt | long | |
| outputFormat | png, jpeg, webp, JPG, PNG, WEBP | jpeg |
| aspectRatio | 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16, 21:9, auto | 1:1 |
| numberResults | 1 | 1 |
| inputReferences | files | |
| seed | number | |
| size | auto, 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21, 1024x1536 | 1:1 |
| image | files | |
| images | files | |
| width | number | 1024 |
| height | number | 1024 |
| outputQuality | number | |
| prompt_upsampling | check | |
| safety_tolerance | number | |
| steps | number | |
| guidance | number | |
| resolution | 1mp, 2mp, 3mp, 4mp, 512p, 1k, 2k, 4k, 1K, 2K | 2mp |
| format | JPG, PNG, WEBP | JPG |