Docs Rivya AI
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.

KeyTypeBắt buộcDefaultMô tả
modelstringelevenlabs-dialogue-v3Dùng API model id elevenlabs-dialogue-v3.
promptstringKhông-Tối đa 5000 ký tự cho mô hình này.
paramsobjectKhô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_idstringKhông-Client-side id tùy chọn để trace request trong hệ thống của bạn.
params.dialoguearray-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

KeyTypeBắt buộcDefaultRangeOptionsMô tả
default_voiceselectKhôngAdam-Adam, Alice, Bill, Brian, Callum, Charlie, Chris, Daniel, Eric, George, Harry, Jessica, Laura, Liam, Lily, Matilda, River, Roger, Sarah, WillGiọng mặc định
stabilityselectKhông0.5-0, 0.5, 1Stability
language_codetextKhô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.