FLUX.2 Flex: toman pricing and API

Image generation · black-forest-labs/flux.2-flex

Price
about20,773toman per image

You see the exact estimate before each run and an amount is held; afterwards only the real cost is charged, and a failed run is free.

API example

python
from openai import OpenAI

client = OpenAI(base_url="https://api.uttapen.ir/v1", api_key="sk-up-...")

img = client.images.generate(model="black-forest-labs/flux.2-flex", prompt="a ceramic coffee cup on a wooden table, soft morning light")
print(img.data[0].url)
Maker's own description

FLUX.2 [flex] excels at rendering complex text, typography, and fine details, and supports multi-reference editing in the same unified architecture.