Seed Audio 1.5 Text to Audio
bytedance/seed-audio/1.5/text-to-audioSeed Audio 1.5 Text to Audio by ByteDance generates speech, music, and sound effects together from a text prompt, with up to six reference audio clips or one reference image. Speed, pitch, volume, and output format are adjustable.
- Giá cơ bản
- $0.15USD / lần chạy
- Thực thi
- async
- Loại model
- audio
- Các trường đầu vào
- 8
Thử model
Phòng thử nghiệm
PNG, JPEG, WebP hoặc GIF · tối đa 20 MiB
Bạn muốn làm gì tiếp theo?
Ví dụ
Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
- Mở kết quả ↗
Đầu vào
{ "prompt": "A rainy night in a quiet jazz bar. Soft rain on the windows, a slow upright bass and brushed drums in the background, glasses clinking. A tired male bartender says in English, low and warm: 'Last call, folks. The rain isn't stopping tonight.' A woman laughs softly and replies: 'Then pour me one more.'" } - Mở kết quả ↗
Đầu vào
{ "prompt": "Read with a gentle, restrained female English voice: 'The sea surface is calm today.' Use a slightly slow speaking rate, no background music." }
Thẻ model
Thông số kỹ thuật
Giá
- Giá cơ bản
- $0.15 / 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.5/text-to-audio
- Thực thi
- async
- URL cơ sở
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
Seed Audio 1.5 Text to Audio
Seed Audio 1.5 Text to Audio by ByteDance generates speech, music, and sound effects together from a text prompt, with up to six reference audio clips or one reference image. Speed, pitch, volume, and output format are adjustable.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Text prompt. |
reference_audios | array | — | Up to 6 reference clips (wav/mp3, 2-30 s, up to 15 MB each). |
image | file or URL | — | One reference image; cannot be combined with reference audio. |
output_format | mp3 / wav / pcm / ogg_opus | mp3 | Output audio format. |
sample_rate | 8000 / 16000 / 24000 / 32000 / 44100 / 48000 | — | Output sample rate in Hz; unset means 44100 (48000 for ogg_opus). |
speed | number 0.5-2 | 1 | 0.5-2x speaking rate. |
volume | number 0.5-2 | 1 | 0.5-2x loudness. |
pitch | integer -12-12 | 0 | Semitones, -12 to 12. |
Billing
$0.15 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.075 |
| 1 min | $0.15 |
| 6 min | $0.90 |
Failed runs are not charged.
Prompting
- Write the exact lines in quotes and describe the voice, emotion, pace, music, and sound effects around them.
- The prompt must include spoken lines; a request for music or sound effects alone is rejected by the model.
- With several reference audios, say which reference each speaker uses, in input order.
- Output can be up to 6 minutes long.
Also on SandBase
Related: bytedance/seed-audio/1.5/video-dubbing, bytedance/seed-audio/1.5/video-translation, bytedance/seed-audio/1.5/stem-separation, bytedance/seed-audio/1.0, bytedance/seed-tts/3.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.5/text-to-audio",
"pitch": 0,
"speed": 1,
"prompt": "Read with a gentle, restrained female English voice: 'The sea surface is calm today.' Use a slightly slow speaking rate, no background music.",
"volume": 1,
"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
8 tham số · 1 bắt buộc · 7 tùy chọn
| Tham số | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|
prompt | string | Bắt buộc | Lines to perform plus the speaker, language, emotion, pace, music, and sound effects. · Độ dài tối đa: 2048 |
image | string | Tùy chọn | One reference image file or URL (300-6000 px per side, aspect ratio 0.4-2.5, 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 |
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. Leave unset for 44100 (48000 for ogg_opus, the only rate ogg_opus supports). · Tùy chọn: 8000, 16000, 24000, 32000, 44100, 48000 80001600024000320004410048000 |
output_format | string | Tùy chọn | Output audio format. · Tùy chọn: mp3, wav, pcm, ogg_opus · Mặc định: "mp3" mp3wavpcmogg_opus |
reference_audios | string[] | Tùy chọn | Up to 6 reference audio files or URLs that set timbre or performance (wav or mp3, 2-30 s, up to 15 MB each). With several references, say in the prompt which one each speaker uses, in input order. |
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.5 Text to AudioMô hình này ByteDance | Âm thanh | $0.15 / lượt chạy | 30 thg 11, 2026 |
ByteDance | Âm thanh | $0.05 / lượt chạy | 30 thg 11, 2026 |
ByteDance | Âm thanh | $0.60 / lượt chạy | 30 thg 11, 2026 |
ByteDance | Video | $0.90 / lượt chạy | 30 thg 11, 2026 |
ByteDance | Âm thanh | $0.02 / lượt chạy | 24 thg 11, 2026 |
ByteDance | Âm thanh | $0.19 / lượt chạy | 25 thg 6, 2026 |
Câu hỏi
FAQ
Làm thế nào để gọi ByteDance Seed Audio 1.5 Text to Audio qua SandBase?
Tạo một API key SandBase, sau đó gửi yêu cầu với model ID "bytedance/seed-audio/1.5/text-to-audio" 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.5 Text to Audio và các model khác trong danh mục; bạn không cần đăng ký riêng với ByteDance.
