Bytedance Seed Speech Text to Speech
bytedance/seed-speech/tts/2.0Seed Speech Tts 2.0 is Bytedance's text-to-speech AI model. Generate human-like voiceovers with expressive intonation, multilingual support, and customizable voice characteristics.
- Preço base
- $0.06USD / execução
- Execução
- async
- Tipo de modelo
- audio
- Campos de entrada
- 9
Testar o modelo
Playground
O que você gostaria de fazer em seguida?
Exemplos
Selecione um exemplo para carregar as entradas e o resultado no playground.
- Abrir resultado ↗
Entrada
{}
Cartão do modelo
Especificações
Preços
- Preço base
- $0.06 / 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
- ByteDance
- ID do modelo
- bytedance/seed-speech/tts/2.0
- Execução
- async
- URL base
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README da API
Bytedance Seed Speech Text to Speech
Seed Speech TTS 2.0 generates expressive, multilingual voiceovers in 10 languages, with pitch, speed, and volume control and a free-text voice_instruction for delivery.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
text | string | — | Text to speak. |
output_format | mp3 / opus | mp3 | Output file format. |
sample_rate | 8000 / 16000 / 22050 / 24000 / 32000 / 44100 / 48000 | 24000 | Output sample rate in Hz. |
volume | number 0.5–2 | 1 | 0.5–2× loudness. |
voice | vivi_mixed_en_zh_ja_es_id / mindy_en_es_id_pt_zh / stokie_en / dacey_en / tim_en / kian_en_zh / cedric_en_zh / sophie_en_zh / jean_en_zh / magnus_en_zh / mabel_en_zh / nadia_en_zh / opal_en_zh / pearl_en_zh / quentin_en_zh / vienna_mixed_en_zh / alina_mixed_en_zh / corinne_mixed_en_zh / esther_mixed_en_zh / freya_mixed_en_zh / gigi_mixed_en_zh / holly_mixed_en_zh / lyla_mixed_en_zh / daisy_mixed_en_zh / tracy_es_zh / jess_ja_es_id_pt_en_zh / pinky_es_ko_mixed_en_zh / sweety_ja_es / sandy_es_mixed_en_zh / sven_de / minimi_ja / usseau_fr / felipe_es / han_id / martins_pt / enzo_it / shane_ko / bonnie_zh / felix_zh / celeste_zh / monkey_king_zh | stokie_en | Preset voice; names list the languages each voice supports. |
pitch | integer -12–12 | 0 | Semitones, −12 to 12. |
language | zh / en / ja / es-mx / id / pt-br / ko / it / de / fr | — | Force the text to be read as a single language, disabling automatic language detection. |
voice_instruction | string | — | How to say it, e.g. “excited sports commentator”. |
speed | number 0.5–2 | 1 | 0.5–2× speaking rate. |
Billing
$0.06 per started 1,000 characters of text, with a one-unit minimum.
| Text | Price |
|---|---|
| 200 characters | $0.06 |
| 1,000 characters | $0.06 |
| 2,500 characters | $0.18 |
Failed runs are not charged.
Prompting
- Pick a voice whose language list includes the text's language.
Comece a construir
Envie sua primeira solicitação
Endpoint compatível com OpenAI com autenticação unificada e rastreamento de uso.
# 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": "bytedance/seed-speech/tts/2.0",
"text": "Hello, this is a test of ByteDance TTS 2.0 speech synthesis.",
"pitch": 0,
"speed": 1,
"voice": "stokie_en",
"volume": 1,
"sample_rate": 24000,
"output_format": "mp3",
"voice_instruction": "Speak in a warm, cheerful tone."
}
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"Esquema de entrada
9 parâmetros · 0 obrigatórios · 9 opcionais
| Parâmetro | Tipo | Obrigatório | Descrição |
|---|---|---|---|
text | string | Opcional | The text to synthesize into speech. · Tamanho máx.: 5000 |
pitch | integer | Opcional | Voice pitch shift in semitones. 0 is normal pitch, -12 lowers by one octave, 12 raises by one octave. · Mín.: -12 · Máx.: 12 · Padrão: 0 |
speed | number | Opcional | Speech speed. 1.0 is normal speed, 0.5 is half speed, 2.0 is double speed. · Mín.: 0.5 · Máx.: 2 · Padrão: 1 |
voice | string | Opcional | Voice to use for synthesis. The preset name encodes the voice and its supported language codes. 'mixed_en_zh' means the voice can seamlessly blend English and Chinese; separate codes (e.g. 'en_zh') mean the voice supports each language independently. · Opções: vivi_mixed_en_zh_ja_es_id, mindy_en_es_id_pt_zh, stokie_en, dacey_en, tim_en, kian_en_zh, cedric_en_zh, sophie_en_zh, jean_en_zh, magnus_en_zh, mabel_en_zh, nadia_en_zh, opal_en_zh, pearl_en_zh, quentin_en_zh, vienna_mixed_en_zh, alina_mixed_en_zh, corinne_mixed_en_zh, esther_mixed_en_zh, freya_mixed_en_zh, gigi_mixed_en_zh, holly_mixed_en_zh, lyla_mixed_en_zh, daisy_mixed_en_zh, tracy_es_zh, jess_ja_es_id_pt_en_zh, pinky_es_ko_mixed_en_zh, sweety_ja_es, sandy_es_mixed_en_zh, sven_de, minimi_ja, usseau_fr, felipe_es, han_id, martins_pt, enzo_it, shane_ko, bonnie_zh, felix_zh, celeste_zh, monkey_king_zh · Padrão: "stokie_en" vivi_mixed_en_zh_ja_es_idmindy_en_es_id_pt_zhstokie_endacey_entim_enkian_en_zhcedric_en_zhsophie_en_zhjean_en_zhmagnus_en_zhmabel_en_zhnadia_en_zhopal_en_zhpearl_en_zhquentin_en_zhvienna_mixed_en_zhalina_mixed_en_zhcorinne_mixed_en_zhesther_mixed_en_zhfreya_mixed_en_zhgigi_mixed_en_zhholly_mixed_en_zhlyla_mixed_en_zhdaisy_mixed_en_zhtracy_es_zhjess_ja_es_id_pt_en_zhpinky_es_ko_mixed_en_zhsweety_ja_essandy_es_mixed_en_zhsven_deminimi_jausseau_frfelipe_eshan_idmartins_ptenzo_itshane_kobonnie_zhfelix_zhceleste_zhmonkey_king_zh |
volume | number | Opcional | Volume. 1.0 is normal volume, 0.5 is half, 2.0 is double. · Mín.: 0.5 · Máx.: 2 · Padrão: 1 |
language | string | Opcional | Force the text to be read as a single language, disabling automatic language detection. Leave unset for automatic detection (including seamless Chinese/English mixing on bilingual voices). Codes: zh (Chinese), en (English), ja (Japanese), es-mx (Mexican Spanish), id (Indonesian), pt-br (Brazilian Portuguese), ko (Korean), it (Italian), de (German), fr (French). · Opções: zh, en, ja, es-mx, id, pt-br, ko, it, de, fr zhenjaes-mxidpt-brkoitdefr |
sample_rate | integer | Opcional | Sample rate of the output audio in Hz. · Opções: 8000, 16000, 22050, 24000, 32000, 44100, 48000 · Padrão: 24000 8000160002205024000320004410048000 |
output_format | string | Opcional | Output audio format. 'mp3' returns MP3 audio; 'opus' returns Opus audio in an Ogg container. · Opções: mp3, opus · Padrão: "mp3" mp3opus |
voice_instruction | string | Opcional | Optional natural-language instruction that steers the delivery (tone, emotion, pace, volume), e.g. 'Speak in a cheerful tone' or 'Could you speak a bit slower?'. It is not spoken aloud and does not affect billing. |
Esquema de saída
| Campo | Tipo | Descrição |
|---|---|---|
id | string | Identificador exclusivo da tarefa de geração |
status | string | Status da tarefa: pending, running, completed, failed, timeout |
model | string | Modelo usado para a geração |
outputs | array | Vetor de itens de saída |
outputs[].url | string | URL do artefato gerado |
outputs[].content_type | string | Tipo MIME (por exemplo, image/png, video/mp4) |
error | object | null | Detalhes do erro se houver falha, null em caso de sucesso |
error.type | string | Código do tipo de erro legível por máquina |
error.message | string | Descriçã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.
- Enviar: faça POST para /v1/run e leia o
idretornado. - Fazer polling: faça GET em /v1/run/{id} até o status ser
completed,failedoutimeout. - Recuperar: leia
outputsda resposta concluída.
Escolha seu modelo
Comparar modelos
| Modelo | Tipo | Preço padrão | Lançado |
|---|---|---|---|
Bytedance Seed Speech Text to SpeechEste modelo ByteDance | Áudio | $0.06 / execução | 5 de jun. de 2026 |
ByteDance | Áudio | $0.02 / execução | 24 de nov. de 2026 |
ByteDance | Áudio | $0.19 / execução | 25 de jun. de 2026 |
Perguntas
FAQ
Como faço chamadas ao Bytedance Seed Speech Text to Speech pela SandBase?
Crie uma chave de API da SandBase e depois envie solicitações com o ID do modelo "bytedance/seed-speech/tts/2.0" 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 ByteDance separada?
Não. Uma única chave de API e saldo da SandBase dão acesso a Bytedance Seed Speech Text to Speech e aos outros modelos do catálogo; você não precisa se cadastrar separadamente no ByteDance.
