All models
Eleven Flash v2.5
elevenlabs/eleven-flash-v2-5
ElevenLabs TTSSpeech Synthesis
ElevenLabs' fastest, cheapest TTS — ~75ms latency.
Quick start
# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
-H "content-type: application/json" \
-d '{
"model": "elevenlabs/eleven-flash-v2-5",
"text": "<text to speak>"
}'
# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
-J '{"model": "elevenlabs/eleven-flash-v2-5", "text": "<text to speak>"}'Examples
Parameters
Input
text string required
The text to convert into speech.
voice_id string optional
The ElevenLabs voice ID to use for generation.
output_format string optional
File format of the output (e.g. png, jpeg, mp4).
language_code string optional
ISO 639-1 language code to enforce.
voice_settings object optional
seed integer optional
Random seed for reproducible results — same seed + inputs gives the same output.
previous_text string optional
next_text string optional
apply_text_normalization string optional
Output
Audio file (hosted URL)