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.19USD / การรัน
- การทำงาน
- async
- ประเภโมเดล
- audio
- ฟิลด์อินพุต
- 10
ลองใช้โมเดล
Playground
PNG, JPEG, WebP หรือ GIF · สูงสุด 20 MiB
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
การ์ดโมเดล
ข้อมูลจำเพาะ
ราคา
- ราคาพื้นฐาน
- $0.19 / การรัน
บริบทและ modalities
- อินพุต
- กำหนดตามสคีมา
- เอาต์พุต
- audio
ความสามารถ
- แชท
- ไม่รองรับ
- วิชัน
- ไม่รองรับ
- การให้เหตุผล
- ไม่รองรับ
- เอาต์พุตแบบมีโครงสร้าง
- ไม่รองรับ
- การเรียกใช้ฟังก์ชัน
- ไม่รองรับ
- อินพุตเสียง
- ไม่รองรับ
การเข้าถึง
- ผู้ให้บริการ
- ByteDance
- รหัสโมเดล
- bytedance/seed-audio/1.0
- การทำงาน
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /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"สคีมาขาเข้า
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`. |
สคีมาเอาต์พุต
| ฟิลด์ | ประเภท | คำอธิบาย |
|---|---|---|
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.0โมเดลนี้ ByteDance | เสียง | $0.19 / ครั้ง | 25 มิ.ย. 2569 |
ByteDance | เสียง | $0.02 / ครั้ง | 24 พ.ย. 2569 |
ByteDance | เสียง | $0.06 / ครั้ง | 5 มิ.ย. 2569 |
คำถาม
คำถามที่พบบ่อย
ฉันจะเรียก ByteDance Seed Audio 1.0 ผ่าน SandBase ได้อย่างไร?
สร้าง SandBase API key แล้วส่งคำขอด้วย model ID "bytedance/seed-audio/1.0" ไปที่ Unified Run API (/v1/run) ที่ https://api.sandbase.ai ตัวอย่างคำขอบนหน้านี้แสดง payload ที่ถูกต้องทั้งหมด
ฉันจำเป็นต้องมีบัญชี ByteDance แยกต่างหากไหม?
ไม่จำเป็น SandBase API key และยอดคงเหลือหนึ่งชุดให้คุณเข้าถึง ByteDance Seed Audio 1.0 และโมเดลอื่น ๆ ในแค็ตตาล็อกได้ คุณไม่ต้องสมัครใช้งานกับ ByteDance แยกต่างหาก
