Text-to-Image Generation
Black Forest Labs
flux-1.1-pro
Generate an image from a text prompt using FLUX.1.1 [pro]. Returns the result synchronously as base64-encoded JSON.
POST
Text-to-Image Generation
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Model ID
Available options:
flux-1.1-pro Example:
"flux-1.1-pro"
Text description of the image to generate.
Example:
"A cute baby polar bear"
Number of images to generate.
Required range:
1 <= x <= 4Output image size, e.g. 1024x1024. Recommended: 1024x1024.
Example:
"1024x1024"
Output image format.
Available options:
jpeg, png Example:
"jpeg"
Random seed for reproducible generation.