curl --request POST \
--url https://api.aiid.edu.kg/suno/submit/music \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "suno_music",
"upstream_model": "suno-v6",
"prompt": "Create an energetic retro-pop DJ song about the artificial intelligence revolution.",
"make_instrumental": false
}
'{
"code": "success",
"message": "",
"data": "task_xxx"
}Create a music or sound generation task
Music and audio generation submission API, compatible with the legacy /suno/submit/music path. Returns a task ID, which can later be queried through /suno/fetch/{task_id}.
Music and sound generation task submission endpoint. Pass the submodel name via upstream_model. The creation endpoint returns task_id, which you can then use with /suno/fetch/{task_id} to retrieve the output.
If upstream_model is not provided (or only {"model":"suno_music"} is provided), Suno v5.5 is used by default. To continue using the legacy Suno version, explicitly pass "upstream_model":"suno-v5".
Available Submodels
| Type | upstream_model |
|---|---|
| Music | suno-v6 |
| Music | suno-v5.5 |
| Music | suno-v5 |
| Music | lyria-3-pro |
| Sound | seed-audio-1.0 |
| Sound | minimax-speech-2.8-hd |
Prompt Description Mode
Suitable for describing only the style, mood, language, singer type, and scenario, with the model automatically generating the song content.
{
"model": "suno_music",
"upstream_model": "suno-v6",
"prompt": "Create an energetic retro-pop DJ song about the artificial intelligence revolution.",
"make_instrumental": false
}
Audio generation
MiniMax Speech can set voice parameters via extraParams.
{
"model": "suno_music",
"upstream_model": "minimax-speech-2.8-hd",
"prompt": "欢迎使用新版语音生成服务。",
"extraParams": {
"voice": "moss_audio_ce44fc67-7ce3-11f0-8de5-96e35d26fb85",
"outputFormat": "mp3",
"sampleRate": 32000,
"speed": 1,
"volume": 1,
"pitch": 0
}
}
When no voice parameters are provided for MiniMax Speech, the server sends voice, outputFormat=mp3, sampleRate=32000, speed=1, volume=1, and pitch=0 from the example above by default.
Lyria 3 Pro uses upstream_model=lyria-3-pro:
{
"model": "suno_music",
"upstream_model": "lyria-3-pro",
"prompt": "Cinematic orchestral music with a hopeful finale."
}
Light Music or Instrumental Only
You can use light_music=true or make_instrumental=true. light_music indicates a preference for light music/background music, and make_instrumental indicates that no sung vocals will be generated.
{
"model": "suno_music",
"upstream_model": "minimax-music-v2.6",
"prompt": "Warm cafe background music with soft piano and strings, relaxing and cinematic.",
"light_music": true,
"make_instrumental": true
}
Advanced Lyrics Mode
Suitable when the business side has already prepared the lyrics and needs to specify the title and style tags. Pass custom_mode=true and use lyrics to submit the lyrics.
{
"model": "suno_music",
"upstream_model": "mureka-v9",
"custom_mode": true,
"title": "Summer Sea Breeze",
"tags": "electro pop, female vocal, bright summer",
"lyrics": "[Verse]\nSea breeze moves across the white sand\n[Chorus]\nTurn the summer into a beam of light"
}
Query
After creation succeeds, save the returned data task ID, such as task_xxx, and call GET /suno/fetch/{task_id} to query the status, audio URL, cover, title, lyrics, and the upstream raw fragment information.
curl --request POST \
--url https://api.aiid.edu.kg/suno/submit/music \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "suno_music",
"upstream_model": "suno-v6",
"prompt": "Create an energetic retro-pop DJ song about the artificial intelligence revolution.",
"make_instrumental": false
}
'{
"code": "success",
"message": "",
"data": "task_xxx"
}Authorizations
Use Bearer Token authentication.
Format: Authorization: Bearer sk-xxxxxx
Body
Always pass suno_music.
suno_music "suno_music"
A descriptive prompt for music or sound.
Submodel name, such as suno-v6 or suno-v5.5; defaults to suno-v5.5.
"suno-v6"
MiniMax Speech 2.8 HD 的 voice、outputFormat、sampleRate、speed、volume、pitch 参数。
Whether to generate instrumental accompaniment only.
Whether to generate in a light music/background music style.
Whether to generate in instrumental music mode.
Whether to use custom mode.
Song title.
Style tags, such as electro pop, female vocal.
Lyrics content.
