マーケットサポート← アプリに戻る

ElevenLabs

ElevenLabs モデルは統一された非同期ジョブ API で呼び出します。POST /api/generate でタスクを開始し、完了するまで GET /api/generate/{taskId} をポーリングします。このファミリーは 4 個のエンドポイントを提供します。

概要

すべてのエンドポイントは同じ外枠を共有し、変わるのは modelinput フィールドだけです。モデルマーケットの playground から任意に実行できます。

認証

/api-keys で API キーを作成し、Bearer トークンとして送信します。ログイン中のブラウザからのリクエストはセッション cookie 経由でも動作します。

Authorization: Bearer <YOUR_API_KEY>

タスクの作成

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

ボディ:{ "model": "<slug>", "input": { … } }

レスポンス:{ "taskId": "<id>", "state": "waiting" }

結果の照会

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

レスポンス:{ "taskId", "state": "waiting" | "success" | "fail", "resultUrls": [ … ], "creditsConsumed", "failMsg", "balance" }

非同期
タスク作成の 200 は、タスクが受理されたことを意味するだけで、完了ではありません。statesuccess または fail になるまでこのエンドポイントをポーリングしてください。失敗したタスクは課金されません。

エンドポイント

モデルタスクmodel 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 フィールド
audio_urlstring必須

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

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 フィールド
dialoguearray<object>必須

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

dialogue[].textstring必須

Dialogue text content for speech generation

dialogue[].voiceenum<string>必須

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

stabilitynumber任意

Voice stability parameter controlling consistency

language_codestring任意

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

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 フィールド
textstring必須

Text to convert to speech (max 5000 characters)

voicestring必須

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

stabilitynumber任意

Voice stability control (0-1, step 0.01)

similarity_boostnumber任意

Similarity boost parameter (0-1, step 0.01)

stylenumber任意

Style exaggeration level (0-1, step 0.01)

speednumber任意

Speech speed multiplier (0.7-1.2, step 0.01)

timestampsboolean任意

Return word-level timestamps in output

previous_textstring任意

Prior context text for continuity (max 5000 chars)

next_textstring任意

Following context text for continuity (max 5000 chars)

language_codestring任意

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

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 フィールド
textstring必須

Text to convert to speech (max 5000 characters)

voicestring任意

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

stabilitynumber任意

Voice stability parameter (0-1, step 0.01)

similarity_boostnumber任意

Similarity boost parameter (0-1, step 0.01)

stylenumber任意

Style exaggeration level (0-1, step 0.01)

speednumber任意

Speech speed multiplier (0.7-1.2, step 0.01)

timestampsboolean任意

Return word-level timing information

previous_textstring任意

Prior context text for continuity (max 5000 chars)

next_textstring任意

Following context text for continuity (max 5000 chars)

language_codestring任意

ISO 639-1 language code for enforcement

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"
  }
}'