BFFLUX.2
Black Forest Labs · Image · priced by the request · 2 routes
Black Forest Labs FLUX.2 Pro and Flex text-to-image and image editing with 8 aspect ratios, 1K/2K resolution, and up to 8 reference images.
Model ID blackforestlabs-flux-2-flex-edit
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": "blackforestlabs-flux-2-flex-edit", "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="blackforestlabs-flux-2-flex-edit", 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 | |
| image | files | |
| images | files | |
| referenceImages | files | |
| size | 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, auto | 1:1 |
| resolution | 1K, 2K | 1K |