GizStackGizStackGizStack
Sign inStart free

← All models

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

sh
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}'
python
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)
sh
claude mcp add --transport http gizstack https://gizstack.com/v1/mcp \
  --header "Authorization: Bearer $GIZSTACK_API_KEY"

Request fields

FieldValuesDefault
promptlong
imagefiles
imagesfiles
referenceImagesfiles
size1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, auto1:1
resolution1K, 2K1K