ナビゲーションにスキップ

Seed TTS 3.0

Markdownとして表示

ByteDance’s Seed TTS 3.0 text-to-speech model on the Audio API: POST https://api.beatapi.io/v1/audios/tasks. Send the text, pick one of 520 preset voices, and describe in plain words how it should be read; the model reads it aloud in any of 119 languages and Chinese dialects and returns one MP3. It is speech, not music: there is no action and no follow-up.

Beta. Seed TTS 3.0 is served through a third-party route, not through ByteDance’s own API. A call may queue longer than usual or be briefly unavailable, and the options below may change. A task that fails is not billed.

Read a text aloud

curl https://api.beatapi.io/v1/audios/tasks \
-H "Authorization: Bearer $BEATAPI_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: tts-001" \
-d '{
"model": "seed-tts-3.0",
"prompt": "Welcome back to the show. Tonight we talk about running through the city after dark.",
"voice": "ryan_en",
"voice_instruction": "warm and unhurried, like a late-night radio host"
}'

The reply is 201 with the task in data, as for every audio model. Save data.id and poll the task until status is succeeded or failed:

curl https://api.beatapi.io/v1/tasks/task_7Kd3Rv \
-H "Authorization: Bearer $BEATAPI_API_KEY"

The same request in Chinese, with a Chinese voice and the Sichuan accent:

{
"model": "seed-tts-3.0",
"prompt": "今天天气真好,我们去河边走走吧。",
"voice": "tina_zh",
"language": "zh-CN-x-sichuan",
"speed": 1.1
}

Fields

FieldTypeMeaning
modelstringRequired. seed-tts-3.0.
promptstringRequired. The text read aloud, 1–10,000 characters, and more than whitespace. The price counts its characters.
voicestringOne of the 520 preset voices listed below. Default stokie_en.
voice_instructionstringHow to read the text, in plain words, up to 1,000 characters: tone, emotion, pace, such as warm and slow or excited and fast. It is not read aloud and not billed.
languagestringOne of 119 language codes. Detected from the text when left out. A dialect code such as zh-CN-x-sichuan also sets the accent.
speednumberSpeaking rate, 0.5–2. 1 is normal.
volumenumberLoudness, 0.5–2. 1 is normal.
pitchintegerPitch shift in whole semitones, −12 to 12. Leave it out for the voice’s own pitch.
sample_rateintegerOutput sample rate in Hz: 8000, 16000, 22050, 24000, 32000, 44100 or 48000. Default 24000.
callback_urlstringOptional completion callback, as on every task; see the Audio API.

The music fields (action, source_task_id, lyrics, style and the rest) are refused with 400 bad_request. The output is always MP3; there is no output format field.

Pick a voice

A voice id ends in the voice’s own language: tina_zh is a Chinese voice, ryan_en an English one, camila_pt_br a Brazilian Portuguese one. Pick a voice whose suffix matches the language of your text, then shape the delivery with voice_instruction, speed and pitch.

LanguageSuffixVoicesExamples
English_en110stokie_en (default), ryan_en, owen_en, megan_en, sarah_en
Chinese_zh79tina_zh, sun_wukong_zh, pigsy_zh, xiao_xue_zh, wu_zetian_zh
Japanese_ja49kenta_ja, saki_ja, haruka_ja
Korean_ko20jiwoo_ko, minji_ko, hyunwoo_ko
Spanish_es, _es_mx, _es_ar52lucia_es, mateo_es, diego_es_mx, malena_es_ar
Portuguese (Brazil)_pt_br18camila_pt_br, rafael_pt_br
French_fr11camille_fr, antoine_fr
German_de7stella_de, sven_de
Russian_ru17ksenia_ru, pavel_ru
Indonesian_id74ayu_id, bayu_id

Arabic, Italian, Malay, Thai, Vietnamese, Filipino, Turkish, Swahili, Gujarati, Marathi, Telugu and Urdu voices are in the full list at the end of this page. Voice ids are not case-sensitive.

Languages and dialects

Leave language out and the model detects it from the text. Set it when the text is short or mixes languages, or to choose an accent. The 119 codes:

af am ar as ast az be bg bn bs ca ceb ckb cs cy da de el en en-GB es es-MX et fa fi fil fr fuv gl gu ha he hi hr hu hy id ig is it ja jv ka kam kea kk km kn ko ky lb lg ln lo lt luo lv mi mk ml mn mr ms mt my ne nl no nso ny oc ory pa pl ps pt pt-BR ro ru sd sk sl sn sq sr sv sw ta te tg th tr uk umb ur uz vi wo xh yo yue zh zu
zh-CN-x-beijing zh-CN-x-changsha zh-CN-x-dongbei zh-CN-x-henan zh-CN-x-hubei zh-CN-x-kejia zh-CN-x-minnan zh-CN-x-nanchang zh-CN-x-nanjing zh-CN-x-shaanxi zh-CN-x-shandong zh-CN-x-shanghai zh-CN-x-sichuan zh-CN-x-taiwan zh-CN-x-tangshan zh-CN-x-tianjin

yue is Cantonese. The zh-CN-x-… codes read Chinese text in a regional accent: Beijing, Changsha, Northeastern, Henan, Hubei, Hakka, Southern Min, Nanchang, Nanjing, Shaanxi, Shandong, Shanghai, Sichuan, Taiwan, Tangshan and Tianjin.

Price list

Speech is billed per character of prompt, with Chinese characters and all other characters at two rates. Prices are in USD.

Characters in promptPrice per 1M charactersPer 1,000
Chinese characters$30.88$0.03088
Every other character: letters, digits, spaces and punctuation$20.96$0.02096

Chinese characters are Han ideographs, so Japanese kanji count as Chinese characters too; kana, Hangul, Latin letters and all punctuation, including Chinese full-width punctuation, are other characters. voice_instruction is not billed.

  • 500 Chinese characters cost 500 × $30.88 / 1,000,000 ≈ $0.0154.
  • A 1,000-character English paragraph costs about $0.021.
  • 480 Chinese characters with 20 punctuation marks cost about $0.0148 + $0.0004 = $0.0152.

GET /v1/pricing lists the model with two rows, 1M Chinese characters and 1M other characters. A task that fails is not billed.

The result

Each call returns one spoken track as an MP3 (audio/mpeg). The file is output.url, output.media[0] and output.tracks[0].audio_url; the track carries only its id and audio_url, with no title, lyrics or length. The track id is the task id; speech has no follow-up actions. The file stays available for at least 72 hours, like every audio result.

{
"data": {
"id": "task_7Kd3Rv",
"status": "succeeded",
"task_kind": "audio",
"media_type": "audio",
"model": "seed-tts-3.0",
"output": {
"media": [
{ "type": "audio", "url": "https://media.beatapi.io/outputs/task_7Kd3Rv/0.mp3", "mime_type": "audio/mpeg" }
],
"url": "https://media.beatapi.io/outputs/task_7Kd3Rv/0.mp3",
"r2_url": "https://media.beatapi.io/outputs/task_7Kd3Rv/0.mp3",
"tracks": [
{ "id": "task_7Kd3Rv", "audio_url": "https://media.beatapi.io/outputs/task_7Kd3Rv/0.mp3" }
]
}
}
}

The ids and URLs above are illustrative. A Seed TTS task cannot be the source_task_id of a music follow-up.

Errors

MessageFix
"prompt" must contain text to read aloudSend text that is more than spaces.
field "action" is not supported by model seed-tts-3.0Seed TTS has no actions; leave action out.
field "lyrics" is not supported by model seed-tts-3.0A music field; Seed TTS does not take it.
"sample_rate" must be one of: 8000, 16000, 22050, 24000, 32000, 44100, 48000Pick one of the listed rates.
A message starting "voice" must be one of:The voice is not in the list; check the id against the table below.

All voices

All 520 voice ids, by the language in their suffix.

LanguageSuffixVoices
English_enowen_en, mason_en, zendaya_en, dylan_en, kayla_en, megan_en, valentino_en, skye_en, simba_en, sharron_en, ryan_en, blair_en, sunny_en, myra_en, rory_en, marcus_en, elliot_en, stokie_en, nora_en, clark_en, tom_en, tim_en, scarlet_en, sarah_en, russell_en, ronald_en, rachel_en, elaine_en, gavin_en, colin_en, natasha_en, michael_kevin_en, chip_en, hank_en, mel_en, ivy_en, lynn_en, knightley_en, kevin_en, kate_en, josiah_en, josh_en, joker_en, joanne_en, jimmy_en, blaze_en, jenny_en, jane_en, jamie_en, jama_en, wesley_en, hayley_en, beau_en, gollum_en, godfather_en, theo_en, levi_en, desmond_en, felix_en, holly_en, alfred_en, jasper_en, harrison_en, lisa_en, grace_en, roman_en, simon_en, dean_en, peter_en, grant_en, spencer_en, doris_en, julian_en, orion_en, david_en, dacey_en, alfie_en, callum_en, john_en, bob_en, leo_en, adrian_en, zoe_en, brittney_en, brad_pitt_en, bill_en, jones_en, margaret_en, charlotte_en, reagan_en, mpho_en, naomi_en, allison_en, alex_en, alberto_en, rowan_en, alice_en, shannon_en, daphne_en, imogen_en, rupert_en, nigel_en, wayne_en, selina_en, barnaby_en, tobias_en, harriet_en, elspeth_en, alistair_en, declan_en
Chinese_zhpigsy_zh, zhuang_zhou_zh, lin_zhiya_zh, tina_zh, xiao_xue_zh, he_xiaoyu_zh, wu_zetian_zh, xiao_ya_zh, chen_wen_zh, su_wan_zh, chen_rou_zh, ah_hu_zh, maomao_zh, vivi_xi_zh, chan_ka_zh, tuanzi_zh, lin_zhixin_zh, yueyue_zh, xiao_yuan_zh, taozi_zh, gu_tian_zh, xiao_tian_zh, tang_sanzang_zh, sun_wukong_zh, sophie_zh, shi_lang_zh, sisi_zh, ye_an_zh, zi_xin_zh, lin_tong_zh, lin_jiaojiao_zh, yi_chen_zh, wen_yu_zh, su_rou_zh, chen_qing_zh, lin_qingxin_zh, nan_da_zh, zizi_zh, qing_cang_zh, qiao_ling_zh, granny_chen_zh, peppa_pig_zh, jane_foster_zh, meng_bao_zh, mizai_zh, meng_ya_zh, mei_lin_zh, yun_zhou_zh, luban_seven_zh, liu_fei_zh, liu_chang_zh, lin_xiao_zh, lin_xiaomei_zh, lin_xiaojun_zh, lingling_zh, liang_zai_zh, mianbao_zh, xiao_dong_zh, nuan_yang_zh, kai_yang_zh, kai_xin_zh, kai_le_zh, ji_xin_zh, ji_mei_zh, xiao_ming_zh, jiao_yin_zh, li_huo_zh, gu_jie_zh, su_yu_zh, gu_yan_zh, gao_leng_zh, chen_jing_zh, yin_jie_zh, da_yi_zh, cancan_zh, xiao_man_zh, ling_ling_zh, wan_jun_zh, xiao_nan_zh
Japanese_jakenta_ja, yusuke_ja, takumi_ja, oka_ja, saki_ja, keikotagawa_ja, maika_ja, erikoh_ja, nanase_ja, maeda_ja, nao_ja, hiro_ja, emi_ja, mana_ja, keita_ja, haruka_ja, shota_ja, kaori_ja, mayu_ja, natsuki_ja, rina_ja, yuto_ja, chiaki_ja, nana_ja, moe_ja, kanon_ja, yuka_ja, ryota_ja, kaito_ja, yosuke_ja, sakura_ja, ami_ja, hinata_ja, mei_ja, nanami_ja, tomomi_ja, yuko_ja, reiko_ja, miharu_ja, shirou_ja, minimi_ja, ken_ja, lily_ja, hana_ja, aoi_ja, poppy_ja, bonnie_ja, ayumi_ja, nanri_ja
Korean_kojiwoo_ko, soyeon_ko, eunji_ko, minji_ko, shane_ko, hyunwoo_ko, jaeho_ko, minho_ko, lim_ko, kyoung_ko, kangyoo_ko, seojin_ko, jinwoo_ko, momo_ko, jay_ko, in_hwan_ko, haneul_ko, nari_ko, yeonhee_ko, miae_ko
Spanish_esalvaro_es, romina_es, nico_es, mateo_es, javier_es, rafa_es, lucia_es, mariano_es, paula_es, marisol_es, guillem_es, francisc_es, emilio_es, andres_es, dani_es, tomas_es, gracie_es, pablo_es, ignacio_es, angel_es, carmen_es, beatriz_es, gabriel_es, rocio_es, pilar_es
Spanish (Mexico)_es_mxmigu_es_mx, marcelo_es_mx, leslie_es_mx, derek_es_mx, gomez_es_mx, felipe_es_mx, renata_es_mx, freya_es_mx, rosa_es_mx, lucy_es_mx, marcos_es_mx, diego_es_mx, irene_es_mx, cstania_es_mx, leon_es_mx, mariana_es_mx, gustavo_es_mx, cesar_es_mx, joaquin_es_mx, itzel_es_mx, rosario_es_mx, samuel_es_mx, karen_es_mx, kimberly_es_mx, mary_es_mx, nancy_es_mx
Spanish (Argentina)_es_armalena_es_ar
Portuguese (Brazil)_pt_brrael_pt_br, toby_pt_br, camila_pt_br, mari_pt_br, arthur_pt_br, sofia_pt_br, emma_pt_br, lola_pt_br, elena_pt_br, diana_pt_br, miles_pt_br, vincent_pt_br, walter_pt_br, sam_pt_br, ana_pt_br, bruna_pt_br, rafael_pt_br, thiago_pt_br
French_frusseau_fr, mathieu_fr, elodie_fr, antoine_fr, julien_fr, maurice_fr, camille_fr, simone_fr, laurent_fr, remi_fr, cedric_fr
German_desven_de, sammy_de, stella_de, anke_de, ingrid_de, annie_de, jessica_de
Italian_itluca_it, matteo_it, enzo_it, lorenzo_it
Russian_ruksenia_ru, silas_ru, pavel_ru, dmitri_ru, irinae_ru, oksana_ru, yuri_ru, alina_ru, irina_ru, ben_ru, tamer_ru, svetlana_ru, amelia_ru, grigori_ru, vadim_ru, vera_ru, anton_ru
Arabic_aryoussef_ar, rmya_ar, fatma_ar, dina_ar, karim_ar, yasmin_ar, rania_ar
Indonesian_idayu_id, bayu_id, citra_id, dewi_id, rizky_id, prisma_id, phulia_id, kyle_id, adi_id, arif_id, ikbal_id, han_id, chloe_id, lestari_id, bima_id, gita_id, nabila_id, fajar_id, hendra_id, kirana_id, yudi_id, sri_id, sabila_id, melati_id, siti_id, stefani_id, ratna_id, mega_id, annisa_id, bella_id, sari_id, indah_id, dhara_id, aditya_id, hindun_id, putri_id, riris_id, rini_id, umar_id, safina_id, shabrina_id, shindy_id, sigit_id, oca_id, nia_id, cesna_id, ronan_id, elian_id, crew_id, celeste_id, sylvia_id, clara_id, hugo_id, jude_id, rocco_id, tita_id, vina_id, vio_id, yuni_id, zahra_id, ilham_id, andre_id, lia_id, farida_id, wulan_id, yuli_id, rosida_id, fera_id, krisna_id, cahaya_id, wahyuni_id, kezia_id, etta_id, wahyu_id
Malay_msamir_ms, qis_ms, haziq_ms, naim_ms, farah_ms, nurul_ms, izzah_ms, aisyah_ms, hazeem_ms, hashim_ms, ham_ms, syahira_ms, aiman_ms, suraya_ms, syafiq_ms, nadia_ms, imran_ms, wani_ms, asira_ms, shiilla_ms, hasrul_ms, malay_ms
Thai_thchatri_th, tess_th, paran_th, nopparat_th, natcha_th, misa_th, pim_th, kanya_th, elle_th, duang_th, csbusaba_th, cake_th, phoebe_th, lydia_th, mildred_th, valentina_th, zara_th, iris_th, valeria_th, angpao_th
Vietnamese_viwumg_vi, wu_vi, ruan_vi, phuong_vi, partner_vi, huy_vi, linh_vi, ling_vi, khanh_vi, hong_vi, trang_vi, ngoc_vi, duc_vi, khoa_vi
Filipino_filjonathan_fil, hervie_fil, ed_fil, jeamafely_fil, annika_fil
Turkish_tryilmaz_tr
Swahili_swamani_sw, zuri_sw, neema_sw, zawadi_sw
Gujarati_guhetal_gu, meera_gu
Marathi_mraditi_mr
Telugu_teananya_te, kiran_te
Urdu_ursana_ur