Text To Dialogue
elevenlabs/text-to-dialogueElevenLabs Text to Dialogue uses Eleven v3 to turn a list of lines into a multi-speaker conversation, with a separate voice for each line and inline audio tags for delivery.
- Grundpreis
- $0.20USD / Ausführung
- Ausführung
- async
- Modelltyp
- audio
- Eingabefelder
- 3
Modell testen
Playground
Was möchten Sie als Nächstes tun?
Beispiele
Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.
- Ergebnis öffnen ↗
Eingabe
{}
Modellkarte
Spezifikationen
Preisgestaltung
- Basispreis
- $0.20 / Ausführung
Kontext & Modalitäten
- Eingabe
- Schema-definiert
- Ausgabe
- audio
Funktionen
- Chat
- Nicht unterstützt
- Vision
- Nicht unterstützt
- Reasoning
- Nicht unterstützt
- Strukturierte Ausgabe
- Nicht unterstützt
- Function Calling
- Nicht unterstützt
- Audioeingabe
- Nicht unterstützt
Zugriff
- Anbieter
- ElevenLabs
- Modell-ID
- elevenlabs/text-to-dialogue
- Ausführung
- async
- Basis-URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpunkt
- /v1/run
API-README
Text To Dialogue
ElevenLabs text-to-dialogue (Eleven v3): a multi-speaker conversation from a list of lines, each with its own voice and inline audio tags.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
inputs | item[] | — | List of {text, voice} lines in speaking order. |
language_code | `` / afr / ara / hye / asm / aze / bel / ben / bos / bul / cat / ceb / nya / hrv / ces / dan / nld / eng / est / fil / fin / fra / glg / kat / deu / ell / guj / hau / heb / hin / hun / isl / ind / gle / ita / jpn / jav / kan / kaz / kir / kor / lav / lin / lit / ltz / mkd / msa / mal / cmn / mar / nep / nor / pus / fas / pol / por / pan / ron / rus / srp / snd / slk / slv / som / spa / swa / swe / tam / tel / tha / tur / ukr / urd / vie / cym | — | Force a language. |
stability | number 0–1 | — | Lower is more expressive. |
Billing
$0.20 per started 1,000 characters across all lines, with a one-unit minimum.
| Dialogue | Price |
|---|---|
| 500 characters | $0.20 |
| 1,000 characters | $0.20 |
| 3,000 characters | $0.60 |
Failed runs are not charged.
Prompting
- Use audio tags like
[laughs]inside lines for delivery.
Also on SandBase
Related: elevenlabs/v3.
Jetzt loslegen
Senden Sie Ihre erste Anfrage
OpenAI-kompatibler Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "elevenlabs/text-to-dialogue",
"inputs": [
{
"text": "[applause] Thank you all for coming tonight! Today we have a very special guest with us.",
"voice": "Aria"
},
{
"text": "[gulps] ... [strong canadian accent] [excited] Hello everyone! Thank you all for having me tonight on this special day.",
"voice": "Charlotte"
}
]
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Eingabeschema
3 Parameter · 0 erforderlich · 3 optional
| Parameter | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
inputs | array | Optional | A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. |
stability | number | Optional | Determines how stable the voice is and the randomness between each generation. Lower values introduce broader emotional range for the voice. Higher values can result in a monotonous voice with limited emotion. Must be one of 0.0, 0.5, 1.0, else it will be rounded to the nearest value. · Min.: 0 · Max.: 1 |
language_code | string | Optional | Language code (ISO 639-3) used to enforce a language for the model. · Optionen: , afr, ara, hye, asm, aze, bel, ben, bos, bul, cat, ceb, nya, hrv, ces, dan, nld, eng, est, fil, fin, fra, glg, kat, deu, ell, guj, hau, heb, hin, hun, isl, ind, gle, ita, jpn, jav, kan, kaz, kir, kor, lav, lin, lit, ltz, mkd, msa, mal, cmn, mar, nep, nor, pus, fas, pol, por, pan, ron, rus, srp, snd, slk, slv, som, spa, swa, swe, tam, tel, tha, tur, ukr, urd, vie, cym afrarahyeasmazebelbenbosbulcatcebnyahrvcesdannldengestfilfinfraglgkatdeuellgujhauhebhinhunislindgleitajpnjavkankazkirkorlavlinlitltzmkdmsamalcmnmarnepnorpusfaspolporpanronrussrpsndslkslvsomspaswaswetamtelthaturukrurdviecym |
Ausgabeschema
| Feld | Typ | Beschreibung |
|---|---|---|
id | string | Eindeutige Kennung für den Generierungsauftrag |
status | string | Status des Auftrags: pending, running, completed, failed, timeout |
model | string | Verwendetes Modell für die Generierung |
outputs | array | Array von Ausgabeelementen |
outputs[].url | string | URL des generierten Artefakts |
outputs[].content_type | string | MIME-Typ (z. B. image/png, video/mp4) |
error | object | null | Fehlerdetails bei Fehlschlag, bei Erfolg null |
error.type | string | Maschinenlesbarer Fehler-Typcode |
error.message | string | Menschenlesbare Fehlerbeschreibung |
Asynchroner Workflow
Dieses Modell läuft asynchron. Senden Sie eine Anfrage und pollen Sie dann das Ergebnis.
- Senden: Per POST an /v1/run senden und das zurückgegebene
idlesen. - Pollen: GET /v1/run/{id}, bis der Status
completed,failedodertimeoutist. - Abrufen:
outputsaus der abgeschlossenen Antwort lesen.
Wählen Sie Ihr Modell
Modelle vergleichen
| Modell | Typ | Standardpreis | Veröffentlicht |
|---|---|---|---|
Text To DialogueDieses Modell ElevenLabs | Audio | $0.20 / Lauf | 9. Sept. 2025 |
ElevenLabs | Audio | $0.01 / Lauf | 2. Nov. 2026 |
ElevenLabs | Audio | $0.04 / Lauf | 28. Sept. 2026 |
ElevenLabs | Audio | $0.08 / Lauf | 28. Sept. 2026 |
ElevenLabs | Audio | $0.75 / Lauf | 14. Sept. 2026 |
ElevenLabs | Audio | $0.75 / Lauf | 14. Sept. 2026 |
Fragen
FAQ
Wie rufe ich ElevenLabs Text To Dialogue über SandBase auf?
Erstellen Sie einen SandBase API-Schlüssel und senden Sie dann Anfragen mit der Modell-ID "elevenlabs/text-to-dialogue" an Unified Run API (/v1/run) unter https://api.sandbase.ai. Die Anfragebeispiele auf dieser Seite zeigen die exakte Nutzlast.
Benötige ich ein separates ElevenLabs-Konto?
Nein. Mit einem SandBase API-Schlüssel und Guthaben erhalten Sie Zugriff auf ElevenLabs Text To Dialogue und die anderen Modelle im Katalog; Sie müssen sich nicht separat bei ElevenLabs registrieren.
