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
モデルを試す
プレイグラウンド
次に何をしますか?
例
例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
- 結果を開く ↗
入力
{}
モデルカード
仕様
料金
- 基本価格
- $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
| 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.
開発を始める
最初のリクエストを送信
統一認証と使用状況の追跡を備えたOpenAI互換エンドポイントです。
# 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 | 生成タスクの一意な識別子 |
status | string | タスクのステータス: pending, running, completed, failed, timeout |
model | string | 生成に使用されたモデル |
outputs | array | 出力項目の配列 |
outputs[].url | string | 生成された成果物のURL |
outputs[].content_type | string | MIMEタイプ(例: image/png, video/mp4) |
error | object | null | 失敗時のエラー詳細。成功時は null |
error.type | string | 機械可読なエラー種別コード |
error.message | string | 人間が読めるエラー説明 |
非同期ワークフロー
このモデルは非同期で実行されます。リクエストを送信し、その後結果をポーリングしてください。
- 送信:/v1/run に POST し、返された
idを読み取ります。 - ポーリング:ステータスが
completed、failed、またはtimeoutになるまで /v1/run/{id} に GET します。 - 取得:完了レスポンスから
outputsを読み取ります。
モデルを選ぶ
モデルを比較
| モデル | 種類 | 通常価格 | 公開日 |
|---|---|---|---|
ByteDance | 音声 | $0.06 / 回 | 2026年6月5日 |
ByteDance | 音声 | $0.02 / 回 | 2026年11月24日 |
ByteDance | 音声 | $0.19 / 回 | 2026年6月25日 |
質問
FAQ
SandBase 経由で Bytedance Seed Speech Text to Speech を呼び出すにはどうすればよいですか?
SandBase API key を作成し、モデル ID「bytedance/seed-speech/tts/2.0」を使用して https://api.sandbase.ai の Unified Run API (/v1/run) にリクエストを送信してください。このページのリクエスト例に、正確なペイロードが示されています。
別途 ByteDance アカウントは必要ですか?
いいえ。SandBase の API key と残高が 1つあれば、Bytedance Seed Speech Text to Speech とカタログ内の他のモデルを利用できます。ByteDance に別途登録する必要はありません。
