black-forest-labs: flux-2-flex

Price, performance, capabilities, and a ready-to-use request for flux-2-flex.
Compare models
flux-2-flex
Availableblack-forest-labsImageSync / Async
Price
From $0.05
Released
Nov 25, 2025
Modalities
Image

Getting started

  1. Create API key

    Create a key in Console, then use it with every model on the platform.

  2. Send your first request

    Copy the example for your language and run it against the endpoint.

    Image editingText to imageTokenLab endpoint
    POST/v1/images/generations
    curl -X POST "https://api.tokenlab.sh/v1/images/generations" \
      -H "Authorization: Bearer sk-xxx" \
      -H "Content-Type: application/json" \
      -d '{
      "operation": "text-to-image",
      "model": "flux-2-flex",
      "prompt": "A minimalist product photo of matte black headphones on a soft blue background."
    }'

Pricing

Official price is the model maker's public baseline. TokenLab price is what you pay for this model on TokenLab.

Pricing

Per image
TokenLab price
How pricing works
Official price
How pricing works

Usage & activity

Success rate is the share of requests that completed. Latency is how long a full response takes; P95 means 95% of requests finished within that time.

Usage & availability

Last 24 hours

No data yet

Model performance
Metrics appear once privacy and data volume thresholds are met.

Data is based on aggregate user requests, excluding status checks.

Open in Console

Open flux-2-flex in Console with a prompt ready to edit or send.

Help me create an image with flux-2-flex using text-to-image at /v1/images/generations. Show the result, cost, and any limits I should know.

Use cases

Best for

Text to Image

Producing product imagery, illustrations, and design variations

01

Product visuals

Make campaign images, catalog scenes, and design directions from a few prompts.

02

Iterative editing

Create edits and variations from an existing image.

03

Creative testing

Compare prompt results, output counts, and response formats.

04

Side-by-side test

Compare response quality, latency, and price side by side.

Prompt examples

Generate a clean product shot of matte black headphones on a soft blue gradient.

Edit the source image into a premium ecommerce hero with natural shadows.

Give me three visual directions for a developer-tool launch banner.

FAQ

How much does flux-2-flex cost?

On TokenLab, flux-2-flex costs How pricing works . The pricing table above shows the full breakdown. Rates depend on the billing unit, specification, and usage. Compare matching conditions in the model's detailed pricing; a single rate does not determine the total cost.

What is flux-2-flex best for?

flux-2-flex supports Image to Image, Text to Image, Image Edit. You can open it directly in Create.

How do I test flux-2-flex?

Open flux-2-flex in Create. A sample for /v1/images/generations will be ready to try.

Which endpoint should flux-2-flex use?

Use https://api.tokenlab.sh/v1/images/generations for flux-2-flex. The request example below shows the matching code shape.

Can I test flux-2-flex before integrating it?

Yes. Open Console starts a ready draft for flux-2-flex and keeps your prompt after sign-in, so you don’t lose context.

Which operations does flux-2-flex support?

flux-2-flex supports Image editing, Text to image. Select an operation above to see its endpoint and request example.

More from FLUX

Related models