Skip to main content

Try FLUX.2 [flex] in the Workbench

Run this model interactively, tune parameters, and compare outputs.
Model ID: flux-2-flex FLUX.2 [flex] is an image generation model that excels in high-quality image creation and editing with strong control over text rendering, typographic layout, and precise prompt adherence. It provides granular control over image generation, allowing users to balance speed, quality, and cost by adjusting inference steps and guidance scale, and supports up to 10 reference images for tasks such as style transfer, compositing, and product continuity. Some other noteworthy features of FLUX.2 [flex] include:
  • Superior text and caption rendering, making it well-suited for infographics, marketing materials, and brand assets.
  • JSON-structured prompts for precise compositional control.
  • Accurate color reproduction, including support for exact HEX color codes, which is valuable for product visualization.
*Quantization is specific to the inference provider and the model may be offered with different quantization levels by other providers.

Example request

Use the Workbench as a request builder: configure parameters for this model in the UI, then open the API tab to copy the exact cURL or Python call.
See the image editing reference for more details.

Fetch model details

The models endpoint returns the full model object, including its json_request_schema.

Request parameters

Required parameters

Optional parameters