Skip to content

Elevenlabs Sound Effects V2

Integrate

Model 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"

This request: $0.044 44 API credits Run it on this page

Get API key
ElevenLabs Audio 0.5–22 s #sound

Creates sound effects from a text description, with optional loop mode and duration control up to 22 seconds

ElevenLabs · Audio

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required 88 / 450

Description of the sound effect to produce.

Sound duration in seconds, ranging from 0.5 to 22. If None is supplied, the prompt determines the optimal length.

Advanced output_format · prompt_influence · loop
default mp3_44100_128

Generated audio format, specified using the codec_sample_rate_bitrate pattern.

default 0.3

Prompt adherence, ranging from 0 to 1; increasing it reduces variation.

POST /run/elevenlabs/sound-effects/v2?wait=20 quote → $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"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Elevenlabs Sound Effects V2

Turns a short text description (up to 450 characters) into a sound effect. Set `duration_seconds` between 0.5 and 22, or leave it empty to let the model pick a length from the prompt. `prompt_influence` ranges from 0 to 1, `loop` requests a smoothly repeating sound, and `output_format` offers MP3, PCM, mu-law, A-law and Opus options.

Parameters

NameType DefaultAllowed Description
textrequired
Typestring
≤ 450 characters
Description of the sound effect to produce.
duration_secondsoptional
Typenumber | null
0.5 – 22
Sound duration in seconds, ranging from 0.5 to 22. If None is supplied, the prompt determines the optimal length.
prompt_influenceoptional
Typenumber
Default0.3
0 – 1
Prompt adherence, ranging from 0 to 1; increasing it reduces variation.
output_formatoptional
Typeenum
Defaultmp3_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 moreopus_48000_96opus_48000_128opus_48000_192
Generated audio format, specified using the codec_sample_rate_bitrate pattern.
loopoptional
Typeboolean
Defaultfalse
Controls whether the generated sound effect supports seamless looping.
required

Output

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"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
audio
object {url, content_type, file_name, file_size}Generated sound effect file encoded as MP3 audio.

More models: Audio

For AI agents: this page as Markdown is at https://doitong.com/developers/models/elevenlabs/sound-effects/v2.md. All models and guides: https://doitong.com/developers/llms.txt