Suno Section Replacement API Documentation
Use the Suno section replacement API to rewrite or regenerate specific parts of a song without rebuilding the entire track from scratch.
- Set infill_lyrics to OO (the new lyrics to insert).
- Set prompt to BB [Verse 2]OO[Chorus]DD (include part of the original lyrics before and after OO to form the context).
Authorizations
You can obtain your API key from the TTAPI Dashboard.
Body
Audio ID
Replacement start time, in seconds.
Replacement end time, in seconds.
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 Context lyrics.
New lyrics.
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).
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