Generate an image from a text prompt using FLUX.2 [pro]. Supports up to 4MP resolution and multi-reference consistency. Returns the result synchronously as base64-encoded JSON.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Model ID
flux-2-pro "flux-2-pro"
Text description of the image to generate.
"A cute baby polar bear"
Number of images to generate.
1 <= x <= 4Output image size, e.g. 1024x1024. Supports up to 4MP resolution.
"1024x1024"
Output image format.
jpeg, png "jpeg"
Random seed for reproducible generation.