Endpoint
task_id. Poll Get Task for results.
Replaces a specified time range within an existing clip with new AI-generated content while keeping the rest of the track intact. Useful for fixing or improving a specific section.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
clip_id | string | Yes | Clip ID of the source track. |
infill_start_s | float | Yes | Start time (seconds) of the section to replace. |
infill_end_s | float | Yes | End time (seconds) of the section to replace. |
prompt | string | No | Description or lyrics for the replacement section. Supports Chinese and English. |
tags | string | No | Style tags (e.g. "摇滚 吉他" or "rock guitar"). |
mv | string | No | Model version override. |
callback_url | string | No | Webhook URL for completion notification. See Webhooks. |
retention_days | integer | No | Days to retain audio files. Default 7. |