Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Bytedance Seed Speech Text to Speech

bytedance/seed-speech/tts/2.0

Seed 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.06美元/次執行
執行
async
模型類型
audio
輸入欄位
9
正式環境路由

試用這個模型

Playground

開啟 playground
輸入
The text to synthesize into speech.
Output audio format. 'mp3' returns MP3 audio; 'opus' returns Opus audio in an Ogg container.
Sample rate of the output audio in Hz.
0.52
Volume. 1.0 is normal volume, 0.5 is half, 2.0 is double. 範圍:0.5 到 2。
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.
-1212
Voice pitch shift in semitones. 0 is normal pitch, -12 lowers by one octave, 12 raises by one octave. 範圍:-12 到 12。
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).
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.
0.52
Speech speed. 1.0 is normal speed, 0.5 is half speed, 2.0 is double speed. 範圍:0.5 到 2。
輸出範例
  1. 接下來您想做什麼?

    開啟原始檔

範例

選擇一個範例,將其輸入與結果載入 playground。

模型卡片

規格

定價

基本價格
$0.06/次執行

上下文與多模態

輸入
由結構定義
輸出
audio

功能

聊天
不支援
視覺
不支援
推理
不支援
結構化輸出
不支援
函式呼叫
不支援
音訊輸入
不支援

存取

供應商
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

FieldTypeDefaultNotes
textstring—Text to speak.
output_formatmp3 / opusmp3Output file format.
sample_rate8000 / 16000 / 22050 / 24000 / 32000 / 44100 / 4800024000Output sample rate in Hz.
volumenumber 0.5–210.5–2× loudness.
voicevivi_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_zhstokie_enPreset voice; names list the languages each voice supports.
pitchinteger -12–120Semitones, −12 to 12.
languagezh / 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_instructionstring—How to say it, e.g. “excited sports commentator”.
speednumber 0.5–210.5–2× speaking rate.

Billing

$0.06 per started 1,000 characters of text, with a one-unit minimum.

TextPrice
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.

開始建置

送出您的第一個請求

具備統一驗證與用量追蹤的 OpenAI 相容端點。

正式環境 API
Unified Run API 端點
https://api.sandbase.ai/v1/run
模型 ID
bytedance/seed-speech/tts/2.0
# 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"
01

輸入 Schema

9 個參數 · 0 個必要 · 9 個選用

參數類型必要說明
textstring選用The text to synthesize into speech. · 最大長度:5000
pitchinteger選用Voice pitch shift in semitones. 0 is normal pitch, -12 lowers by one octave, 12 raises by one octave. · 最小值:-12 · 最大值:12 · 預設值:0
speednumber選用Speech speed. 1.0 is normal speed, 0.5 is half speed, 2.0 is double speed. · 最小值:0.5 · 最大值:2 · 預設值:1
voicestring選用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
volumenumber選用Volume. 1.0 is normal volume, 0.5 is half, 2.0 is double. · 最小值:0.5 · 最大值:2 · 預設值:1
languagestring選用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_rateinteger選用Sample rate of the output audio in Hz. · 選項:8000, 16000, 22050, 24000, 32000, 44100, 48000 · 預設值:24000
8000160002205024000320004410048000
output_formatstring選用Output audio format. 'mp3' returns MP3 audio; 'opus' returns Opus audio in an Ogg container. · 選項:mp3, opus · 預設值:"mp3"
mp3opus
voice_instructionstring選用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.
02

輸出 Schema

欄位類型說明
idstring生成任務的唯一識別碼
statusstring任務狀態:pending、running、completed、failed、timeout
modelstring用於生成的模型
outputsarray輸出項目陣列
outputs[].urlstring生成產物的 URL
outputs[].content_typestringMIME 類型(例如 image/png、video/mp4)
errorobject | null若失敗則顯示錯誤詳細資訊;成功時為 null
error.typestring機器可讀的錯誤類型代碼
error.messagestring可供人閱讀的錯誤描述

非同步流程

這個模型會非同步執行。請先送出請求,接著輪詢結果。

  1. 送出:對 /v1/run 發送 POST,並讀取回傳的 id。
  2. 輪詢:以 GET /v1/run/{id} 持續查詢,直到狀態為 completed、failed 或 timeout。
  3. 擷取:從已完成的回應中讀取 outputs。

選擇您的模型

比較模型

所有圖片與影片模型
模型類型預設價格發布時間
ByteDance音訊$0.06 / 次執行2026年6月5日
ByteDance音訊$0.02 / 次執行2026年11月24日
ByteDance音訊$0.19 / 次執行2026年6月25日

問題

常見問題

我要如何透過 SandBase 呼叫 Bytedance Seed Speech Text to Speech?

先建立一組 SandBase API 金鑰,接著使用模型 ID「bytedance/seed-speech/tts/2.0」向 https://api.sandbase.ai 的 Unified Run API (/v1/run) 發送請求。此頁的請求範例會顯示完整的 payload。

我需要另外申請 ByteDance 帳號嗎?

不需要。一組 SandBase API 金鑰與餘額即可讓您存取 Bytedance Seed Speech Text to Speech 以及目錄中的其他模型;您不需要另外註冊 ByteDance。