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.
- Harga dasar
- $0.15USD / run
- Eksekusi
- async
- Jenis model
- audio
- Field input
- 8
Coba model ini
Playground
PNG, JPEG, WebP, atau GIF · maksimum 20 MiB
Apa yang ingin Anda lakukan selanjutnya?
Contoh
Pilih contoh untuk memuat input dan hasilnya ke playground.
- Buka hasil ↗
Input
{ "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.'" } - Buka hasil ↗
Input
{ "prompt": "Read with a gentle, restrained female English voice: 'The sea surface is calm today.' Use a slightly slow speaking rate, no background music." }
Kartu model
Spesifikasi
Harga
- Harga dasar
- $0.15 / run
Konteks & modalitas
- Input
- Didefinisikan oleh skema
- Output
- audio
Kemampuan
- Chat
- Tidak didukung
- Vision
- Tidak didukung
- Penalaran
- Tidak didukung
- Output terstruktur
- Tidak didukung
- Pemanggilan fungsi
- Tidak didukung
- Input audio
- Tidak didukung
Akses
- Penyedia
- ByteDance
- Model ID
- bytedance/seed-audio/1.5/text-to-audio
- Eksekusi
- async
- Base URL
- 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.
Mulai membangun
Kirim permintaan pertama Anda
Endpoint yang kompatibel dengan OpenAI dengan autentikasi dan pelacakan penggunaan terpadu.
# 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"Skema Input
8 parameter · 1 wajib · 7 opsional
| Parameter | Tipe | Wajib | Deskripsi |
|---|---|---|---|
prompt | string | Wajib | Lines to perform plus the speaker, language, emotion, pace, music, and sound effects. · Panjang maksimum: 2048 |
image | string | Opsional | 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 | Opsional | Pitch shift in semitones. 0 is normal pitch. · Min: -12 · Maks: 12 · Bawaan: 0 |
speed | number | Opsional | Speech speed. 1.0 is normal speed. · Min: 0.5 · Maks: 2 · Bawaan: 1 |
volume | number | Opsional | Volume multiplier. 1.0 is normal volume. · Min: 0.5 · Maks: 2 · Bawaan: 1 |
sample_rate | integer | Opsional | Sample rate of the output audio in Hz. Leave unset for 44100 (48000 for ogg_opus, the only rate ogg_opus supports). · Opsi: 8000, 16000, 24000, 32000, 44100, 48000 80001600024000320004410048000 |
output_format | string | Opsional | Output audio format. · Opsi: mp3, wav, pcm, ogg_opus · Bawaan: "mp3" mp3wavpcmogg_opus |
reference_audios | string[] | Opsional | 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. |
Skema Output
| Field | Tipe | Deskripsi |
|---|---|---|
id | string | Pengidentifikasi unik untuk tugas generasi |
status | string | Status tugas: pending, running, completed, failed, timeout |
model | string | Model yang digunakan untuk generasi |
outputs | array | Array item output |
outputs[].url | string | URL artefak yang dihasilkan |
outputs[].content_type | string | Tipe MIME (mis. image/png, video/mp4) |
error | object | null | Detail error jika gagal, null jika berhasil |
error.type | string | Kode jenis error yang dapat dibaca mesin |
error.message | string | Deskripsi error yang dapat dibaca manusia |
Alur Kerja Asinkron
Model ini berjalan secara asinkron. Kirim permintaan, lalu polling untuk hasilnya.
- Kirim: POST ke /v1/run dan baca
idyang dikembalikan. - Polling: GET /v1/run/{id} sampai status menjadi
completed,failed, atautimeout. - Ambil: baca
outputsdari response yang selesai.
Pilih model Anda
Bandingkan model
| Model | Tipe | Harga default | Rilis |
|---|---|---|---|
Seed Audio 1.5 Text to AudioModel ini ByteDance | Audio | $0.15 / run | 30 Nov 2026 |
ByteDance | Audio | $0.05 / run | 30 Nov 2026 |
ByteDance | Audio | $0.60 / run | 30 Nov 2026 |
ByteDance | Video | $0.90 / run | 30 Nov 2026 |
ByteDance | Audio | $0.02 / run | 24 Nov 2026 |
ByteDance | Audio | $0.19 / run | 25 Jun 2026 |
Pertanyaan
FAQ
Bagaimana cara memanggil ByteDance Seed Audio 1.5 Text to Audio melalui SandBase?
Buat kunci API SandBase, lalu kirim permintaan dengan model ID "bytedance/seed-audio/1.5/text-to-audio" ke Unified Run API (/v1/run) di https://api.sandbase.ai. Contoh permintaan di halaman ini menunjukkan payload yang tepat.
Apakah saya memerlukan akun ByteDance terpisah?
Tidak. Satu kunci API dan saldo SandBase memberi Anda akses ke ByteDance Seed Audio 1.5 Text to Audio dan model lain di katalog; Anda tidak perlu mendaftar ke ByteDance secara terpisah.
