CSM 1B: toman pricing and API

Text to speech · sesame/csm-1b

Price
2,424toman per 1,000 characters

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-...")

audio = client.audio.speech.create(model="sesame/csm-1b", voice="<voice>", input="سلام! به یوتاپن خوش آمدید.")
audio.write_to_file("hello.mp3")
Maker's own description

CSM 1B is a conversational speech model from Sesame. It accepts text input and produces English speech output, with voice options spanning conversational and read-speech styles. At 1B parameters, it...