Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Text To Dialogue

elevenlabs/text-to-dialogue

ElevenLabs 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.

Prezzo base
$0.20USD / esecuzione
Esecuzione
async
Tipo di modello
audio
Campi di input
3
Route di produzione

Prova il modello

Playground

Apri playground
Input
A list of dialogue inputs, each containing text and a voice ID which will be converted into speech.
Language code (ISO 639-3) used to enforce a language for the model.
01
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. Intervallo: da 0 a 1.
OutputEsempio
  1. Cosa vuoi fare dopo?

    Apri originale

Esempi

Seleziona un esempio per caricare i suoi input e il risultato nel playground.

Scheda del modello

Specifiche

Prezzi

Prezzo base
$0.20 / esecuzione

Contesto e modalità

Input
Definito dallo schema
Output
audio

Funzionalità

Chat
Non supportato
Vision
Non supportato
Ragionamento
Non supportato
Output strutturato
Non supportato
Chiamata di funzione
Non supportato
Input audio
Non supportato

Accesso

Provider
ElevenLabs
ID modello
elevenlabs/text-to-dialogue
Esecuzione
async
URL base
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

README API

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

FieldTypeDefaultNotes
inputsitem[]—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.
stabilitynumber 0–1—Lower is more expressive.

Billing

$0.20 per started 1,000 characters across all lines, with a one-unit minimum.

DialoguePrice
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.

Inizia a costruire

Invia la tua prima richiesta

Endpoint compatibile con OpenAI con autenticazione unificata e tracciamento dell'utilizzo.

API di produzione
Endpoint Unified Run API
https://api.sandbase.ai/v1/run
ID del modello
elevenlabs/text-to-dialogue
# 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"
01

Schema di input

3 parametri · 0 obbligatori · 3 facoltativi

ParametroTipoObbligatorioDescrizione
inputsarrayFacoltativoA list of dialogue inputs, each containing text and a voice ID which will be converted into speech.
stabilitynumberFacoltativoDetermines 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_codestringFacoltativoLanguage code (ISO 639-3) used to enforce a language for the model. · Opzioni: , 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
02

Schema di output

CampoTipoDescrizione
idstringIdentificatore univoco dell'attività di generazione
statusstringStato dell'attività: pending, running, completed, failed, timeout
modelstringModello usato per la generazione
outputsarrayArray di elementi di output
outputs[].urlstringURL dell'artefatto generato
outputs[].content_typestringTipo MIME (ad esempio image/png, video/mp4)
errorobject | nullDettagli dell'errore in caso di fallimento, null in caso di successo
error.typestringCodice del tipo di errore leggibile dalla macchina
error.messagestringDescrizione dell'errore leggibile dall'utente

Workflow asincrono

Questo modello funziona in modo asincrono. Invia una richiesta, quindi esegui il polling per ottenere il risultato.

  1. Invio: esegui POST su /v1/run e leggi il id restituito.
  2. Polling: esegui GET /v1/run/{id} finché lo stato non è completed, failed o timeout.
  3. Recupero: leggi outputs dalla risposta completata.

Scegli il tuo modello

Confronta i modelli

Tutti i modelli di immagini e video
ModelloTipoPrezzo predefinitoRilasciato
Text To DialogueQuesto modello
ElevenLabs
Audio$0.20 / esecuzione9 set 2025
ElevenLabsAudio$0.01 / esecuzione2 nov 2026
ElevenLabsAudio$0.04 / esecuzione28 set 2026
ElevenLabsAudio$0.08 / esecuzione28 set 2026
ElevenLabsAudio$0.75 / esecuzione14 set 2026
ElevenLabsAudio$0.75 / esecuzione14 set 2026

Domande

FAQ

Come chiamo ElevenLabs Text To Dialogue tramite SandBase?

Crea una chiave API SandBase, poi invia richieste con l'ID modello "elevenlabs/text-to-dialogue" a Unified Run API (/v1/run) su https://api.sandbase.ai. Gli esempi di richiesta in questa pagina mostrano il payload esatto.

Mi serve un account ElevenLabs separato?

No. Una sola chiave API e un solo saldo SandBase ti danno accesso a ElevenLabs Text To Dialogue e agli altri modelli del catalogo; non è necessario registrarsi separatamente su ElevenLabs.