Song Inpaint
song-inpaintEdit specific sections of songs. Takes an audio file and regenerates a specific section defined by start and end times. Returns a request ID that can be used with fetch-audio to retrieve results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Array of genre/style tags. | |
| lyrics | No | Lyrics for the regenerated section. | |
| prompt | No | Optional text description for the regenerated section. | |
| webhook | No | URL to receive webhook notification when inpainting completes. | |
| model_id | Yes | The model ID to use for song inpainting. | |
| sections | Yes | Array of 2 numbers: [start_time, end_time] in seconds for the section to regenerate. | |
| track_id | No | Custom tracking ID for the request. | |
| init_audio | Yes | URL or base64 string of the audio file to edit. | |
| instrumental | No | Generate instrumental only (no vocals). | |
| selection_crop | No | Return only the regenerated section. |