ElevenLabs Sound Effects

Sound effects and background audio from text prompts.

Audio

Sound FX technical docs

Endpoint, auth header, parameters, prices, and tested request examples for ElevenLabs Sound Effects.

Endpoint

Endpoint and pricing

POST /audio/sound-generation Endpoint https://api.imole.app/v1 Base URL 300 API cauris 300 Agent cauris
Headers

Request headers

Authorization required

Bearer Imole API key.

Content-Type required

Use application/json for JSON requests.

Parameters

Request parameters

model required

Use eleven_text_to_sound_v2.

prompt required

Sound effect prompt.

duration_seconds

Requested duration in seconds.

prompt_influence

Prompt guidance strength.

loop

Request a loopable sound.

true, false
output_format

Requested audio format.

Examples

Tested request examples

Notification chime
curl -X POST "https://api.imole.app/v1/audio/sound-generation" \
  -H "Authorization: Bearer $IMOLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "eleven_text_to_sound_v2",
  "prompt": "A soft confirmation chime for an API success notification",
  "duration_seconds": 1.5,
  "prompt_influence": 0.7
}' \
  --output sound-effect.mp3
Looping ambience
curl -X POST "https://api.imole.app/v1/audio/sound-generation" \
  -H "Authorization: Bearer $IMOLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "eleven_text_to_sound_v2",
  "prompt": "A subtle looping office ambience with keyboard taps and light room tone",
  "duration_seconds": 4,
  "loop": true
}' \
  --output sound-effect-loop.mp3
Button click
curl -X POST "https://api.imole.app/v1/audio/sound-generation" \
  -H "Authorization: Bearer $IMOLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "eleven_text_to_sound_v2",
  "prompt": "A short tactile mobile button click",
  "duration_seconds": 1,
  "prompt_influence": 0.5
}' \
  --output sound-effect-click.mp3