Recraft V4.1 Flash: toman pricing and API

Image generation · recraft/recraft-v4.1-flash

Price
about2,378toman 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="recraft/recraft-v4.1-flash", prompt="a ceramic coffee cup on a wooden table, soft morning light")
print(img.data[0].url)
Maker's own description

Recraft V4.1 Flash is a text-to-image model from Recraft, the speed and cost tier of the V4.1 family. It generates ~1K raster images in about 1.5 seconds end to end,...