Sound FX technical docs
Endpoint, auth header, parameters, prices, and tested request examples for ElevenLabs Sound Effects.
Endpoint and pricing
Request headers
Authorization required
Bearer Imole API key.
Content-Type required
Use application/json for JSON requests.
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, falseoutput_format
Requested audio format.
Tested request examples
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.mp3curl -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.mp3curl -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