Skip to main content
POST
/
suno
/
submit
/
music
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-v5",
  "prompt": "Imitating \"Billie Jean,\" create a DJ song with the theme of \"the artificial intelligence revolution.\"",
  "make_instrumental": false
}
'
{
  "code": "success",
  "message": "",
  "data": "task_xxx"
}

Authorizations

Authorization
string
header
required

Use Bearer Token authentication. Format: Authorization: Bearer sk-xxxxxx

Body

application/json
model
enum<string>
required

Always pass suno_music.

Available options:
suno_music
Example:

"suno_music"

prompt
string
required

In prompt description mode, this is used for music style, mood, and scene; in the advanced lyrics mode, it can be used as a lyrics-compatible field.

upstream_model
string

Generation engine selection value.

Example:

"suno-v5"

music_model
string

Compatibility alias for upstream_model.

engine
string

Compatibility alias for upstream_model.

model_id
string

Compatibility field for upstream model ID.

modelId
string

camelCase-compatible field for model_id.

gpt_description_prompt
string

Describes the compatibility field for prompt mode.

make_instrumental
boolean
default:false

Whether to generate instrumental accompaniment only.

light_music
boolean

Whether to generate in a light music/background music style.

pure_music
boolean

Whether to generate in instrumental music mode.

custom_mode
boolean

Whether to use custom mode.

customMode
boolean

camelCase-compatible field for custom_mode.

title
string

Song title.

tags
string

Style tags, such as electro pop, female vocal.

style
string

Style-compatible field.

genre
string

Genre compatibility field.

genres
string

Genre compatibility field.

lyrics
string

Lyrics content.

lyric
string

lyrics Compatible alias.

custom_lyrics
string

lyrics Compatible alias.

customLyrics
string

lyrics Compatible alias.

Response

200 - application/json

OK

code
string

On success, success.

Example:

"success"

message
string

Error or warning message.

data
object

Task ID, used for subsequent queries.