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.
- Harga dasar
- $0.06USD / run
- Eksekusi
- async
- Jenis model
- audio
- Field input
- 9
Coba model ini
Playground
Apa yang ingin Anda lakukan selanjutnya?
Contoh
Pilih contoh untuk memuat input dan hasilnya ke playground.
- Buka hasil ↗
Input
{}
Kartu model
Spesifikasi
Harga
- Harga dasar
- $0.06 / run
Konteks & modalitas
- Input
- Didefinisikan oleh skema
- Output
- audio
Kemampuan
- Chat
- Tidak didukung
- Vision
- Tidak didukung
- Penalaran
- Tidak didukung
- Output terstruktur
- Tidak didukung
- Pemanggilan fungsi
- Tidak didukung
- Input audio
- Tidak didukung
Akses
- Penyedia
- ByteDance
- Model ID
- bytedance/seed-speech/tts/2.0
- Eksekusi
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README 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.
Mulai membangun
Kirim permintaan pertama Anda
Endpoint yang kompatibel dengan OpenAI dengan autentikasi dan pelacakan penggunaan terpadu.
# 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"Skema Input
9 parameter · 0 wajib · 9 opsional
| Parameter | Tipe | Wajib | Deskripsi |
|---|---|---|---|
text | string | Opsional | The text to synthesize into speech. · Panjang maksimum: 5000 |
pitch | integer | Opsional | Voice pitch shift in semitones. 0 is normal pitch, -12 lowers by one octave, 12 raises by one octave. · Min: -12 · Maks: 12 · Bawaan: 0 |
speed | number | Opsional | Speech speed. 1.0 is normal speed, 0.5 is half speed, 2.0 is double speed. · Min: 0.5 · Maks: 2 · Bawaan: 1 |
voice | string | Opsional | 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. · Opsi: 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 · Bawaan: "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 | Opsional | Volume. 1.0 is normal volume, 0.5 is half, 2.0 is double. · Min: 0.5 · Maks: 2 · Bawaan: 1 |
language | string | Opsional | 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). · Opsi: zh, en, ja, es-mx, id, pt-br, ko, it, de, fr zhenjaes-mxidpt-brkoitdefr |
sample_rate | integer | Opsional | Sample rate of the output audio in Hz. · Opsi: 8000, 16000, 22050, 24000, 32000, 44100, 48000 · Bawaan: 24000 8000160002205024000320004410048000 |
output_format | string | Opsional | Output audio format. 'mp3' returns MP3 audio; 'opus' returns Opus audio in an Ogg container. · Opsi: mp3, opus · Bawaan: "mp3" mp3opus |
voice_instruction | string | Opsional | 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. |
Skema Output
| Field | Tipe | Deskripsi |
|---|---|---|
id | string | Pengidentifikasi unik untuk tugas generasi |
status | string | Status tugas: pending, running, completed, failed, timeout |
model | string | Model yang digunakan untuk generasi |
outputs | array | Array item output |
outputs[].url | string | URL artefak yang dihasilkan |
outputs[].content_type | string | Tipe MIME (mis. image/png, video/mp4) |
error | object | null | Detail error jika gagal, null jika berhasil |
error.type | string | Kode jenis error yang dapat dibaca mesin |
error.message | string | Deskripsi error yang dapat dibaca manusia |
Alur Kerja Asinkron
Model ini berjalan secara asinkron. Kirim permintaan, lalu polling untuk hasilnya.
- Kirim: POST ke /v1/run dan baca
idyang dikembalikan. - Polling: GET /v1/run/{id} sampai status menjadi
completed,failed, atautimeout. - Ambil: baca
outputsdari response yang selesai.
Pilih model Anda
Bandingkan model
| Model | Tipe | Harga default | Rilis |
|---|---|---|---|
Bytedance Seed Speech Text to SpeechModel ini ByteDance | Audio | $0.06 / run | 5 Jun 2026 |
ByteDance | Audio | $0.02 / run | 24 Nov 2026 |
ByteDance | Audio | $0.19 / run | 25 Jun 2026 |
Pertanyaan
FAQ
Bagaimana cara memanggil Bytedance Seed Speech Text to Speech melalui SandBase?
Buat kunci API SandBase, lalu kirim permintaan dengan model ID "bytedance/seed-speech/tts/2.0" ke Unified Run API (/v1/run) di https://api.sandbase.ai. Contoh permintaan di halaman ini menunjukkan payload yang tepat.
Apakah saya memerlukan akun ByteDance terpisah?
Tidak. Satu kunci API dan saldo SandBase memberi Anda akses ke Bytedance Seed Speech Text to Speech dan model lain di katalog; Anda tidak perlu mendaftar ke ByteDance secara terpisah.
