Sound Effects (SFX)
Generate a 3 to 15 second sound effect from a text prompt with Stable Audio Open 1.0, at $0.001 per second of audio.
POST
Generate sound effects from text
The SFX endpoint turns a text prompt into a sound effect. It runs Stable Audio Open 1.0 (Stability AI) on ModelsLab GPUs and returns 44.1 kHz stereo audio.
Otherwise the response has
For ElevenLabs Sound Effects on the same API key, use
POST https://modelslab.com/api/v7/voice/sound-generation with model_id: eleven_sound_effect ($0.06 per generation). Price comparisons with other sound effects APIs are on modelslab.com/sound-effects-api-pricing.Request
Make aPOST request to the endpoint below with the required parameters.
Body
json
Response
When the GPU queue is clear, the request returns the finished file:json
status: "processing", an eta in seconds, a fetch_result URL and the future_links where the file will appear. Keep the fetch_result URL (fetch replies do not repeat it) and POST to it with your key (see Fetch Voice) until status is success, failed or error, or pass a webhook to receive the result.Body
application/json
Response
Sound effects generation response

