ElevenLabs V3 - tts generation API

ElevenLabs V3 API

active

Ultra-realistic text-to-speech with natural sounding voices. Supports multiple languages and voice styles.

ElevenLabstts28 credits/call
Provider
ElevenLabs
Pricing
28 credits per 1000 chars (~$0.056)
Speed
3–10 seconds
Output
audio

Quick Start

Send a request to the ElevenLabs V3 API:

bash
curl -X POST https://apiin.one/api/v1/audio/speech \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "elevenlabs-v3",
  "dialogue": [
    {
      "text": "Hello, welcome to API in One.",
      "voice": "narrator"
    },
    {
      "text": "Thank you! Tell me more about this platform.",
      "voice": "user"
    }
  ],
  "stability": 0.5,
  "language_code": "auto"
}'

API Endpoint

POST/api/v1/audio/speech
Send a POST request with your API key to generate content using ElevenLabs V3.

Headers

Header유형필수설명
Authorizationstring필수Bearer YOUR_API_KEY
Content-Typestring필수application/json

Body Parameters

매개변수유형필수설명
modelstring필수Model identifier: "elevenlabs-v3"
dialoguearray필수Array of dialogue items: [{text: "...", voice: "..."}]. Voice is optional.
stabilitynumber선택 사항Voice stability (0–1). Lower = more variation, higher = more consistent. (기본값: 0.5)
language_codestring선택 사항Language code (e.g. en, zh, ja) or "auto" for detection (기본값: auto)

Example Request

json
{
  "model": "elevenlabs-v3",
  "dialogue": [
    {
      "text": "Hello, welcome to API in One.",
      "voice": "narrator"
    },
    {
      "text": "Thank you! Tell me more about this platform.",
      "voice": "user"
    }
  ],
  "stability": 0.5,
  "language_code": "auto"
}

Example Response

Successful task creation response.

{
  "code": 200,
  "message": "success",
  "data": {
    "task_id": "n58xxxx_tts",
    "status": "IN_PROGRESS"
  }
}

Check Task Status

For asynchronous tasks, poll the status endpoint to check when your task is complete:

GET/api/v1/tasks/{task_id}
Returns the current status of a generation task. Poll until status is 'completed' or 'failed'.
bash
curl https://apiin.one/api/v1/tasks/task_abc123 \
  -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:

API 테스트 환경POST

Error Codes

{
  "error": {
    "code": 400,
    "message": "Invalid parameters",
    "type": "invalid_request"
  }
}

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?

1Multi-character dialogue in a single request
2No separate ElevenLabs subscription needed
330+ languages with automatic language detection
4Same API key for TTS, images, video, music, and chat

Ready to use ElevenLabs V3?

Get Your API Key →