Seed Audio 1.0
bytedance/seed-audio/1.0Seed Audio 1.0 by ByteDance generates natural speech and audio from text, guided by a preset or cloned voice, up to three reference audio clips, or a reference image. Speed, pitch, volume, and output format are adjustable.
- 基础价格
- $0.19美元 / 次运行
- 执行
- async
- 模型类型
- audio
- 输入字段
- 10
试用该模型
Playground
PNG、JPEG、WebP 或 GIF · 最大 20 MiB
您的输出将显示在这里
完成输入,然后点击运行。
模型卡片
规格
定价
- 基础价格
- $0.19 / 次运行
上下文与模态
- 输入
- 由 schema 定义
- 输出
- audio
能力
- 聊天
- 不支持
- 视觉
- 不支持
- 推理
- 不支持
- 结构化输出
- 不支持
- 函数调用
- 不支持
- 音频输入
- 不支持
访问
- 提供方
- ByteDance
- 模型 ID
- bytedance/seed-audio/1.0
- 执行
- async
- 基础 URL
- https://api.sandbase.ai
- API
- Unified Run API
- 端点
- /v1/run
API README
Seed Audio 1.0
ByteDance Seed Audio 1.0 generates speech and audio from up to 2,048 characters of text, with a preset voice, up to three reference audio clips (referenced as @Audio1–@Audio3), or one reference image.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
text | string, required | — | Text or prompt; refer to reference clips as @Audio1–@Audio3. |
voice | string | — | Preset voice name (e.g. stokie_en) or a cloned voice ID. |
reference_audios | array of audio files or URLs (up to 3) | — | Up to 3 clips (≤30 s, ≤10 MB each); cannot be combined with image. |
image | image file or URL | — | One reference image (jpeg/png/webp, ≤10 MB); cannot be combined with reference audio. |
multilingual | boolean | false | Better handling of non-English and mixed-language text. |
speed | number 0.5–2 | 1 | 0.5–2× speaking rate. |
pitch | integer -12–12 | 0 | Semitones, −12 to 12. |
volume | number 0.5–2 | 1 | 0.5–2× loudness. |
output_format | wav / mp3 / pcm / ogg_opus | mp3 | Output file format. |
sample_rate | 8000 / 16000 / 24000 / 32000 / 44100 / 48000 | 24000 | Output sample rate in Hz. |
Billing
$0.1875 per minute of generated audio, prorated by the second. The charge uses the measured output length; the estimate before the run assumes 1 minute.
| Output length | Price |
|---|---|
| 30 s | $0.09375 |
| 1 min | $0.1875 |
| 5 min | $0.9375 |
Failed runs are not charged.
Prompting
- Write the exact words to speak; mention @Audio1 when a reference clip should set the voice.
Also on SandBase
Related: bytedance/seed-tts/3.0, bytedance/seed-speech/tts/2.0.
开始构建
发送您的第一条请求
具备统一身份验证和使用情况跟踪的 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-audio/1.0",
"text": "Here's a quick look at your day: you've got three meetings, one lunch, and just enough time in between to grab a coffee and relax.",
"pitch": 0,
"speed": 1,
"voice": "stokie_en",
"volume": 1,
"sample_rate": 24000,
"multilingual": false,
"output_format": "mp3"
}
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"输入 Schema
10 个参数 · 1 个必填 · 9 个可选
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
text | string | 必填 | Text or prompt to synthesize. Reference audio clips by order with @Audio1, @Audio2, @Audio3. · 最大长度:2048 |
image | string | 可选 | One reference image file or URL (jpeg/png/webp, up to 10 MB). Cannot be combined with reference audio. |
pitch | integer | 可选 | Pitch shift in semitones. 0 is normal pitch. · 最小值:-12 · 最大值:12 · 默认值:0 |
speed | number | 可选 | Speech speed. 1.0 is normal speed. · 最小值:0.5 · 最大值:2 · 默认值:1 |
voice | string | 可选 | Preset voice name or a cloned voice ID. |
volume | number | 可选 | Volume multiplier. 1.0 is normal volume. · 最小值:0.5 · 最大值:2 · 默认值:1 |
sample_rate | integer | 可选 | Sample rate of the output audio in Hz. · 选项:8000, 16000, 24000, 32000, 44100, 48000 · 默认值:24000 80001600024000320004410048000 |
multilingual | boolean | 可选 | Use the multilingual variant, which handles non-English and mixed-language text better. · 默认值:false |
output_format | string | 可选 | Output audio format. · 选项:wav, mp3, pcm, ogg_opus · 默认值:"mp3" wavmp3pcmogg_opus |
reference_audios | string[] | 可选 | Up to 3 reference audio files or URLs, referenced in the text as @Audio1, @Audio2, @Audio3. Each clip: up to 30 s and 10 MB, wav/mp3/pcm/ogg_opus. Cannot be combined with `image`. |
输出 Schema
| 字段 | 类型 | 说明 |
|---|---|---|
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。 - 轮询:GET /v1/run/{id},直到状态为
completed、failed或timeout。 - 获取:从已完成的响应中读取
outputs。
选择您的模型
比较模型
| 模型 | 类型 | 默认价格 | 发布于 |
|---|---|---|---|
ByteDance | 音频 | $0.19 / 次运行 | 2026年6月25日 |
ByteDance | 音频 | $0.02 / 次运行 | 2026年11月24日 |
ByteDance | 音频 | $0.06 / 次运行 | 2026年6月5日 |
问题
常见问题
如何通过 SandBase 调用 ByteDance Seed Audio 1.0?
先创建一个 SandBase API key,然后向 https://api.sandbase.ai 的 Unified Run API (/v1/run) 发送请求,模型 ID 使用“bytedance/seed-audio/1.0”。本页的请求示例展示了准确的请求负载。
我需要单独的 ByteDance 账户吗?
不需要。一个 SandBase API key 和余额即可让您使用 ByteDance Seed Audio 1.0 以及目录中的其他模型;您无需单独注册 ByteDance。
