v1

latestOpenAPI 3.1.02026-07-2611077199.5 KB

post/suno/v1/replace-section

Request body

music_idstring required

Audio ID

infill_start_snumber required

Replacement start time, in seconds.

infill_end_snumber required

Replacement end time, in seconds.

promptstring

Context lyrics.

infill_lyricsstring

New lyrics.

mv'chirp-v5-5' | 'chirp-v5' | 'chirp-v4-5+' | 'chirp-v4-5' | 'chirp-v4-5-all' | 'chirp-v4' | 'chirp-v3-5' | 'chirp-v3-0' required

Model to use.

titlestring

Music title.

Used in custom mode (custom=true). Maximum length: 80 characters.

tagsstring

Music style or genre.

Used in custom mode (custom=true). Maximum length: 1000 characters.

negative_tagsstring

Music styles or genres that should be excluded from generation.

Used in custom mode (custom=true).

isStorageboolean

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
hookUrlstring

Callback notification URL

Example request

{
  "tags": "rock, blues, hip-hop, r&b"
}

Response

Request successful

statusstring required
messagestring required
dataobject required

Example response

{
  "status": "SUCCESS",
  "message": "success",
  "data": {
    "jobId": "jobId"
  }
}