V6 (default), V6_WILD, V6_MINIV5_5, V5, V4_5PLUS, V4_5ALL, V4_5, V4taskId and audioId are requireduploadUrl and model must NOT be provideduploadUrl and model are requiredtaskId and audioId must NOT be providedm (male), f (female)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.infillStartS must be less than infillEndS10.50 seconds{
"taskId": "2fac****9f72",
"audioId": "e231****-****-****-****-****8cadc7dc",
"prompt": "A calm and relaxing piano track.",
"lyrics": "[Chorus]\nModified lyrics for this section",
"tags": "Jazz",
"title": "Relaxing Piano",
"negativeTags": "Rock",
"infillStartS": 10.5,
"infillEndS": 20.75,
"fullLyrics": "[Verse 1]\nOriginal lyrics here\n[Chorus]\nModified lyrics for this section\n[Verse 2]\nMore original lyrics",
"vocalGender": "m",
"styleWeight": 0.61,
"weirdnessConstraint": 0.72,
"audioWeight": 0.65,
"variety": 1,
"callBackUrl": "https://example.com/callback"
}prompt and tagscurl --location 'https://apibox.erweima.ai/api/v1/generate/replace-section' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"taskId": "2fac****9f72",
"audioId": "e231****-****-****-****-****8cadc7dc",
"prompt": "A calm and relaxing piano track.",
"tags": "Jazz",
"title": "Relaxing Piano",
"negativeTags": "Rock",
"infillStartS": 10.5,
"infillEndS": 20.75,
"fullLyrics": "[Verse 1]\nOriginal lyrics here\n[Chorus]\nModified lyrics for this section\n[Verse 2]\nMore original lyrics",
"callBackUrl": "https://example.com/callback"
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "5c79****be8e"
}
}