MarketSupport← Back to app

ElevenLabs

ElevenLabs models are called through one unified, asynchronous job API. Start a task with POST /api/generate, then poll GET /api/generate/{taskId} until it finishes. This family exposes 4 endpoints.

Overview

Every endpoint shares the same envelope — only model and the input fields change. Run any from the Models Market playground.

Authentication

Create an API key at /api-keys, then send it as a Bearer token. Requests from the browser while logged in also work via the session cookie.

Authorization: Bearer <YOUR_API_KEY>

Create Task

POST
POST https://api.lithovas.com/api/generate

Body: { "model": "<slug>", "input": { … } }

Response: { "taskId": "<id>", "state": "waiting" }

Query Result

GET
GET https://api.lithovas.com/api/generate/<taskId>

Response: { "taskId", "state": "waiting" | "success" | "fail", "resultUrls": [ … ], "creditsConsumed", "failMsg", "balance" }

Asynchronous
A 200 from Create Task only means the task was accepted — not finished. Poll this endpoint until state becomes success or fail. Failed tasks are not billed.

Endpoints

ModelTaskmodel slug
Audio IsolationAudio to Audioelevenlabs/audio-isolation
Text To Dialogue V3Text to Speechelevenlabs/text-to-dialogue-v3
Text To Speech Multilingual V2Text to Speechelevenlabs/text-to-speech-multilingual-v2
Text To Speech Turbo 2.5Text to Speechelevenlabs/text-to-speech-turbo-2-5

Audio Isolation · Audio to Audio

POSTAudio to Audioelevenlabs/audio-isolation
input fields
audio_urlstringrequired

URL of audio to isolate voice from (mp3/wav/aac/mp4/ogg, max 10MB)

Example
cURL
curl -X POST https://api.lithovas.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "elevenlabs/audio-isolation",
  "input": {
    "audio_url": "https://example.com/reference.mp3"
  }
}'

Text To Dialogue V3 · Text to Speech

POSTText to Speechelevenlabs/text-to-dialogue-v3
input fields
dialoguearray<object>required

Array of dialogue items with text and voice; combined text <=5000 chars

dialogue[].textstringrequired

Dialogue text content for speech generation

dialogue[].voiceenum<string>required

Voice ID or preset name for speech synthesis (60 voice IDs)

stabilitynumberoptional

Voice stability parameter controlling consistency

language_codestringoptional

Language code (50+ codes); omit for automatic detection

Example
cURL
curl -X POST https://api.lithovas.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "elevenlabs/text-to-dialogue-v3",
  "input": {
    "dialogue": [],
    "dialogue[].text": "example",
    "dialogue[].voice": "example",
    "stability": 0.5,
    "language_code": "example"
  }
}'

Text To Speech Multilingual V2 · Text to Speech

POSTText to Speechelevenlabs/text-to-speech-multilingual-v2
input fields
textstringrequired

Text to convert to speech (max 5000 characters)

voicestringrequired

Voice ID or preset name for speech generation (59 voice IDs)

stabilitynumberoptional

Voice stability control (0-1, step 0.01)

similarity_boostnumberoptional

Similarity boost parameter (0-1, step 0.01)

stylenumberoptional

Style exaggeration level (0-1, step 0.01)

speednumberoptional

Speech speed multiplier (0.7-1.2, step 0.01)

timestampsbooleanoptional

Return word-level timestamps in output

previous_textstringoptional

Prior context text for continuity (max 5000 chars)

next_textstringoptional

Following context text for continuity (max 5000 chars)

language_codestringoptional

ISO 639-1 language code for enforcement (max 500 chars)

Example
cURL
curl -X POST https://api.lithovas.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "elevenlabs/text-to-speech-multilingual-v2",
  "input": {
    "text": "example",
    "voice": "example",
    "stability": 0.5,
    "similarity_boost": 0.75,
    "style": 0,
    "speed": 1,
    "timestamps": false,
    "previous_text": "example",
    "next_text": "example",
    "language_code": "example"
  }
}'

Text To Speech Turbo 2.5 · Text to Speech

POSTText to Speechelevenlabs/text-to-speech-turbo-2-5
input fields
textstringrequired

Text to convert to speech (max 5000 characters)

voicestringoptional

Voice ID or preset name for speech generation (60+ voice IDs)

stabilitynumberoptional

Voice stability parameter (0-1, step 0.01)

similarity_boostnumberoptional

Similarity boost parameter (0-1, step 0.01)

stylenumberoptional

Style exaggeration level (0-1, step 0.01)

speednumberoptional

Speech speed multiplier (0.7-1.2, step 0.01)

timestampsbooleanoptional

Return word-level timing information

previous_textstringoptional

Prior context text for continuity (max 5000 chars)

next_textstringoptional

Following context text for continuity (max 5000 chars)

language_codestringoptional

ISO 639-1 language code for enforcement

Example
cURL
curl -X POST https://api.lithovas.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "elevenlabs/text-to-speech-turbo-2-5",
  "input": {
    "text": "example",
    "voice": "EkK5I93UQWFDigLMpZcX",
    "stability": 0.5,
    "similarity_boost": 0.75,
    "style": 0,
    "speed": 1,
    "timestamps": false,
    "previous_text": "example",
    "next_text": "example",
    "language_code": "example"
  }
}'