Generate full-length songs or instrumentals (up to ~6 minutes) from a text prompt. 99%+ accurate BPM/key control, 14+ structure tags, auto-generated lyrics, and instrumental-only mode.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "minimax/music-2.6",
"input": {
"prompt": "E minor, 90 BPM, acoustic guitar ballad, male vocal, emotional, intimate studio feel",
"lyrics": "[Verse]\n๋ฐคํ๋์ ๋ณ์ ์ธ๋ค๊ฐ\n๋์ ์ด๋ฆ์ ๋ ์ฌ๋ ธ์ด\n\n[Chorus]\n์์ง๋ ๊ธฐ์ตํด ๊ทธ๋ ์ ๋
ธ๋\n๋ฐ๋์ ์ค๋ ค ์ค๋ ๋ฉ๋ก๋\n\n[Outro]\n๊ทธ๋ ์ ๋
ธ๋...",
"audio_format": "mp3",
"bitrate": 256000,
"sample_rate": 44100
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | No | - | Style description (max 2,000 chars): key, BPM, genre, mood, vocal style, instruments, production. e.g. 'E minor, 90 BPM, acoustic guitar ballad, male vocal, emotional'. Required when is_instrumental is true |
lyrics | string | No | - | Lyrics (max 3,500 chars). Use \n for line breaks, \n\n for pauses between sections. Structure tags: [Intro], [Verse], [Pre Chorus], [Chorus], [Hook], [Drop], [Bridge], [Solo], [Build Up], [Inst], [Interlude], [Break], [Transition], [Outro] |
is_instrumental | boolean | No | false | Generate instrumental music without vocals. Prompt is required, lyrics are not needed |
lyrics_optimizer | boolean | No | false | Automatically generate lyrics from the prompt when lyrics are empty โ create a complete song from just a style description |
sample_rate | integer | No | 44100 | Sample rate for the generated music 16000240003200044100 |
bitrate | integer | No | 256000 | Bitrate for the generated music 3200064000128000256000 |
audio_format | string | No | mp3 | Output format. Use wav for production work mp3wavpcm |
Common parameters used when calling POST /v1/predictions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model identifier |
input | object | Yes | - | Object containing the model-specific parameters from the table above |
output_folder | string | No | - | Folder path for output files (max 256 chars, '..' not allowed) |
webhook_url | string | No | - | Webhook URL to call on completion |
is_public | boolean | No | false | If true, output files are also available via permanent public URLs |
Emotional ballad with exact key/BPM and structured lyrics
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "minimax/music-2.6",
"input": {
"prompt": "E minor, 90 BPM, acoustic guitar ballad, male vocal, emotional, intimate studio feel",
"lyrics": "[Verse]\n๋ฐคํ๋์ ๋ณ์ ์ธ๋ค๊ฐ\n๋์ ์ด๋ฆ์ ๋ ์ฌ๋ ธ์ด\n\n[Chorus]\n์์ง๋ ๊ธฐ์ตํด ๊ทธ๋ ์ ๋
ธ๋\n๋ฐ๋์ ์ค๋ ค ์ค๋ ๋ฉ๋ก๋\n\n[Outro]\n๊ทธ๋ ์ ๋
ธ๋...",
"audio_format": "mp3",
"bitrate": 256000,
"sample_rate": 44100
}
}'Auto-generate lyrics and a complete song from a style prompt only
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "minimax/music-2.6",
"input": {
"prompt": "Upbeat K-pop, 120 BPM, bright female vocal, catchy synth hook, summer vibes",
"lyrics_optimizer": true
}
}'Vocal-free lo-fi track for videos or study sessions
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "minimax/music-2.6",
"input": {
"prompt": "Lo-fi hip hop, 80 BPM, warm vinyl texture, mellow piano, relaxed study vibe",
"is_instrumental": true,
"audio_format": "mp3"
}
}'POST /v1/predictions