replace_section
Replace a specific time range in a Suno audio track with AI-generated content using a prompt and context.
Instructions
Replace a time range in a Suno track with new AI-generated content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| wait | No | Set false to submit and return immediately with the task_id (async mode) — then poll with check_task and fetch with download_result. Recommended for long generations to avoid client-side watchdog timeouts. | |
| title | No | ||
| prompt | Yes | Prompt for the replacement section | |
| taskId | Yes | Task ID of the original Suno generation | |
| audioId | Yes | Audio ID from sunoData | |
| filename | No | ||
| fullLyrics | No | Full lyrics for context | |
| infillEndS | Yes | End time in seconds | |
| download_dir | No | Absolute directory to save the file(s) into (created if missing). Defaults to the server's kie/assets/raw/. Must be absolute — the MCP server's working directory is not the caller's. | |
| infillStartS | Yes | Start time in seconds | |
| negativeTags | No | ||
| max_wait_seconds | No | Override the blocking-mode polling budget in seconds (default: audio 300). Ignored when wait=false. |