All models

Text → Voice

speech

Text-to-speech: turns text into natural-sounding audio. Several voices, Russian and other languages. Billed by input text length.

Pricing

1K chars

Parameters

inputrequired
voicealloy · ash · ballad · cedar · echo · fable · shimmer · verse · coral · marin · nova · sage

How to use via API

from openai import OpenAI
client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
resp = client.audio.speech.create(
model="mixen-voice-tts",
voice="alloy", # alloy, ash, ballad, cedar, echo...
input="Привет! Это Mixen AI.",
)
resp.stream_to_file("speech.mp3")