V6 (default), V6_WILD, V6_MINIV5_5, V5, V4_5PLUS, V4_5ALL, V4_5, V4audioId) is enough to generate. lyrics, prompt, style, and title are optional.V6, V6_WILD, V6_MINI. Deprecated: V4_5ALL, V4, V4_5, V4_5PLUS, V5, V5_5.instrumental (boolean, optional) determines whether to extend the track as instrumental music and defaults to false.instrumental is false or omitted: use lyrics as the lyrics when provided; otherwise use prompt. Both are optional.instrumental is true: do not provide prompt, lyrics, or vocalGenderprompt is optional and is treated as lyrics. When lyrics is also provided, lyrics takes priority and prompt is not used as lyrics.lyrics is optional. It takes priority over prompt as the lyrics. If lyrics is omitted, prompt is used as the lyrics.continueAt: the time point in seconds from which to start extending (must be greater than 0 and less than the source audio duration). Required.taskId is optional and can be provided to identify the original generation taskprompt max 3000, style max 200, title max 80prompt max 5000, style max 1000, title max 80prompt max 5000, style max 1000, title max 100prompt and lyrics max 5000, style max 1000, title max 100prompt. If omitted, prompt is used as the lyrics. For V6, V6_WILD, and V6_MINI: maximum 5000 characters.false. When true, prompt, lyrics, and vocalGender must not be provided.m (male), f (female). Must not be provided when instrumental is true.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 for Generate Persona IDs, or voice_persona for Suno Voice IDs.{
"instrumental": false,
"audioId": "e231****-****-****-****-****8cadc7dc",
"taskId": "5c79****be8e",
"lyrics": "[Chorus] Brighter lights, we keep going on",
"prompt": "[Verse] City hums under neon rain",
"style": "Indie Pop",
"title": "Evening Sky (Extended)",
"continueAt": 60,
"model": "V6",
"callBackUrl": "https://example.com/callback",
"vocalGender": "m",
"styleWeight": 0.61,
"weirdnessConstraint": 0.72,
"audioWeight": 0.65,
"variety": 1
}curl --location 'https://apibox.erweima.ai/api/v1/generate/extend' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"instrumental": false,
"audioId": "e231****-****-****-****-****8cadc7dc",
"taskId": "5c79****be8e",
"prompt": "[Verse] City hums under neon rain",
"lyrics": "[Chorus] Brighter lights, we keep going on",
"style": "Classical",
"title": "Peaceful Piano Extended",
"continueAt": 60,
"personaId": "persona_123",
"personaModel": "style_persona",
"model": "V6",
"negativeTags": "Relaxing Piano",
"callBackUrl": "https://api.example.com/callback",
"vocalGender": "m",
"styleWeight": 0.65,
"weirdnessConstraint": 0.65,
"audioWeight": 0.65,
"variety": 1
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "5c79****be8e"
}
}