🎉 New Year Sale: Get 20% OFF on all plans — Use code NEWYEAR2026.

Upgrade now
SoundEffect (SFX) thumbnail

ModelsLab/SoundEffect (SFX)

sfx
The SFX endpoint allows you to generate sound effects (SFX) from text prompts. It takes user input in the form of a text prompt to conditionally generate audio effects.
API PlaygroundAPI Documentation

API Endpoint URL

Base URL for all API requests to this endpoint.

https://modelslab.com/api/v6/voice/sfx

API Authentication

Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.

Integration Examples

Production-ready code samples for API integration

{
"prompt": "Thunderstorm with rain",
"duration": "10",
"webhook": null,
"track_id": null,
"key": "YOUR_API_KEY"
}

SDKs

Official SDKs

Production-ready SDKs and client libraries for all major programming languages

API Parameters

Technical specifications for API request parameters.

Field NameParameterTechnical Description
PromptpromptA descriptive input that specifies the type of sound effect to generate.
durationdurationLength of generated sound effect in seconds
webhookwebhookURL to receive POST notification upon completion
track_idtrack_idID for webhook identification