Black Forest Labs: FLUX.2 Flex

One API key. Live prices. Ready-to-run code.

2 Flex is Black Forest Labs' controllable image generation and editing model, optimized for typography, graphic design, and production workflows requiring fine-grained control over the generation process.

Served on OneInfer by Black Forest Labs and fal. Use it with the same API key and pay-as-you-go wallet as every other model in the catalog.

ProviderBlack Forest Labsblackforestlabs/flux-2-flex

Call FLUX.2 Flex in 5 steps

Step 1 of 5

Black Forest Labs and fal serve this model. The pricing table below lists each provider’s rate.

Image generation
from $0.050 / image
Context
32K
Input
text, image
Output
image
Tool calling
Not listed

About this model

FLUX.2 Flex is Black Forest Labs' controllable image generation and editing model, optimized for typography, graphic design, and production workflows requiring fine-grained control over the generation process. It supports text-to-image generation, multi-reference editing, adjustable guidance strength, configurable inference steps, and prompt upsampling. The model is particularly suited to posters, advertisements, product packaging, branded graphics, and text-heavy visual compositions.

Input modalities

  • text

    Accepted as model input

  • image

    Accepted as model input

Providers

Available routing options for this model through OneInfer.

  • Image generation
    $0.050 / image
    Image generation
    $0.100 / image
    Routing
    OneInfer optimized
  • Available
    Image generation
    $0.050 / image
    Image generation
    $0.100 / image
    Routing
    OneInfer optimized

Pricing

Current OneInfer pricing for this model.

UsagePrice
Image generationstandard, 512x512$0.050 / image
Image generationstandard, 1024x1024$0.050 / image
Image generationstandard, 1024x1536$0.100 / image
Image generationstandard, 1536x1024$0.100 / image
Image generationstandard, 1920x1088$0.100 / image
Image generationstandard, 1088x1920$0.100 / image
Image generationstandard, 1024x2048$0.100 / image
Image generationstandard, 2048x1024$0.100 / image
Image generationstandard, 1536x1536$0.150 / image
Image generationstandard, 2048x2048$0.200 / image

Performance and benchmarks

Independent evaluations and live cluster operational metrics

We haven’t measured this model yet.

API guide

API docs
  1. Generate your access token

    Use your API key to generate the JWT access token required by the Models API.

  2. Add the JWT token

    Copy the generated JWT token and replace JWT_TOKEN in the example below.

  3. Check your credits

    If your balance is too low, before calling the model.

  4. Run the API example

    Choose your preferred language, copy the example, and send your first model request.

    curl -X POST https://api.oneinfer.ai/v1/ula/generate-image \
      -H "Authorization: Bearer YOUR_JWT_TOKEN" \
      -H "Content-Type: application/json" \
      -d '{
      "model": "blackforestlabs/flux-2-flex",
      "messages": [
        {
          "role": "user",
          "content": "A futuristic city skyline at dusk"
        }
      ],
      "number": 1,
      "size": "512x512",
      "quality": "standard"
    }'

Community reviews and ratings

Visitor and developer evaluations of Black Forest Labs: FLUX.2 Flex's real-world intelligence, code accuracy, and speed

No ratings yet

Top community tags

Be the first to rate and tag this model's coding and reasoning strengths.

No community reviews yet

Be the first to share developer feedback on Black Forest Labs: FLUX.2 Flex's latency, code accuracy, and reliability in production.