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

HeaderTipoRequeridoDescripción
AuthorizationstringRequeridoBearer YOUR_API_KEY
Content-TypestringRequeridoapplication/json

Body Parameters

ParámetroTipoRequeridoDescripción
modelstringRequeridoModel identifier: "elevenlabs-v3"
dialoguearrayRequeridoArray of dialogue items: [{text: "...", voice: "..."}]. Voice is optional.
stabilitynumberOpcionalVoice stability (0–1). Lower = more variation, higher = more consistent. (Predeterminado: 0.5)
language_codestringOpcionalLanguage code (e.g. en, zh, ja) or "auto" for detection (Predeterminado: 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:

Consola de APIPOST

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 →