Skip to main content
FLUX.1.1 [pro] is a high-quality text-to-image generation model from Black Forest Labs, available through AnyFast. The API is synchronous — it returns the generated image directly as base64-encoded data.

Key capabilities

  • Text-to-image — Generate images from text descriptions
  • Flexible size — Specify output dimensions with size (recommended: 1024x1024)
  • Reproducible — Use seed for deterministic generation
  • Format control — Choose jpeg or png output

Quick example

curl https://www.anyfast.ai/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "flux-1-1-pro",
    "prompt": "A cute baby polar bear",
    "size": "1024x1024"
  }'

Parameters

ParameterTypeRequiredDescription
modelstringYesMust be flux-1-1-pro
promptstringYesText description of the image
nintegerNoNumber of images (1–4). Default: 1
sizestringNoOutput size, e.g. 1024x1024
output_formatstringNojpeg or png
seedintegerNoRandom seed for reproducibility

Response

FieldDescription
data[].b64_jsonBase64-encoded image data
createdUnix timestamp

API Reference

View the interactive API playground for FLUX.1.1 [pro].