Eleven v4 API
The current flagship ElevenLabs voice model
About this model
Eleven v4 is the current flagship model in ElevenLabs’ text-to-speech line. It is a general-purpose voice model: pick it when the priority is the most natural result rather than the lowest latency, and keep Eleven v4 Turbo or Eleven Flash v2.5 for fast, high-volume speech.
The catalogue accepts up to 4,096 characters per request and bills speech per character, so a short request costs proportionally less than a long one.
Use cases
- Natural narration and audiobooks
- High-quality voiceovers
- Multilingual voice content
Input and output
- Input
- Text
- Output
- Speech audio
Voices
- Default voice
21m00Tcm4TlvDq8ikWAM- Recommended female voice
21m00Tcm4TlvDq8ikWAM- Recommended male voice
pNInz6obpgDQGcFmaJgB
These are real ElevenLabs voice_id values. Any other valid voice_id also passes through, even when it is not listed.
Developer
ElevenLabs
Official site of ElevenLabs- Developer
- ElevenLabs
- Type
- Sound
- Context
- 4,096 tokens
Eleven v4 request example
Use https://gatelum.com/v1 as the base URL and pass elevenlabs/eleven-v4 in the model field. You create the key in your account after signing up.
curl --silent --show-error --fail-with-body \
--header 'Authorization: Bearer glt_YOUR_KEY' \
'https://gatelum.com/v1/audio/speech' \
--header "Content-Type: application/json" \
--output 'output.mp3' \
--data-binary @- <<'JSON'
{
"model": "elevenlabs/eleven-v4",
"input": "Hello! This is a text-to-speech test.",
"voice": "21m00Tcm4TlvDq8ikWAM"
}
JSON