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 / 次运行

上下文与模态

输入
由 schema 定义
输出
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 key,然后向 https://api.sandbase.ai 的 Unified Run API (/v1/run) 发送请求,模型 ID 使用“bytedance/seed-speech/tts/2.0”。本页的请求示例展示了准确的请求负载。

我需要单独的 ByteDance 账户吗?

不需要。一个 SandBase API key 和余额即可让您使用 Bytedance Seed Speech Text to Speech 以及目录中的其他模型;您无需单独注册 ByteDance。