Nexus
All models
ElevenLabs Music Available

ElevenLabs Text to Speech V4 Turbo

Generate natural, expressive speech with **ElevenLabs Eleven v4 Turbo**, the low-latency version of Eleven v4.

Text to Speech

From 150 credits (≈ ₹150.00) per request.

Parameters

ParameterTypeDescription
text string Text to convert to speech with a single voice. **Required when `dialogue` is not provided.** Up to 10,000 characters. Ignored when `dialogue` is provided. Supports inline audio tags to control delivery, for example `[laughs]`, `[whispers]`, `[sighs]`, `[excitedly]`. Tags count toward the length like normal characters.
max length 10000
voice string Voice ID for `text`. **Required when `dialogue` is not provided.** Built-in voices (preview: `https://static.aiquickdraw.com/elevenlabs/voice/.mp3`): `pNInz6obpgDQGcFmaJgB` Adam; `Xb7hH8MSUJpSbSDYk0k2` Alice; `pqHfZKP75CvOlQylNhV4` Bill; `nPczCjzI2devNBz1zQrb` Brian; `N2lVS1w4EtoT3dr4eOWO` Callum; `IKne3meq5aSn9XLyUdCD` Charlie; `iP95p4xoKVk53GoZ742B` Chris; `onwK4e9ZLuTAKqWW03F9` Daniel; `cjVigY5qzO86Huf0OWal` Eric; `JBFqnCBsd6RMkjVDRZzb` George; `SOYHLrjzK2X1ezoPC6cr` Harry; `cgSgspJ2msm6clMCk
format: uri
dialogue array<object> Multi-speaker dialogue, spoken in order; at least 1 segment. Each segment requires `text` and `voice`. The combined `text` of all segments is up to 10,000 characters. When `dialogue` is provided, the top-level `text` and `voice` are not needed; if both `text` and `dialogue` are sent, `dialogue` is used and `text` is ignored.
stability number Voice stability, from 0 to 1. Default 0.5. - Lower than 0.5 (**Creative**): more expressive and varied, but less consistent between generations - Higher than 0.5 (**Robust**): steadier and more consistent, but less emotional range
min 0 · max 1 · default 0.5
similarity_boost number How closely the output should match the original voice, from 0 to 1. Default 0.75. Higher values stay closer to the reference voice.
min 0 · max 1 · default 0.75
language_code string Language code used for pronunciation and text normalization. **Omit this field for automatic detection.** Set it explicitly when the text is short or mixes languages and detection picks the wrong one. Options: af = Afrikaans; am = Amharic; ar = Arabic; hy = Armenian; as = Assamese; ast = Asturian; az = Azerbaijani; be = Belarusian; bn = Bengali; bs = Bosnian; bg = Bulgarian; my = Burmese; yue = Cantonese; ca = Catalan; ceb = Cebuano; ny = Chichewa; hr = Croatian; cs = Czech; da = Danish; nl = Du
one of: "af", "am", "ar", "hy", "as", "ast", "az", "be", "bn", "bs", "bg", "my", "yue", "ca", "ceb", "ny", "hr", "cs", "da", "nl", "en", "et", "fil", "fi", "fr", "ff", "gl", "ka", "de", "el", "gu", "ha", "he", "hi", "hu", "is", "id", "ga", "it", "ja", "jv", "kam", "kn", "kk", "ky", "ko", "lo", "lv", "ln", "lt", "lg", "lb", "mk", "ms", "ml", "mt", "zh", "mi", "mr", "mn", "ne", "no", "oc", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sr", "sn", "sd", "sk", "sl", "so", "ckb", "es", "sw", "sv", "tg", "ta", "te", "th", "tr", "uk", "ur", "uz", "vi", "cy", "wo", "yo", "zu"
audio_effects object Optional audio effects, matching the Filter, Noise, Space and Distance effects on the ElevenLabs website. Each type can be used alone or combined, at no extra cost. **Omit the whole object when you don't need effects.** `distance`, `send_level` and `pan` must be numbers.

What you get back

Files arrive in output.files[] as private links that expire, with their type and size.

Use it from your code

# 1. Create the task
curl https://nexus.promptscenes.in/api/v1/tasks \
  -H "Authorization: Bearer $NEXUS_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "model": "elevenlabs-text-to-speech-v4-turbo",
    "input": {
        "stability": 0.5,
        "similarity_boost": 0.75,
        "language_code": "af"
    },
    "callback_url": "https://your-app.com/webhooks/nexus"
}'

# 2. Poll for the result
curl https://nexus.promptscenes.in/api/v1/tasks/TASK_ID \
  -H "Authorization: Bearer $NEXUS_API_KEY"
import os, time, uuid, requests

API = "https://nexus.promptscenes.in/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['NEXUS_API_KEY']}"}

task = requests.post(
    f"{API}/tasks",
    headers={**HEADERS, "Idempotency-Key": str(uuid.uuid4())},
    json={
        "model": "elevenlabs-text-to-speech-v4-turbo",
        "input": {
            "stability": 0.5,
            "similarity_boost": 0.75,
            "language_code": "af",
        },
        "callback_url": "https://your-app.com/webhooks/nexus",
    },
).json()

while task["status"] not in ("succeeded", "failed", "cancelled"):
    time.sleep(3)
    task = requests.get(f"{API}/tasks/{task['id']}", headers=HEADERS).json()

print(task["status"], task.get("output"))
const API = "https://nexus.promptscenes.in/api/v1";
const headers = {
  Authorization: `Bearer ${process.env.NEXUS_API_KEY}`,
  "Content-Type": "application/json",
};

let task = await fetch(`${API}/tasks`, {
  method: "POST",
  headers: { ...headers, "Idempotency-Key": crypto.randomUUID() },
  body: JSON.stringify({
      "model": "elevenlabs-text-to-speech-v4-turbo",
      "input": {
          "stability": 0.5,
          "similarity_boost": 0.75,
          "language_code": "af"
      },
      "callback_url": "https://your-app.com/webhooks/nexus"
  }),
}).then((r) => r.json());

while (!["succeeded", "failed", "cancelled"].includes(task.status)) {
  await new Promise((r) => setTimeout(r, 3000));
  task = await fetch(`${API}/tasks/${task.id}`, { headers }).then((r) => r.json());
}
console.log(task.status, task.output);

Request

{
    "model": "elevenlabs-text-to-speech-v4-turbo",
    "input": {
        "stability": 0.5,
        "similarity_boost": 0.75,
        "language_code": "af"
    }
}

Response

{
    "id": "6f1c…",
    "object": "task",
    "model": "elevenlabs-text-to-speech-v4-turbo",
    "status": "succeeded",
    "output": {
        "files": [
            {
                "url": "https://…signed…",
                "mime": "…",
                "size": 0
            }
        ]
    },
    "estimated_cost": "…",
    "charged": "…"
}