Generate custom MP3 sound effects from a text description and a chosen duration.
API ID
eleven-sound-effects-v2Overview
- Input
- A text prompt, an explicit duration from 0.5 to 30 seconds, and optional loop and prompt influence.
- Output
- One generated MP3 sound effect.
- Providers
- ElevenLabs API
- Latest operational check
- Healthy
- API compatibility
- Primex Sound Effects API
Recommended for
- Sound design
- Game audio
- Interface sounds
Supported features
- Text to sound effect
- Seamless loop
- Prompt influence
Hear what you can create
Listen for free, then edit a prompt and duration to make your own. Results vary; generating a new effect uses credits.
Interface · 1s sampleSoft interface click
A single soft interface click with a short, clean reverb tail. No speech or music.
Ambience · 2s sampleGentle rain
Gentle rain falling steadily on leaves, with a calm outdoor ambience. No speech or music.
Foley · 2s sampleGravel footsteps
Two slow footsteps crunching on gravel, close and clear. No speech or music.
Video · 1s sampleTransition whoosh
One smooth, airy whoosh for a video transition, with a quick fade. No speech or music.
Make your first request
View full setupcurl --fail-with-body https://gateway.primexos.com/v1/audio/sound-effects \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"eleven-sound-effects-v2","prompt":"A short soft click","duration_seconds":1}' \
--output sound-effect.mp3Executing this request uses your account’s API credits.
Sample input → output
InputA text prompt, an explicit duration from 0.5 to 30 seconds, and optional loop and prompt influence.
→Output preview
- Audio/mpeg
- Returned when available
Simplified preview based on the published service response contract.
Input requirements
- Duration must be set in half-second steps
- MP3 output only