Documentation Index
Fetch the complete documentation index at: https://docs.unifically.com/llms.txt
Use this file to discover all available pages before exploring further.
Generate high-quality speech audio from text using ElevenLabs models with a variety of voices.
Model
elevenlabs/text-to-speech
Parameters
| Parameter | Type | Required | Default | Description |
|---|
text | string | Yes | - | Text to convert to speech |
voice | string | Yes | - | Voice ID to use |
model_id | string | No | eleven_flash_v2_5 | TTS model (see models below) |
output_format | string | No | mp3_44100_128 | Audio output format (see formats below) |
language_code | string | No | auto | ISO 639-1 language code to force language |
seed | integer | No | - | Seed for deterministic output (0–4294967295) |
voice_settings | object | No | - | Fine-tune voice behavior (see below) |
voice_settings
| Field | Type | Description |
|---|
stability | number | 0–1. Lower = more emotional range, higher = more monotone |
similarity_boost | number | 0–1. How closely to match the original voice |
style | number | 0–1. Amplifies the style of the original speaker. Increases latency |
speed | number | Speech speed multiplier. 1.0 = normal, <1 = slower, >1 = faster |
use_speaker_boost | boolean | Boost similarity to original voice. Slightly increases latency |
Available Models
| Model | Description | Languages | Char Limit |
|---|
eleven_flash_v2_5 | Ultra-fast, low latency (~75ms) | 32 | 40,000 |
eleven_turbo_v2_5 | Balanced quality and speed (~250ms) | 32 | 40,000 |
eleven_multilingual_v2 | Highest quality, rich emotion | 29 | 10,000 |
eleven_v3 | Most expressive, dramatic delivery | 70+ | 5,000 |
| Format | Description |
|---|
mp3_22050_32 | MP3 22.05kHz 32kbps |
mp3_44100_64 | MP3 44.1kHz 64kbps |
mp3_44100_96 | MP3 44.1kHz 96kbps |
mp3_44100_128 | MP3 44.1kHz 128kbps (default) |
mp3_44100_192 | MP3 44.1kHz 192kbps |
opus_48000_32 | Opus 48kHz 32kbps |
opus_48000_64 | Opus 48kHz 64kbps |
opus_48000_96 | Opus 48kHz 96kbps |
opus_48000_128 | Opus 48kHz 128kbps |
opus_48000_192 | Opus 48kHz 192kbps |
pcm_16000 | Raw PCM 16kHz |
pcm_22050 | Raw PCM 22.05kHz |
pcm_24000 | Raw PCM 24kHz |
pcm_44100 | Raw PCM 44.1kHz |
pcm_48000 | Raw PCM 48kHz |
wav_44100 | WAV 44.1kHz |
ulaw_8000 | μ-law 8kHz (Twilio) |
alaw_8000 | A-law 8kHz |
Resources
Get available voices from the Resources API:
GET /v1/resources/elevenlabs/voices
Example
curl -X POST https://api.unifically.com/v1/tasks \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "elevenlabs/text-to-speech",
"input": {
"text": "Hello world, this is a test.",
"voice": "TX3LPaxmHKxFdv7VOQHJ",
"model_id": "eleven_flash_v2_5",
"output_format": "mp3_44100_128",
"language_code": "en",
"seed": 42,
"voice_settings": {
"stability": 0.5,
"similarity_boost": 0.75,
"speed": 1.0
}
}
}'
Response
{
"code": 200,
"success": true,
"data": {
"task_id": "abc123def456",
"status": "pending"
}
}
Completed Response
{
"code": 200,
"success": true,
"data": {
"task_id": "abc123def456",
"status": "completed",
"output": {
"audio_url": "https://files.storagecdn.online/audio/abc123.mp3"
}
}
}