v2
OpenAPI 3.1.02026-07-26262762.2 KBModels
Generate or edit an image with FLUX.2 [flex]
Submits an image generation or editing task with FLUX.2 [flex]. Specialized for typography and text rendering, and for preserving small details. Supports text-to-image and image-to-image editing workflows.
post/v1/flux-2-flex
Request body
Example request
{
"prompt": "ein fantastisches bild",
"seed": 42,
"guidance": 5,
"steps": 50
}Response
Successful Response