Elevenlabs Text To Dialogue v3
Audio model, from $0.088 per 1k characters.
Audio
elevenlabs/text-to-dialogue-v3Use with POST /v1/jobs.
Price
| Settings | Price |
|---|---|
| dialogue | $0.088 per 1k characters |
Input fields
| Field | Type or options | Default |
|---|---|---|
dialogue | list | |
stability | 0 0.5 1 | 0.5 |
language_code | af ar hy as az be bn bs bg ca ceb ny hr cs da nl en et fil fi fr gl ka de el gu ha he hi hu is id ga it ja jv kn kk ky ko lv ln lt lb mk ms ml zh mr ne no ps fa pl pt pa ro ru sr sd sk sl so es sw sv ta te th tr uk ur vi cy |
Files are public https links. Safety filters are always on.
Example
curl https://pinerouter.ai/v1/jobs \
-H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
-d '{"model":"elevenlabs/text-to-dialogue-v3","input":{"stability":0.5}}'Then poll GET /v1/jobs/<id> until data.status is succeeded (links in data.outputs), or pass webhook_url to be called when it finishes; see Jobs.
import time, requests
BASE, H = "https://pinerouter.ai", {"Authorization": "Bearer YOUR_API_KEY"}
job = requests.post(f"{BASE}/v1/jobs", headers=H, json={"model":"elevenlabs/text-to-dialogue-v3","input":{"stability":0.5}}).json()["data"]
while job["status"] not in ("succeeded", "failed"):
time.sleep(5)
job = requests.get(f"{BASE}/v1/jobs/{job['id']}", headers=H).json()["data"]
print(job["outputs"] or job.get("error"))