コンテンツへスキップ

Elevenlabs Sound Effects V2

統合

モデルID elevenlabs/sound-effects/v2
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/elevenlabs/sound-effects/v2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

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

このリクエスト: $0.044 44 APIクレジット このページで実行

APIキーを取得
ElevenLabs 音声 0.5–22 s #sound

テキスト説明から効果音を作成。任意のループモードと最大22秒の長さ指定に対応

ElevenLabs · 音声

最初の結果がここに表示されます

以下でリクエストを作成し、APIキーで実行してください。出力はストレージにコピーされ、永久保存または無料で7日保存されます。

リクエストを作成

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

•必須 88 / 450

生成する効果音の説明。

効果音の長さ(秒)。範囲は0.5~22です。Noneを指定すると、プロンプトに基づいて最適な長さが決定されます。

詳細設定 output_format · prompt_influence · loop
デフォルト mp3_44100_128

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

デフォルト 0.3

プロンプトへの追従度。範囲は0~1で、値を上げると変化が減少します。

POST /run/elevenlabs/sound-effects/v2?wait=20 見積もり → $0.044
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/elevenlabs/sound-effects/v2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

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

このリクエストを実行

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

Elevenlabs Sound Effects V2について

短いテキスト説明(最大450文字)を効果音に変換します。`duration_seconds`を0.5~22で設定するか、空欄にしてプロンプトからモデルに長さを選ばせます。`prompt_influence`は0~1、`loop`で滑らかに繰り返す音を要求でき、`output_format`ではMP3、PCM、mu-law、A-law、Opusを選択できます。

パラメータ

名前型 デフォルト許可される値 説明
text必須
型string
≤ 450文字
生成する効果音の説明。
duration_seconds任意
型number | null
0.5 – 22
効果音の長さ(秒)。範囲は0.5~22です。Noneを指定すると、プロンプトに基づいて最適な長さが決定されます。
prompt_influence任意
型number
デフォルト0.3
0 – 1
プロンプトへの追従度。範囲は0~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形式で指定する生成音声の形式。
loop任意
型boolean
デフォルトfalse
生成された効果音がシームレスなループに対応するかどうかを制御します。
必須

出力

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "elevenlabs/sound-effects/v2",
  "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": 44,
    "usd": "0.044",
    "charged": 44,
    "refunded": 0
  },
  "input": {
    "text": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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
    }
  },
  "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/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}MP3音声としてエンコードされた生成効果音ファイル。

その他のモデル: 音声

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