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.
- आधार मूल्य
- $0.06USD / रन
- निष्पादन
- async
- मॉडल प्रकार
- audio
- इनपुट फ़ील्ड
- 9
model को आज़माएँ
प्लेग्राउंड
आप आगे क्या करना चाहेंगे?
उदाहरण
प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
- परिणाम खोलें ↗
इनपुट
{}
मॉडल कार्ड
विनिर्देश
मूल्य निर्धारण
- आधार मूल्य
- $0.06 / रन
संदर्भ और modalities
- इनपुट
- Schema-परिभाषित
- आउटपुट
- audio
क्षमताएँ
- चैट
- समर्थित नहीं
- विज़न
- समर्थित नहीं
- रीज़निंग
- समर्थित नहीं
- संरचित output
- समर्थित नहीं
- फ़ंक्शन कॉलिंग
- समर्थित नहीं
- ऑडियो इनपुट
- समर्थित नहीं
पहुंच
- प्रदाता
- ByteDance
- मॉडल ID
- bytedance/seed-speech/tts/2.0
- निष्पादन
- async
- बेस URL
- https://api.sandbase.ai
- API
- Unified Run API
- एंडपॉइंट
- /v1/run
API README
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.
बिल्डिंग शुरू करें
अपना पहला अनुरोध भेजें
एकीकृत authentication और usage tracking के साथ OpenAI-compatible endpoint.
# 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"इनपुट स्कीमा
9 पैरामीटर · 0 आवश्यक · 9 वैकल्पिक
| पैरामीटर | प्रकार | आवश्यक | विवरण |
|---|---|---|---|
text | string | वैकल्पिक | The text to synthesize into speech. · अधिकतम लंबाई: 5000 |
pitch | integer | वैकल्पिक | Voice pitch shift in semitones. 0 is normal pitch, -12 lowers by one octave, 12 raises by one octave. · न्यूनतम: -12 · अधिकतम: 12 · डिफ़ॉल्ट: 0 |
speed | number | वैकल्पिक | Speech speed. 1.0 is normal speed, 0.5 is half speed, 2.0 is double speed. · न्यूनतम: 0.5 · अधिकतम: 2 · डिफ़ॉल्ट: 1 |
voice | string | वैकल्पिक | 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. · विकल्प: 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" 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 | वैकल्पिक | Volume. 1.0 is normal volume, 0.5 is half, 2.0 is double. · न्यूनतम: 0.5 · अधिकतम: 2 · डिफ़ॉल्ट: 1 |
language | string | वैकल्पिक | 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). · विकल्प: zh, en, ja, es-mx, id, pt-br, ko, it, de, fr zhenjaes-mxidpt-brkoitdefr |
sample_rate | integer | वैकल्पिक | Sample rate of the output audio in Hz. · विकल्प: 8000, 16000, 22050, 24000, 32000, 44100, 48000 · डिफ़ॉल्ट: 24000 8000160002205024000320004410048000 |
output_format | string | वैकल्पिक | Output audio format. 'mp3' returns MP3 audio; 'opus' returns Opus audio in an Ogg container. · विकल्प: mp3, opus · डिफ़ॉल्ट: "mp3" mp3opus |
voice_instruction | string | वैकल्पिक | 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. |
आउटपुट स्कीमा
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
id | string | generation task के लिए विशिष्ट पहचानकर्ता |
status | string | कार्य की स्थिति: pending, running, completed, failed, timeout |
model | string | generation के लिए उपयोग किया गया model |
outputs | array | output items की array |
outputs[].url | string | जनरेट किए गए artifact का URL |
outputs[].content_type | string | MIME type (जैसे image/png, video/mp4) |
error | object | null | यदि failed हो तो error details, success पर null |
error.type | string | machine-readable error type code |
error.message | string | मानव-पठनीय error विवरण |
असिंक्रोनस वर्कफ़्लो
यह model asynchronously चलता है। अनुरोध सबमिट करें, फिर परिणाम के लिए poll करें।
- सबमिट करें: /v1/run पर POST करें और लौटाए गए
idको पढ़ें। - Poll करें: status
completed,failedयाtimeoutहोने तक /v1/run/{id} पर GET करें। - Retrieve करें: completed response से
outputsपढ़ें।
अपना मॉडल चुनें
मॉडलों की तुलना करें
| मॉडल | प्रकार | डिफ़ॉल्ट कीमत | रिलीज़ |
|---|---|---|---|
ByteDance | ऑडियो | $0.06 / रन | 5 जून 2026 |
ByteDance | ऑडियो | $0.02 / रन | 24 नव॰ 2026 |
ByteDance | ऑडियो | $0.19 / रन | 25 जून 2026 |
प्रश्न
FAQ
SandBase के माध्यम से Bytedance Seed Speech Text to Speech को कैसे कॉल करें?
एक SandBase API key बनाएं, फिर model ID "bytedance/seed-speech/tts/2.0" के साथ requests को https://api.sandbase.ai पर Unified Run API (/v1/run) भेजें। इस पेज पर दिए गए request examples exact payload दिखाते हैं।
क्या मुझे एक अलग ByteDance account चाहिए?
नहीं। एक SandBase API key और balance आपको Bytedance Seed Speech Text to Speech और catalog के अन्य models तक access देता है; आपको अलग से ByteDance पर sign up करने की आवश्यकता नहीं है।
