V6(默认)、V6_WILD、V6_MINIV5_5、V5、V4_5PLUS、V4_5ALL、V4_5、V4uploadUrlList、model、callBackUrluploadUrlList 必须包含 2 个音频文件 URLV6、V6_WILD、V6_MINI。已废弃:V4、V4_5、V4_5PLUS、V4_5ALL、V5、V5_5。prompt 按歌词语义使用。可选。若同时传入 lyrics,优先使用 lyrics,prompt 不再作为歌词。prompt 3000–5000字符、style 200–1000字符 ,按旧模型规则执行。lyrics/prompt 5000字符,style 1000字符,title 80字符prompt 作为歌词。lyrics 时作为歌词使 用。V6 系列最多 5000 字符。m(男)、f(女)0 关闭,1 普通(默认),2 高,3 额外,4 最大。V5_5、V6、V6_WILD、V6_MINI 有效。voiceId。如果使用 Voice 生成的 ID,personaModel 必须设置为 voice_persona。style_persona,Suno Voice 生成的 ID 使用 voice_persona。默认 style_persona。{
"uploadUrlList": [
"https://example.com/audio1.mp3",
"https://example.com/audio2.mp3"
],
"lyrics": "[Verse] 夜晚城市 灯火辉煌",
"style": "电子舞曲",
"title": "混音作品",
"variety": 1,
"model": "V6",
"callBackUrl": "https://example.com/callback",
"vocalGender": "m",
"styleWeight": 0.65,
"weirdnessConstraint": 0.72,
"audioWeight": 0.65
}text(文本生成)、first(第一首完成)、complete(全部完成)uploadUrlList 中的两个音频文件必须是有效且可访问的URLcurl --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] 夜晚城市 灯火辉煌",
"lyrics": "[Verse] 夜晚城市 灯火辉煌",
"style": "爵士",
"title": "宁静钢琴",
"model": "V6",
"callBackUrl": "https://example.com/callback",
"vocalGender": "m",
"styleWeight": 0.65,
"weirdnessConstraint": 0.65,
"audioWeight": 0.65,
"variety": 1,
"personaId": "persona_123",
"personaModel": "style_persona",
"duration": 20
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "5c79****be8e"
}
}