VibeVoice 7B
microsoft/vibevoice/7bVibeVoice 7B by Microsoft generates long-form, expressive speech with up to four speakers in one conversation, using preset voices or voice samples. It suits podcasts and multi-character dialogue.
- ราคาพื้นฐาน
- $0.04USD / การรัน
- การทำงาน
- async
- ประเภโมเดล
- audio
- ฟิลด์อินพุต
- 3
ลองใช้โมเดล
Playground
0 / 4 items
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
การ์ดโมเดล
ข้อมูลจำเพาะ
ราคา
- ราคาพื้นฐาน
- $0.04 / การรัน
บริบทและ modalities
- อินพุต
- กำหนดตามสคีมา
- เอาต์พุต
- audio
ความสามารถ
- แชท
- ไม่รองรับ
- วิชัน
- ไม่รองรับ
- การให้เหตุผล
- ไม่รองรับ
- เอาต์พุตแบบมีโครงสร้าง
- ไม่รองรับ
- การเรียกใช้ฟังก์ชัน
- ไม่รองรับ
- อินพุตเสียง
- ไม่รองรับ
การเข้าถึง
- ผู้ให้บริการ
- Microsoft
- รหัสโมเดล
- microsoft/vibevoice/7b
- การทำงาน
- async
- Base URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
API README
VibeVoice 7B
Microsoft VibeVoice 7B turns a script of up to 30,000 characters into long-form speech with up to four speakers, each a preset voice or a cloned voice sample.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
text | string, required | — | Script; prefix lines with Speaker 0:…Speaker 3: for dialogue. |
speakers | array of objects (1–4), required | — | 1–4 items {preset} or {audio_url} in speaker order; presets: Alice [EN], Carter [EN], Frank [EN], Mary [EN] (Background Music), Maya [EN], Anchen [ZH] (Background Music), Bowen [ZH], Xinran [ZH]. |
seed | integer | — | Fix it to reproduce a result. |
Billing
$0.04 per minute of generated speech, rounded to the nearest 15 seconds (minimum 15 seconds). The charge uses the measured output length; the estimate before the run assumes 1 minute.
| Output length | Price |
|---|---|
| 30 s | $0.02 |
| 1 min | $0.04 |
| 5 min | $0.20 |
Failed runs are not charged.
Prompting
- Keep one speaker per line and match
Speaker Nto the order ofspeakers. - Presets marked (Background Music) add music under the voice.
Also on SandBase
Related: microsoft/vibevoice, microsoft/vibevoice/0.5b.
เริ่มสร้าง
ส่งคำขอแรกของคุณ
เอ็นด์พอยต์ที่ใช้งานร่วมกับ 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": "microsoft/vibevoice/7b",
"text": "Speaker 0: VibeVoice is now available on SandBase. Isn't that right, Carter?\nSpeaker 1: That's right Frank, and it supports up to four speakers at once. Try it now!",
"speakers": [
[
{
"preset": "Frank [EN]"
},
{
"preset": "Carter [EN]"
}
]
]
}
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"สคีมาขาเข้า
3 พารามิเตอร์ · จำเป็น 2 · ไม่บังคับ 1
| พารามิเตอร์ | ประเภท | จำเป็น | คำอธิบาย |
|---|---|---|---|
text | string | จำเป็น | The script to speak. For dialogue, start each line with `Speaker 0:`, `Speaker 1:` and so on; the number is the index into `speakers`. · ความยาวสูงสุด: 30000 |
speakers | object[] | จำเป็น | Voices for the speakers in order: item 0 is `Speaker 0`, item 1 is `Speaker 1`, up to 4. Each item uses a `preset` voice, or an `audio_url` voice sample (audio file or URL) that overrides the preset. |
seed | integer | ไม่บังคับ | Random seed for reproducible results. Omit for a random seed. |
สคีมาเอาต์พุต
| ฟิลด์ | ประเภท | คำอธิบาย |
|---|---|---|
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จากการตอบกลับที่เสร็จสมบูรณ์
เลือกโมเดลของคุณ
เปรียบเทียบโมเดล
| โมเดล | ประเภท | ราคามาตรฐาน | เปิดตัว |
|---|---|---|---|
VibeVoice 7Bโมเดลนี้ Microsoft | เสียง | $0.04 / ครั้ง | 27 ส.ค. 2568 |
Microsoft | เสียง | $0.02 / ครั้ง | 17 ธ.ค. 2568 |
Microsoft | เสียง | $0.04 / ครั้ง | 27 ส.ค. 2568 |
คำถาม
คำถามที่พบบ่อย
ฉันจะเรียก Microsoft VibeVoice 7B ผ่าน SandBase ได้อย่างไร?
สร้าง SandBase API key แล้วส่งคำขอด้วย model ID "microsoft/vibevoice/7b" ไปที่ Unified Run API (/v1/run) ที่ https://api.sandbase.ai ตัวอย่างคำขอบนหน้านี้แสดง payload ที่ถูกต้องทั้งหมด
ฉันจำเป็นต้องมีบัญชี Microsoft แยกต่างหากไหม?
ไม่จำเป็น SandBase API key และยอดคงเหลือหนึ่งชุดให้คุณเข้าถึง Microsoft VibeVoice 7B และโมเดลอื่น ๆ ในแค็ตตาล็อกได้ คุณไม่ต้องสมัครใช้งานกับ Microsoft แยกต่างหาก
