Generate an image — FLUX 2 Pro
Images
Generate an image — FLUX 2 Pro
Black Forest Labs FLUX 2 Pro — premium quality with megapixel-based resolution and seed control.
Asynchronous: returns a job_id; poll GET /v1/images/{job_id} until succeeded.
POST
Generate an image — FLUX 2 Pro
Authorizations
API key as a bearer token: Authorization: Bearer bpx_live_xxx
Body
application/json
Text description of the image to generate.
Output aspect ratio.
Available options:
1:1, 4:3, 3:4, 9:16, 16:9, 2:3, 3:2 Number of images to generate.
Required range:
1 <= x <= 4Seed for reproducible generation. Omit for random.
Output resolution (megapixels).
Available options:
0.5MP, 1MP, 2MP, 4MP