コンテンツへスキップ

Eleven v4 Text to Speech

統合

モデルID elevenlabs/tts/eleven-v4
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/elevenlabs/tts/eleven-v4?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "[whispers] Okay, everyone, gather close. [excited] The bread is finally out of the oven. [laughs] Fine, fine, one slice each, but only if you promise to save one for me."
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

このリクエスト: $0.014 14 APIクレジット · ≈ ₽1.51 このページで実行

APIキーを取得
ElevenLabs テキスト読み上げ #voiceover#expressive#timestamps

ElevenLabsで最も表現力豊かな音声モデル。インライン感情タグと単語タイムスタンプに対応。

例

出力 · 約14 s
[whispers] Okay, everyone, gather close. [excited] The bread is finally out of the oven. [laughs] Fine, fine, one slice each, but only if you promise to save one for me.$0.014 · 14 APIクレジット

リクエストを作成

コントロールはモデルスキーマから生成されます。値を変更するとコードと価格が更新されます。

•必須 169 / 5000

音声内容をテキストで指定します。必要に応じて[whispering]などの音声タグで発話方法を指定したり、スラッシュで囲んだIPA発音を指定したりできます。

デフォルト Rachel

音声合成に使用する音声。

詳細設定 apply_text_normalization · language_code · output_format · stability · similarity_boost · seed · timestamps
apply_text_normalization デフォルト auto

生成前のテキスト正規化を制御します。数値や日付の処理を含みます。

音声の生成とテキストの正規化に使用するISO 639-1言語コード。

デフォルト mp3_44100_128

codec_sample_rate_bitrate形式で指定する生成音声の形式。

デフォルト 0.5

音声の安定性。低い設定では表現力の高い発話、高い設定では一貫した発話になります。

デフォルト 0.75

参照音声との類似度を制御します。値を上げると一致度が高まりますが、出力の自然さが低下する可能性があります。

再現可能な結果を試みるために使用するシード。出力の完全な再現は保証されません。

POST /run/elevenlabs/tts/eleven-v4?wait=20 見積もり → $0.014
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/elevenlabs/tts/eleven-v4?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "[whispers] Okay, everyone, gather close. [excited] The bread is finally out of the oven. [laughs] Fine, fine, one slice each, but only if you promise to save one for me."
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

このリクエストを実行

キーはこのブラウザ内に保持されます。Doitong APIにのみ送信され、「記憶する」にチェックを入れた場合のみlocalStorageに保存されます。 APIキーを取得

Eleven v4 Text to Speechについて

Eleven v4はテキストを自然で感情豊かな音声で読み上げ、[excited]\nや[whispering]などのインライン音声タグとIPA発音を理解します。音声を選択し、安定性と類似度を調整して言語を設定できます。\n必要に応じて単語レベルのタイムスタンプも取得できます。MP3、PCM、Opus、テレフォニー形式に対応します。

パラメータ

名前型 デフォルト許可される値 説明
text必須
型string
≤ 5,000文字
音声内容をテキストで指定します。必要に応じて[whispering]などの音声タグで発話方法を指定したり、スラッシュで囲んだIPA発音を指定したりできます。
voice任意
型string
デフォルトRachel
音声合成に使用する音声。
stability任意
型number
デフォルト0.5
0 – 1
音声の安定性。低い設定では表現力の高い発話、高い設定では一貫した発話になります。
similarity_boost任意
型number
デフォルト0.75
0 – 1
参照音声との類似度を制御します。値を上げると一致度が高まりますが、出力の自然さが低下する可能性があります。
seed任意
型integer | null
0 – 4,294,967,295
再現可能な結果を試みるために使用するシード。出力の完全な再現は保証されません。
language_code任意
型string | null
音声の生成とテキストの正規化に使用するISO 639-1言語コード。
output_format任意
型enum
デフォルトmp3_44100_128
mp3_22050_32mp3_44100_32mp3_44100_64mp3_44100_96mp3_44100_128mp3_44100_192pcm_8000pcm_16000pcm_22050pcm_24000pcm_44100pcm_48000ulaw_8000alaw_8000opus_48000_32opus_48000_64
さらに3件opus_48000_96opus_48000_128opus_48000_192
codec_sample_rate_bitrate形式で指定する生成音声の形式。
apply_text_normalization任意
型enum
デフォルトauto
autoonoff
生成前のテキスト正規化を制御します。数値や日付の処理を含みます。
timestamps任意
型boolean
デフォルトfalse
生成音声に個々の文字のタイミングデータを付加するかどうかを制御します。
必須

出力

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "elevenlabs/tts/eleven-v4",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 14,
    "usd": "0.014",
    "charged": 14,
    "refunded": 0
  },
  "input": {
    "text": "[excited] Hello! Welcome to the future of voice.",
    "voice": "Aria"
  },
  "output": {
    "audio": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_name": "0-output.mp3",
      "file_size": 1843200
    },
    "timestamps": []
  },
  "outputs": [
    {
      "type": "audio",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_size": 1843200,
      "duration": 12,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ファイルの保存期間を選択すべてのoutputs[].urlはストレージ上のコピーです。アカウント設定または?storage=により、永久保存(GB・月単位で有料)または無料で7日保存できます。
すべてのモデルで同じ形式画像、動画、音声のいずれでも、type、url、content_type、width、height、durationが含まれます。outputはモデル独自の結果オブジェクトです。
出力フィールド
audio
object {url, content_type, file_name, file_size}生成によって作成された音声ファイル。
timestamps
array of any | null`timestamps`をTrueに設定したリクエストでのみ含まれる、生成音声のタイミングデータ。各単語にタイムスタンプが付与されます。

その他のモデル: テキスト読み上げ

AIエージェント向け:このページのMarkdown版はこちらです: https://doitong.com/ja/developers/models/elevenlabs/tts/eleven-v4.md. すべてのモデルとガイド: https://doitong.com/developers/llms.txt