Create music powered by AI using just a prompt, lyrics, or a defined music style.
Each request returns two distinct versions of the track.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | String | Optional | — | A natural language prompt for music generation |
music_style | String | Optional | — | Musical style or genre (e.g., Rock, Pop, Lo-fi) |
lyrics | String | Optional | "" | Custom lyrics to use in the song |
make_instrumental | Boolean | Optional | false | If true, generate instrumental-only audio |
vocal_only | Boolean | Optional | false | If true, generate vocals without instruments |
voice_id | String | Optional | "" | Apply voice model for vocal rendering |
webhook_url | String | Optional | "" | URL to receive generated results via webhook |
content-type: application/json
lyrics and music_style to craft a fully personalized song.
prompt and let the system generate everything: lyrics, style, vocals, and more.
make_instrumental,vocal_only, and Music AI generation with customvoice_idare supported in both modes.
Webhook responses include detailed metadata including task_id, conversion_id, audio files (conversion_path), lyrics etc.
Note: Each conversion_id corresponds to a different variation of the track.
A natural language prompt for music generation. Keep it under 280 characters for guaranteed results, but detailed—the clearer and more descriptive it is, the better the outcome.
Style of music to generate (e.g., Rock, Pop)
Custom lyrics for the generated music
Whether to make the music instrumental
Whether to generate only vocals of output audio
Voice model to convert generated audio
URL for callback upon completion