Trang API mô hình
Tích hợp API ElevenLabs Dialogue V3
Dùng ElevenLabs Dialogue V3 qua Rivya Public API v1 với model id elevenlabs-dialogue-v3, input được hỗ trợ, tham số, quy tắc Files API, tín dụng và ví dụ response.
Khả dụng qua APIText input sẵn sàngÂm thanh
ID mô hình API
elevenlabs-dialogue-v3
Input
text
Files API
Không bắt buộc cho minimal request
Tín dụng cơ bản
14
Năng lực
Âm thanh
Thanh toán
METERED
Giới hạn prompt
5000 ký tự
Hợp đồng yêu cầu
Gửi model id ở top level. Điều khiển riêng của mô hình nằm trong params.
| Key | Type | Bắt buộc | Default | Mô tả |
|---|---|---|---|---|
| model | string | Có | elevenlabs-dialogue-v3 | Dùng API model id elevenlabs-dialogue-v3. |
| prompt | string | Không | - | Tối đa 5000 ký tự cho mô hình này. |
| params | object | Không | - | Object tham số riêng của mô hình. Dùng các dòng bên dưới để xem key được phép. |
| client_request_id | string | Không | - | Client-side id tùy chọn để trace request trong hệ thống của bạn. |
| params.dialogue | array | Có | - | Các dòng hội thoại dưới dạng object có voice và text. Server dựng task prompt từ array này. |
Tham số mô hình
| Key | Type | Bắt buộc | Default | Range | Options | Mô tả |
|---|---|---|---|---|---|---|
| default_voice | select | Không | Adam | - | Adam, Alice, Bill, Brian, Callum, Charlie, Chris, Daniel, Eric, George, Harry, Jessica, Laura, Liam, Lily, Matilda, River, Roger, Sarah, Will | Giọng mặc định |
| stability | select | Không | 0.5 | - | 0, 0.5, 1 | Stability |
| language_code | text | Không | - | - | - | Mã ngôn ngữ |
Yêu cầu tối thiểu
{
"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."
}
]
}
}Phản hồi tạo
Create endpoint trả về public task id. Poll status endpoint cho đến khi task succeeded hoặc failed.
{
"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
}Lỗi thường gặp
validation_failed, insufficient_credits, idempotency_conflict, rate_limited, not_found
Create endpoint trả về public task id. Poll status endpoint cho đến khi task succeeded hoặc failed.