Create Speech
Audio
Create Speech
Convert text to speech.
Provider is resolved automatically from the model name via the model_pricing
table — no hardcoded provider branching. Streaming is used when the provider
adapter supports it and stream=true (the default).
The voice field is required for ElevenLabs models. Sarvam models use
speaker instead.
POST
Create Speech
Authorizations
Enter your MeshAPI key (rsk_...) — sent as Authorization: Bearer <key>.
Body
application/json
Response
Successful Response