Generate Original Music from Text Descriptions
The ModelsLab AI Music API generates original music compositions from natural language descriptions. Describe the genre, mood, tempo, instrumentation, and duration — the API returns a royalty-free audio file within seconds. Generated tracks are original compositions, not samples or loops, and are cleared for commercial use without licensing fees.
The API supports text-to-music generation for full tracks and text-to-SFX for sound effects. Both endpoints accept detailed text prompts and return downloadable audio files in WAV or MP3 format.
- Text-to-music: generate full compositions from natural language prompts
- Text-to-SFX: create custom sound effects from text descriptions
- Multiple genres — electronic, classical, ambient, hip-hop, jazz, cinematic, rock
- Configurable parameters: BPM (60-200), duration (5-300 seconds), key, instruments
- Royalty-free output — commercial use included, no licensing required
- Audio output in WAV (uncompressed) and MP3 (compressed) formats






















