---
title: "POST /suno/v1/replace-section"
method: POST
path: "/suno/v1/replace-section"
---

# POST /suno/v1/replace-section

`POST /suno/v1/replace-section`

## Request body

- object
  - `music_id` string, required — Audio ID
  - `infill_start_s` number, required — Replacement start time, in seconds.
  - `infill_end_s` number, required — Replacement end time, in seconds.
  - `prompt` string — Context lyrics.
  - `infill_lyrics` string — 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.
  - `title` string — Music title. Used in custom mode (custom=true). Maximum length: 80 characters.
  - `tags` string — Music style or genre. Used in custom mode (custom=true). Maximum length: 1000 characters.
  - `negative_tags` string — Music styles or genres that should be excluded from generation. Used in custom mode (custom=true).
  - `isStorage` boolean — 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
  - `hookUrl` string — Callback notification URL

## Response `200`

Request successful

- object
  - `status` string, required
  - `message` string, required
  - `data` object, required

## Other responses

- `400` — Parameter error
- `401` — Authorization failed

---

[API](https://skmtc.net/ttapi/apis/flowmusic-api-docs.md) · [All operations](https://skmtc.net/ttapi/apis/flowmusic-api-docs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ttapi/flowmusic-api-docs/versions/f27f8a59dbd0/schema)
