Eleven Flash v2 API
Low-latency voice model for high-volume speech
About this model
Eleven Flash v2 is the low-latency generation of ElevenLabs’ speech line. It trades some expressiveness for speed, which makes it the practical choice for high-volume voiceover, prototypes and anything that has to come back quickly.
The catalogue accepts up to 4,096 characters per request and bills speech per character, so drafts stay cheap.
Use cases
- Real-time and near-real-time speech
- High-volume batch voiceover
- Prototypes and drafts
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 Flash v2 request example
Use https://gatelum.com/v1 as the base URL and pass elevenlabs/eleven-flash-v2 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-flash-v2",
"input": "Hello! This is a text-to-speech test.",
"voice": "21m00Tcm4TlvDq8ikWAM"
}
JSON