ElevenLabs V3 API
activeUltra-realistic text-to-speech with natural sounding voices. Supports multiple languages and voice styles.
Quick Start
Send a request to the ElevenLabs V3 API:
| 1 | curl -X POST https://apiin.one/api/v1/audio/speech \ |
| 2 | -H "Authorization: Bearer YOUR_API_KEY" \ |
| 3 | -H "Content-Type: application/json" \ |
| 4 | -d '{ |
| 5 | "model": "elevenlabs-v3", |
| 6 | "dialogue": [ |
| 7 | { |
| 8 | "text": "Hello, welcome to API in One.", |
| 9 | "voice": "narrator" |
| 10 | }, |
| 11 | { |
| 12 | "text": "Thank you! Tell me more about this platform.", |
| 13 | "voice": "user" |
| 14 | } |
| 15 | ], |
| 16 | "stability": 0.5, |
| 17 | "language_code": "auto" |
| 18 | }' |
API Endpoint
/api/v1/audio/speechSend a POST request with your API key to generate content using ElevenLabs V3.
Headers
Bearer YOUR_API_KEY
application/json
Body Parameters
Model identifier: elevenlabs-v3
Array of dialogue items: [{text: ..., voice: ...}]. Voice is optional.
Voice stability (0–1). Lower = more variation, higher = more consistent. Defaults to 0.5.
Language code (e.g. en, zh, ja) or auto for detection Defaults to auto.
Example Request
| 1 | { |
| 2 | "model": "elevenlabs-v3", |
| 3 | "dialogue": [ |
| 4 | { |
| 5 | "text": "Hello, welcome to API in One.", |
| 6 | "voice": "narrator" |
| 7 | }, |
| 8 | { |
| 9 | "text": "Thank you! Tell me more about this platform.", |
| 10 | "voice": "user" |
| 11 | } |
| 12 | ], |
| 13 | "stability": 0.5, |
| 14 | "language_code": "auto" |
| 15 | } |
Example Response
Successful task creation response.
| 1 | { |
| 2 | "code": 200, |
| 3 | "message": "success", |
| 4 | "data": { |
| 5 | "task_id": "n58xxxx_tts", |
| 6 | "status": "IN_PROGRESS" |
| 7 | } |
| 8 | } |
Check Task Status
For asynchronous tasks, poll the status endpoint to check when your task is complete:
/api/v1/tasks/{task_id}Returns the current status of a generation task. Poll until status is 'completed' or 'failed'.
| 1 | curl https://apiin.one/api/v1/tasks/task_abc123 \ |
| 2 | -H "Authorization: Bearer aio_your_key" |
Use Cases
- ✓Generate multi-character dialogue for podcasts and audiobooks
- ✓Build voice-enabled chatbots and virtual assistants
- ✓Create audiobook content with multiple narrators
- ✓Generate multilingual voice content for global audiences
API Tester
Test the ElevenLabs V3 API directly from your browser:
Error Codes
| 1 | { |
| 2 | "error": { |
| 3 | "code": 400, |
| 4 | "message": "Invalid parameters", |
| 5 | "type": "invalid_request" |
| 6 | } |
| 7 | } |
Frequently Asked Questions
How much does the ElevenLabs API cost through API in One?
Pricing is 28 credits per 1000 characters (~$0.056). The final cost scales with text length.
What languages does the ElevenLabs V3 API support?
ElevenLabs V3 supports 30+ languages. Set language_code to "auto" for automatic detection or specify a language code.
Can I create multi-voice dialogue?
Yes. The dialogue parameter accepts an array of objects, each with text and an optional voice. This enables multi-character conversations.
What is the stability parameter?
The stability parameter (0–1) controls voice consistency. Lower values (0.3) add more variation, higher values (0.8) produce more consistent output. Default is 0.5.
Why Use ElevenLabs V3 Through API in One?
Ready to use ElevenLabs V3?
Get Your API Key →