Skip to main content
POST

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; defaults to suno-v5.5, explicitly pass suno-v5 to keep the legacy version.

Example:

"suno-v5.5"

music_model
string

Compatibility alias for upstream_model.

engine
string

Compatibility alias for upstream_model.

model_id

camelCase-compatible field for model_id.

modelId

camelCase-compatible field for model_id.

gpt_description_prompt
string

Describes the compatibility field for prompt mode.

extraParams
object

Voice parameters for MiniMax Speech 2.8 HD; a snake_case-compatible field for extraParams.

extra_params
object

Voice parameters for MiniMax Speech 2.8 HD; a snake_case-compatible field for extraParams.

voice
string

MiniMax Speech 2.8 HD voice, can cover extraParams.voice.

output_format
string

MiniMax Speech 2.8 HD output format.

outputFormat
string

camelCase-compatible field for output_format.

sample_rate
integer

MiniMax Speech 2.8 HD sample rate.

sampleRate
integer

camelCase-compatible field for sample_rate.

speed
number

Speech rate, default 1.

volume
number

Volume, default 1.

pitch
number

Tone, default is 0.

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.