FLUX.2 Klein 4B: toman pricing and API

Image generation · black-forest-labs/flux.2-klein-4b

Price
about4,847toman 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-klein-4b", prompt="a ceramic coffee cup on a wooden table, soft morning light")
print(img.data[0].url)
Maker's own description

FLUX.2 [klein] 4B is the fastest and most cost-effective model in the FLUX.2 family, optimized for high-throughput use cases while maintaining excellent image quality. Pricing is based on the output...