Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

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.

Precio base
$0.20USD / ejecución
Ejecución
async
Tipo de modelo
audio
Campos de entrada
3
Ruta de producción

Probar el modelo

Entorno de pruebas

Abrir playground
Entrada
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. Rango: de 0 a 1.
SalidaEjemplo
  1. ¿Qué le gustaría hacer después?

    Abrir original

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

Ficha del modelo

Especificaciones

Precios

Precio base
$0.20 / ejecución

Contexto y modalidades

Entrada
Definido por esquema
Salida
audio

Capacidades

Chat
No compatible
Visión
No compatible
Razonamiento
No compatible
Salida estructurada
No compatible
Llamadas a funciones
No compatible
Entrada de audio
No compatible

Acceso

Proveedor
ElevenLabs
ID del modelo
elevenlabs/text-to-dialogue
Ejecución
async
URL base
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

README de la 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.

Empiece a construir

Envíe su primera solicitud

Endpoint compatible con OpenAI con autenticación unificada y seguimiento de uso.

API de producción
Endpoint de Unified Run API
https://api.sandbase.ai/v1/run
ID del modelo
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

Esquema de entrada

3 parámetros · 0 obligatorios · 3 opcionales

ParámetroTipoObligatorioDescripción
inputsarrayOpcionalA list of dialogue inputs, each containing text and a voice ID which will be converted into speech.
stabilitynumberOpcionalDetermines 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. · Mín.: 0 · Máx.: 1
language_codestringOpcionalLanguage code (ISO 639-3) used to enforce a language for the model. · Opciones: , 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

Esquema de salida

CampoTipoDescripción
idstringIdentificador único de la tarea de generación
statusstringEstado de la tarea: pending, running, completed, failed, timeout
modelstringModelo usado para la generación
outputsarrayMatriz de elementos de salida
outputs[].urlstringURL del artefacto generado
outputs[].content_typestringTipo MIME (por ejemplo, image/png, video/mp4)
errorobject | nullDetalles del error si falla; null en caso de éxito
error.typestringCódigo de tipo de error legible por máquina
error.messagestringDescripción del error legible por humanos

Flujo asíncrono

Este modelo se ejecuta de forma asíncrona. Envía una solicitud y luego consulta el resultado.

  1. Enviar: haz POST a /v1/run y lee el id devuelto.
  2. Consultar: haz GET a /v1/run/{id} hasta que el estado sea completed, failed o timeout.
  3. Recuperar: lee outputs de la respuesta completada.

Elija su modelo

Comparar modelos

Todos los modelos de imagen y video
ModeloTipoPrecio predeterminadoLanzamiento
Text To DialogueEste modelo
ElevenLabs
Audio$0.20 / ejecución9 sept 2025
ElevenLabsAudio$0.01 / ejecución2 nov 2026
ElevenLabsAudio$0.04 / ejecución28 sept 2026
ElevenLabsAudio$0.08 / ejecución28 sept 2026
ElevenLabsAudio$0.75 / ejecución14 sept 2026
ElevenLabsAudio$0.75 / ejecución14 sept 2026

Preguntas

FAQ

¿Cómo llamo a ElevenLabs Text To Dialogue a través de SandBase?

Crea una clave API de SandBase y luego envía solicitudes con el ID de modelo "elevenlabs/text-to-dialogue" a Unified Run API (/v1/run) en https://api.sandbase.ai. Los ejemplos de solicitud de esta página muestran el payload exacto.

¿Necesito una cuenta separada de ElevenLabs?

No. Una sola clave API y saldo de SandBase te dan acceso a ElevenLabs Text To Dialogue y a los demás modelos del catálogo; no necesitas registrarte aparte en ElevenLabs.