Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
TTS-1 | 文字轉語音
tts
POST /v1/audio/speech
model_price_error
MIXROUTE_API_KEY
curl --fail-with-body --request POST 'https://api.mixroute.ai/v1/audio/speech' \ --header "Authorization: Bearer $MIXROUTE_API_KEY" \ --header 'Content-Type: application/json' \ --output speech.mp3 \ --data '{ "model": "tts", "input": "Hello.", "voice": "alloy", "response_format": "mp3" }'
speech.mp3
model
input
voice