Skip to main content
POST
/
audio
/
speech
Text to Speech
curl --request POST \
  --url https://api.euron.one/api/v1/euri/audio/speech \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "<string>",
  "input": "<string>",
  "voice": "<string>",
  "target_language_code": "<string>",
  "speech_sample_rate": 123,
  "pace": 123
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.euri.ai/llms.txt

Use this file to discover all available pages before exploring further.

Request

POST https://api.euron.one/api/v1/euri/audio/speech

Body parameters

model
string
required
TTS model ID. Options: canopylabs/orpheus-v1-english, canopylabs/orpheus-arabic-saudi, playai-tts, playai-tts-arabic, sarvam-tts.
input
string
required
The text to synthesize into speech.
voice
string
Voice ID or name. Available voices depend on the model.
target_language_code
string
Language code for Sarvam models (e.g. "hi-IN", "en-IN").
speech_sample_rate
integer
Audio sample rate in Hz (Sarvam models).
pace
number
Speech pace/speed (Sarvam models).

Examples

curl -X POST https://api.euron.one/api/v1/euri/audio/speech \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_EURI_API_KEY" \
  -d '{
    "model": "canopylabs/orpheus-v1-english",
    "input": "Hello! Welcome to EURI, the AI API gateway by Euron.",
    "voice": "tara"
  }' \
  --output speech.wav

Response

Returns binary audio data (audio/wav). Save the response body directly to a file.

Pricing

ModelPrice per million characters
canopylabs/orpheus-v1-english$22.00
canopylabs/orpheus-arabic-saudi$40.00
playai-tts$22.00
playai-tts-arabic$40.00
sarvam-tts$33.00 (premium)