##All APIs require Bearer Token authentication##
Get API Key:
Visit API Key Management Page to get your API Key
Add to request header when using:
Authorization: Bearer YOUR_API_KEYModel name
Available options:
suno-v4: V4 version, improved vocal quality, up to 4 minutes, prompt max 3000 characters, style max 200 characterssuno-v4.5: V4.5 version (Recommended), smarter prompts, faster generation, up to 8 minutes, prompt max 5000 characters, style max 1000 characterssuno-v4.5plus: V4.5+ enhanced version, richer tones, new creative methods, up to 8 minutes, prompt max 5000 characters, style max 1000 characterssuno-v4.5all: V4.5 full-featured version, smarter prompts, faster generation, up to 8 minutes, prompt max 5000 characters, style max 1000 characterssuno-v5: V5 latest version, superior musical expression, faster generation, prompt max 5000 characters, style max 1000 characterssuno-v4, suno-v4.5, suno-v4.5plus, suno-v4.5all, suno-v5 "suno-v4.5"
Enable custom mode
Description:
false: Simple mode, only provide prompt, AI auto-generates lyrics and styletrue: Custom mode, allows fine control over style, title, lyrics, etc.Required parameters in custom mode:
style: Requiredtitle: Requiredprompt: Required when instrumental=false (used as lyrics)false
Generate instrumental music (no vocals)
Description:
false: Generate music with vocalstrue: Generate instrumental/background music without vocalsNote:
true, prompt becomes optionalfalse
Prompt describing the desired music content
Non-custom mode (custom_mode=false):
500 charactersCustom mode (custom_mode=true):
instrumental=false, used as exact lyricsinstrumental=true3000 characters for V4, 5000 characters for V4.5+Lyrics format suggestions:
[Verse], [Chorus], [Bridge] to organize lyrics structure"A cheerful summer pop song about road trips and freedom"
Music style specification
Description:
custom_mode=true)Character limits:
200 characters1000 charactersCommon style tags:
"pop, electronic, upbeat, female vocals"
Song title
Description:
custom_mode=true)80 characters80"Summer Dreams"
Excluded styles, specify music styles or features to avoid
Examples:
heavy metal, screaming, sadrap, fast tempo"heavy metal, screaming"
Vocal gender preference
Options:
m: Male voicef: Female voiceNote:
custom_mode=truem, f "f"
Style weight, controls adherence to the specified style
Range: 0.0 ~ 1.0, one decimal place
Description:
0 is treated as unset0 <= x <= 10.7
Weirdness constraint, controls the creativity/experimental degree of the output
Range: 0.0 ~ 1.0, one decimal place
Description:
0 is treated as unset0 <= x <= 10.3
Audio weight, controls the weight of audio features
Range: 0.0 ~ 1.0, one decimal place
Description:
0 is treated as unset0 <= x <= 10.5
HTTPS callback URL for task completion notification
Callback stages:
text (text generation), first (first track completed), complete (all completed)text and first stages may be skipped, returning complete directlySecurity restrictions:
2048 charactersCallback mechanism:
10 seconds3 retries on failure"https://your-domain.com/webhooks/suno-callback"
Music task created successfully
Task creation timestamp
1766319090
Task ID, used to query task status and results
"task-unified-1766319089-oqs9cue4"
Actual model name used
"suno-v5"
Task type
audio.generation.task Task progress percentage (0-100)
0 <= x <= 100100
Generated music details array, returned when task is completed
Generated audio URL array, returned when task is completed
[
"https://media.evolink.ai/xxx.mp3",
"https://media.evolink.ai/yyy.mp3"
]Task status
pending, processing, completed, failed "completed"
Audio task details
Task output type
audio "audio"