หน้า API ของโมเดล
การเชื่อมต่อ API ของ ElevenLabs Dialogue V3
ใช้ ElevenLabs Dialogue V3 ผ่าน Rivya Public API v1 ด้วย model id elevenlabs-dialogue-v3, input ที่รองรับ, พารามิเตอร์, กฎ Files API, เครดิต และตัวอย่าง response
พร้อมใช้งานผ่าน APItext input พร้อมเสียง
ID โมเดล API
elevenlabs-dialogue-v3
Input
text
Files API
ไม่จำเป็นสำหรับ request ขั้นต่ำ
เครดิตพื้นฐาน
14
ความสามารถ
เสียง
Billing
METERED
ขีดจำกัดพรอมต์
5000 อักขระ
contract ของ request
ส่ง model id ที่ระดับบนสุด control เฉพาะโมเดลอยู่ใน params
| Key | Type | จำเป็น | ค่าเริ่มต้น | คำอธิบาย |
|---|---|---|---|---|
| model | string | ใช่ | elevenlabs-dialogue-v3 | ใช้ API model id elevenlabs-dialogue-v3 |
| prompt | string | ไม่ใช่ | - | สูงสุด 5000 อักขระสำหรับโมเดลนี้ |
| params | object | ไม่ใช่ | - | object พารามิเตอร์เฉพาะโมเดล ใช้แถวด้านล่างสำหรับ key ที่อนุญาต |
| client_request_id | string | ไม่ใช่ | - | client-side id แบบเลือกได้สำหรับ trace คำขอในระบบของคุณ |
| params.dialogue | array | ใช่ | - | บรรทัด dialogue เป็น object ที่มี voice และ text server จะสร้าง task prompt จาก array นี้ |
พารามิเตอร์โมเดล
| Key | Type | จำเป็น | ค่าเริ่มต้น | ช่วง | ตัวเลือก | คำอธิบาย |
|---|---|---|---|---|---|---|
| default_voice | select | ไม่ใช่ | Adam | - | Adam, Alice, Bill, Brian, Callum, Charlie, Chris, Daniel, Eric, George, Harry, Jessica, Laura, Liam, Lily, Matilda, River, Roger, Sarah, Will | เสียงเริ่มต้น |
| stability | select | ไม่ใช่ | 0.5 | - | 0, 0.5, 1 | ความนิ่ง |
| language_code | text | ไม่ใช่ | - | - | - | รหัสภาษา |
request ขั้นต่ำ
{
"model": "elevenlabs-dialogue-v3",
"prompt": "A polished audio concept for a short product story",
"params": {
"default_voice": "Adam",
"stability": "0.5",
"dialogue": [
{
"voice": "Adam",
"text": "Welcome to the product walkthrough."
},
{
"voice": "Alice",
"text": "Here is the short version for developers."
}
]
}
}response จากการสร้าง
endpoint create ส่ง public task id กลับมา poll endpoint สถานะจนกว่างานจะสำเร็จหรือล้มเหลว
{
"id": "task_elevenlabs_dialogue_v3_example",
"status": "queued",
"model": "elevenlabs-dialogue-v3",
"reserved_credits": 14,
"final_credits": 0,
"created_at": "2026-05-11T00:00:00.000Z",
"updated_at": "2026-05-11T00:00:00.000Z",
"result": null,
"error": null
}error ทั่วไป
validation_failed, insufficient_credits, idempotency_conflict, rate_limited, not_found
endpoint create ส่ง public task id กลับมา poll endpoint สถานะจนกว่างานจะสำเร็จหรือล้มเหลว