Suno Mashup API Documentation
Use the Suno mashup API to combine songs or musical ideas into a blended output for remix experiments, genre fusion, and creative reinterpretation.
Authorizations
You can obtain your API key from the TTAPI Dashboard.
Body
Whether to use custom mode.
- true: Audio will be generated from lyrics
- false: Audio will be generated based on inspiration mode prompts
Whether to generate instrumental music.
- true: Generate instrumental-only music
- false: Generate a track with vocals and lyrics
- In inspiration mode, the gpt_description_prompt parameter is required
- In custom mode, the prompt parameter is required
Model to use.
chirp-v5-5, chirp-v5, chirp-v4-5+, chirp-v4-5, chirp-v4-5-all, chirp-v4, chirp-v3-5, chirp-v3-0 List of music IDs to blend. Exactly two tracks are required.
["xxx1", "xxx2"]Prompt for inspiration mode.
When not using custom mode (custom=false), this parameter is always required. Lyrics will be automatically generated from this prompt. Maximum length: 3000 characters.
"Night city lo-fi piano with rain ambience, soft vocal phrases, theme: \"Under the city lights\""
Lyrics.
Used in custom mode (custom=true). Required when instrumental is false. The lyrics will be used and sung in the generated track. Maximum length: 5000 characters.
Music title.
Used in custom mode (custom=true). Maximum length: 80 characters.
Music style or genre.
Used in custom mode (custom=true). Maximum length: 1000 characters.
"rock, blues, hip-hop, r&b"
Music styles or genres that should be excluded from generation.
Used in custom mode (custom=true).
Music style weight, range: 0.00–1.00.
Used in custom mode. Valid range: 0 <= x <= 1.
0.5
Audio creativity (weirdness) weight, range: 0.00–1.00.
Used in custom mode. Valid range: 0 <= x <= 1.
0.5
Audio weight, range: 0.00–1.00.
Used in custom mode. Valid range: 0 <= x <= 1.
0.5
Whether to automatically generate lyrics. Custom mode only.
- true: The input lyrics will be creatively rewritten, similar to the inspiration mode prompt effect
- false: Use the provided lyrics directly to generate the music
Vocal gender.
-
Male: Male voice
-
Female: Female voice
Male, Female Music style ID. Custom mode only.
Use this parameter to generate music with a specific style.
Whether to store the generated audio.
- true: The audio will be stored and a TTAPI CDN URL will be returned
- false: The original source URL will be returned
Callback notification URL