Flux 2 Pro Image Gen
Image Generator
Flux 2 Pro Image Gen
POST
Flux 2 Pro Image Gen
FLUX.2 [pro] from Black Forest Labs delivers production-grade text-to-image generation with enhanced realism, sharper text rendering, and native editing for reliable, repeatable results. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Request Headers
Supports:
application/jsonBearer authentication format, for example: Bearer {{API Key}}.
Request Body
Random seed for generation. -1 means use a random seed. Range: -1 to 2147483647Value range: [-1, 2147483647]
Pixel size (width*height) of the output media. Each dimension ranges from 256 to 1536 pixels
A list of input image URLs for editing. Up to 3 images are supportedArray length: 1 - 3
A text prompt describing the expected editing effect for the image
Response
Use the task_id to request the Task Result API to retrieve the generated outputs.
Last modified on June 10, 2026