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.
- ราคาพื้นฐาน
- $0.15USD / การรัน
- การทำงาน
- async
- ประเภโมเดล
- audio
- ฟิลด์อินพุต
- 8
ลองใช้โมเดล
Playground
PNG, JPEG, WebP หรือ GIF · สูงสุด 20 MiB
ต้องการทำอะไรต่อ
ตัวอย่าง
เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
- เปิดผลลัพธ์ ↗
อินพุต
{ "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.'" } - เปิดผลลัพธ์ ↗
อินพุต
{ "prompt": "Read with a gentle, restrained female English voice: 'The sea surface is calm today.' Use a slightly slow speaking rate, no background music." }
การ์ดโมเดล
ข้อมูลจำเพาะ
ราคา
- ราคาพื้นฐาน
- $0.15 / การรัน
บริบทและ modalities
- อินพุต
- กำหนดตามสคีมา
- เอาต์พุต
- audio
ความสามารถ
- แชท
- ไม่รองรับ
- วิชัน
- ไม่รองรับ
- การให้เหตุผล
- ไม่รองรับ
- เอาต์พุตแบบมีโครงสร้าง
- ไม่รองรับ
- การเรียกใช้ฟังก์ชัน
- ไม่รองรับ
- อินพุตเสียง
- ไม่รองรับ
การเข้าถึง
- ผู้ให้บริการ
- ByteDance
- รหัสโมเดล
- bytedance/seed-audio/1.5/text-to-audio
- การทำงาน
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
API README
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.
เริ่มสร้าง
ส่งคำขอแรกของคุณ
เอ็นด์พอยต์ที่ใช้งานร่วมกับ 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.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"สคีมาขาเข้า
8 พารามิเตอร์ · จำเป็น 1 · ไม่บังคับ 7
| พารามิเตอร์ | ประเภท | จำเป็น | คำอธิบาย |
|---|---|---|---|
prompt | string | จำเป็น | Lines to perform plus the speaker, language, emotion, pace, music, and sound effects. · ความยาวสูงสุด: 2048 |
image | string | ไม่บังคับ | 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 | ไม่บังคับ | Pitch shift in semitones. 0 is normal pitch. · ต่ำสุด: -12 · สูงสุด: 12 · ค่าเริ่มต้น: 0 |
speed | number | ไม่บังคับ | Speech speed. 1.0 is normal speed. · ต่ำสุด: 0.5 · สูงสุด: 2 · ค่าเริ่มต้น: 1 |
volume | number | ไม่บังคับ | Volume multiplier. 1.0 is normal volume. · ต่ำสุด: 0.5 · สูงสุด: 2 · ค่าเริ่มต้น: 1 |
sample_rate | integer | ไม่บังคับ | Sample rate of the output audio in Hz. Leave unset for 44100 (48000 for ogg_opus, the only rate ogg_opus supports). · ตัวเลือก: 8000, 16000, 24000, 32000, 44100, 48000 80001600024000320004410048000 |
output_format | string | ไม่บังคับ | Output audio format. · ตัวเลือก: mp3, wav, pcm, ogg_opus · ค่าเริ่มต้น: "mp3" mp3wavpcmogg_opus |
reference_audios | string[] | ไม่บังคับ | 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. |
สคีมาเอาต์พุต
| ฟิลด์ | ประเภท | คำอธิบาย |
|---|---|---|
id | string | ตัวระบุเฉพาะสำหรับงาน generation |
status | string | สถานะงาน: pending, running, completed, failed, timeout |
model | string | โมเดลที่ใช้สำหรับ generation |
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 | คำอธิบายข้อผิดพลาดที่มนุษย์อ่านได้ |
เวิร์กโฟลว์แบบอะซิงก์
โมเดลนี้ทำงานแบบอะซิงโครนัส ส่งคำขอแล้วคอยตรวจผลลัพธ์
- ส่ง: POST ไปที่ /v1/run แล้วอ่าน
idที่ส่งกลับมา - คอยตรวจ: GET /v1/run/{id} จนกว่าสถานะจะเป็น
completed,failedหรือtimeout - ดึงข้อมูล: อ่าน
outputsจากการตอบกลับที่เสร็จสมบูรณ์
เลือกโมเดลของคุณ
เปรียบเทียบโมเดล
| โมเดล | ประเภท | ราคามาตรฐาน | เปิดตัว |
|---|---|---|---|
Seed Audio 1.5 Text to Audioโมเดลนี้ ByteDance | เสียง | $0.15 / ครั้ง | 30 พ.ย. 2569 |
ByteDance | เสียง | $0.05 / ครั้ง | 30 พ.ย. 2569 |
ByteDance | เสียง | $0.60 / ครั้ง | 30 พ.ย. 2569 |
ByteDance | วิดีโอ | $0.90 / ครั้ง | 30 พ.ย. 2569 |
ByteDance | เสียง | $0.02 / ครั้ง | 24 พ.ย. 2569 |
ByteDance | เสียง | $0.19 / ครั้ง | 25 มิ.ย. 2569 |
คำถาม
คำถามที่พบบ่อย
ฉันจะเรียก ByteDance Seed Audio 1.5 Text to Audio ผ่าน SandBase ได้อย่างไร?
สร้าง SandBase API key แล้วส่งคำขอด้วย model ID "bytedance/seed-audio/1.5/text-to-audio" ไปที่ Unified Run API (/v1/run) ที่ https://api.sandbase.ai ตัวอย่างคำขอบนหน้านี้แสดง payload ที่ถูกต้องทั้งหมด
ฉันจำเป็นต้องมีบัญชี ByteDance แยกต่างหากไหม?
ไม่จำเป็น SandBase API key และยอดคงเหลือหนึ่งชุดให้คุณเข้าถึง ByteDance Seed Audio 1.5 Text to Audio และโมเดลอื่น ๆ ในแค็ตตาล็อกได้ คุณไม่ต้องสมัครใช้งานกับ ByteDance แยกต่างหาก
