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.
- Giá cơ bản
- $0.19USD / lần chạy
- Thực thi
- async
- Loại model
- audio
- Các trường đầu vào
- 10
Thử model
Phòng thử nghiệm
PNG, JPEG, WebP hoặc GIF · tối đa 20 MiB
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Thẻ model
Thông số kỹ thuật
Giá
- Giá cơ bản
- $0.19 / lần chạy
Ngữ cảnh & phương thức
- Đầu vào
- Định nghĩa theo schema
- Đầu ra
- audio
Tính năng
- Chat
- Không được hỗ trợ
- Thị giác
- Không được hỗ trợ
- Suy luận
- Không được hỗ trợ
- Đầu ra có cấu trúc
- Không được hỗ trợ
- Gọi hàm
- Không được hỗ trợ
- Đầu vào âm thanh
- Không được hỗ trợ
Truy cập
- Nhà cung cấp
- ByteDance
- ID mô hình
- bytedance/seed-audio/1.0
- Thực thi
- async
- URL cơ sở
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
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.
Bắt đầu xây dựng
Gửi request đầu tiên của bạn
Endpoint tương thích OpenAI với xác thực và theo dõi mức sử dụng thống nhất.
# 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 đầu vào
10 tham số · 1 bắt buộc · 9 tùy chọn
| Tham số | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|
text | string | Bắt buộc | Text or prompt to synthesize. Reference audio clips by order with @Audio1, @Audio2, @Audio3. · Độ dài tối đa: 2048 |
image | string | Tùy chọn | One reference image file or URL (jpeg/png/webp, up to 10 MB). Cannot be combined with reference audio. |
pitch | integer | Tùy chọn | Pitch shift in semitones. 0 is normal pitch. · Tối thiểu: -12 · Tối đa: 12 · Mặc định: 0 |
speed | number | Tùy chọn | Speech speed. 1.0 is normal speed. · Tối thiểu: 0.5 · Tối đa: 2 · Mặc định: 1 |
voice | string | Tùy chọn | Preset voice name or a cloned voice ID. |
volume | number | Tùy chọn | Volume multiplier. 1.0 is normal volume. · Tối thiểu: 0.5 · Tối đa: 2 · Mặc định: 1 |
sample_rate | integer | Tùy chọn | Sample rate of the output audio in Hz. · Tùy chọn: 8000, 16000, 24000, 32000, 44100, 48000 · Mặc định: 24000 80001600024000320004410048000 |
multilingual | boolean | Tùy chọn | Use the multilingual variant, which handles non-English and mixed-language text better. · Mặc định: false |
output_format | string | Tùy chọn | Output audio format. · Tùy chọn: wav, mp3, pcm, ogg_opus · Mặc định: "mp3" wavmp3pcmogg_opus |
reference_audios | string[] | Tùy chọn | 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 đầu ra
| Trường | Kiểu | Mô tả |
|---|---|---|
id | string | Mã định danh duy nhất cho tác vụ tạo |
status | string | Trạng thái tác vụ: pending, running, completed, failed, timeout |
model | string | Model được dùng cho quá trình tạo |
outputs | array | Mảng các mục đầu ra |
outputs[].url | string | URL của artifact đã tạo |
outputs[].content_type | string | Kiểu MIME (ví dụ image/png, video/mp4) |
error | object | null | Chi tiết lỗi nếu thất bại, null nếu thành công |
error.type | string | Mã loại lỗi có thể đọc bằng máy |
error.message | string | Mô tả lỗi dễ đọc cho người dùng |
Quy trình không đồng bộ
Model này chạy bất đồng bộ. Gửi yêu cầu, rồi thăm dò để lấy kết quả.
- Gửi: POST tới /v1/run và đọc
idđược trả về. - Thăm dò: GET /v1/run/{id} cho đến khi trạng thái là
completed,failedhoặctimeout. - Truy xuất: đọc
outputstừ phản hồi hoàn tất.
Chọn model của bạn
So sánh model
| Mô hình | Loại | Giá mặc định | Phát hành |
|---|---|---|---|
Seed Audio 1.0Mô hình này ByteDance | Âm thanh | $0.19 / lượt chạy | 25 thg 6, 2026 |
ByteDance | Âm thanh | $0.02 / lượt chạy | 24 thg 11, 2026 |
ByteDance | Âm thanh | $0.06 / lượt chạy | 5 thg 6, 2026 |
Câu hỏi
FAQ
Làm thế nào để gọi ByteDance Seed Audio 1.0 qua SandBase?
Tạo một API key SandBase, sau đó gửi yêu cầu với model ID "bytedance/seed-audio/1.0" tới Unified Run API (/v1/run) tại https://api.sandbase.ai. Các ví dụ yêu cầu trên trang này cho thấy chính xác payload.
Tôi có cần tài khoản ByteDance riêng không?
Không. Chỉ cần một API key và số dư SandBase là bạn có thể truy cập ByteDance Seed Audio 1.0 và các model khác trong danh mục; bạn không cần đăng ký riêng với ByteDance.
