Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

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.

Preço base
$0.20USD / execução
Execução
async
Tipo de modelo
audio
Campos de entrada
3
Rota de produção

Testar o modelo

Playground

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. Intervalo: 0 a 1.
SaídaExemplo
  1. O que você gostaria de fazer em seguida?

    Abrir original

Exemplos

Selecione um exemplo para carregar as entradas e o resultado no playground.

Cartão do modelo

Especificações

Preços

Preço base
$0.20 / execução

Contexto e modalidades

Entrada
Definido pelo schema
Saída
audio

Capacidades

Chat
Não suportado
Visão
Não suportado
Raciocínio
Não suportado
Saída estruturada
Não suportado
Chamada de função
Não suportado
Entrada de áudio
Não suportado

Acesso

Provedor
ElevenLabs
ID do modelo
elevenlabs/text-to-dialogue
Execução
async
URL base
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

README da 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.

Comece a construir

Envie sua primeira solicitação

Endpoint compatível com OpenAI com autenticação unificada e rastreamento de uso.

API de produção
endpoint Unified Run API
https://api.sandbase.ai/v1/run
ID do 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 obrigatórios · 3 opcionais

ParâmetroTipoObrigatórioDescrição
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. · Opções: , 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 saída

CampoTipoDescrição
idstringIdentificador exclusivo da tarefa de geração
statusstringStatus da tarefa: pending, running, completed, failed, timeout
modelstringModelo usado para a geração
outputsarrayVetor de itens de saída
outputs[].urlstringURL do artefato gerado
outputs[].content_typestringTipo MIME (por exemplo, image/png, video/mp4)
errorobject | nullDetalhes do erro se houver falha, null em caso de sucesso
error.typestringCódigo do tipo de erro legível por máquina
error.messagestringDescrição do erro legível por humanos

Fluxo assíncrono

Este modelo é executado de forma assíncrona. Envie uma solicitação e depois faça polling pelo resultado.

  1. Enviar: faça POST para /v1/run e leia o id retornado.
  2. Fazer polling: faça GET em /v1/run/{id} até o status ser completed, failed ou timeout.
  3. Recuperar: leia outputs da resposta concluída.

Escolha seu modelo

Comparar modelos

Todos os modelos de imagem e vídeo
ModeloTipoPreço padrãoLançado
Text To DialogueEste modelo
ElevenLabs
Áudio$0.20 / execução9 de set. de 2025
ElevenLabsÁudio$0.01 / execução2 de nov. de 2026
ElevenLabsÁudio$0.04 / execução28 de set. de 2026
ElevenLabsÁudio$0.08 / execução28 de set. de 2026
ElevenLabsÁudio$0.75 / execução14 de set. de 2026
ElevenLabsÁudio$0.75 / execução14 de set. de 2026

Perguntas

FAQ

Como faço chamadas ao ElevenLabs Text To Dialogue pela SandBase?

Crie uma chave de API da SandBase e depois envie solicitações com o ID do modelo "elevenlabs/text-to-dialogue" para Unified Run API (/v1/run) em https://api.sandbase.ai. Os exemplos de requisição nesta página mostram a carga exata.

Preciso de uma conta ElevenLabs separada?

Não. Uma única chave de API e saldo da SandBase dão acesso a ElevenLabs Text To Dialogue e aos outros modelos do catálogo; você não precisa se cadastrar separadamente no ElevenLabs.