Most voice pipelines stitch together two vendors: one for transcription, another for synthesis. That means two keys, two billing relationships and two failure modes. Here both directions live on the same endpoint and draw from the same credit.
Speech to text
curl https://api.evolaitech.uk/v1/audio/transcriptions
-H "Authorization: Bearer $EVOAPI_KEY"
-F [email protected]
-F model="openai/whisper-large-v3"
The response is plain text with timestamps where the model supports them. For long recordings, chunk the audio by silence rather than by fixed duration; accuracy improves and you avoid hitting size limits.
Available transcription models
openai/whisper-large-v3— the safe default, wide language coverage.nvidia/parakeet-tdt-0.6b-v3— very fast on English, low cost.elevenlabs/scribe-v2— strong on accented and noisy speech.fal-ai/wizper— good diarisation behaviour on interviews.
Text to speech
curl https://api.evolaitech.uk/v1/audio/speech
-H "Authorization: Bearer $EVOAPI_KEY"
-H "Content-Type: application/json"
-d '{
"model": "tts-kokoro",
"input": "Your build finished successfully. Three tests skipped.",
"voice": "default"
}'
-o speech.mp3
Voice and speed are request fields, so the same script can produce a calm narrator for one product and a brisk one for another.
Voice models worth knowing
tts-kokoro— fast and natural, ideal for UI and notifications.tts-elevenlabs-turbo-v2-5— expressive, best for narration.tts-minimax-speech-02-hd— high fidelity long-form reads.tts-gemini-3-1-flash— low latency, good for conversational agents.
A round-trip example
Transcribe a call, summarise it with a text model, then read the summary back as audio for a voice note. Three calls, one key, one invoice line.
1. POST /v1/audio/transcriptions -> transcript text
2. POST /v1/chat/completions -> summary
3. POST /v1/audio/speech -> mp3 of the summary
Voice models sit in the audio add-on tier, alongside music generation. Plans that include the add-on are marked + Video on pricing. The endpoint reference is in the gateway guide.
