V6 (default), V6_WILD, V6_MINIV5_5, V5, V4_5PLUS, V4_5ALL, V4_5, V4uploadUrlList is required and must contain exactly 2 audio file URLs; only the first 2 are usedV6, V6_WILD, V6_MINI. Deprecated: V4, V4_5, V4_5PLUS, V4_5ALL, V5, V5_5.style and title are requiredprompt is optional and is treated as lyrics. When lyrics is also provided, lyrics takes priority and prompt is not used as lyricslyrics is optional. It takes priority over prompt as the lyrics. If lyrics is omitted, prompt is used as the lyricsprompt 3000–5000 characters and style 200–1000 characters according to the legacy model.prompt and lyrics max 5000 characters, style max 1000 characterstitle length limit: 80 characters (all models)prompt. If omitted, prompt is used as the lyrics. For V6, V6_WILD, and V6_MINI: maximum 5000 characters.m (male), f (female)V5_5 (Deprecated), V6, V6_WILD, or V6_MINI.0 off, 1 normal (default), 2 high, 3 extra, 4 max.voiceId to apply to the generated music. If you use a Voice-generated ID, set personaModel to voice_persona.style_persona. Use style_persona for Generate Persona IDs, or voice_persona for Suno Voice IDs.{
"uploadUrlList": [
"https://example.com/audio1.mp3",
"https://example.com/audio2.mp3"
],
"lyrics": "[Chorus] Brighter lights, we keep going on",
"prompt": "[Verse] City hums under neon rain",
"style": "Electronic Dance Music",
"title": "Mashup Work",
"model": "V6",
"callBackUrl": "https://example.com/callback",
"vocalGender": "m",
"styleWeight": 0.65,
"weirdnessConstraint": 0.72,
"audioWeight": 0.65,
"variety": 1
}style and title must be provided along with the two source audio URLstext (text generation), first (first track complete), complete (all tracks complete)uploadUrlList must be valid and accessible URLscurl --location 'https://apibox.erweima.ai/api/v1/generate/mashup' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"uploadUrlList": [
"https://example.com/audio1.mp3",
"https://example.com/audio2.mp3"
],
"prompt": "[Verse] City hums under neon rain",
"lyrics": "[Chorus] Brighter lights, we keep going on",
"style": "Jazz",
"title": "Relaxing Piano",
"model": "V6",
"callBackUrl": "https://example.com/callback",
"vocalGender": "m",
"styleWeight": 0.61,
"weirdnessConstraint": 0.72,
"audioWeight": 0.65,
"duration": 20,
"variety": 1,
"personaId": "persona_123",
"personaModel": "style_persona"
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "5c79****be8e"
}
}