mirelo_inpaint_audio_with_video_submit
Replace a specific audio segment within a video by conditioning on the video content. Submit audio and video sources along with a time segment to generate replacement audio, receiving a job ID to track progress.
Instructions
Submit an asynchronous Inpaint_Audio (with-video) job that replaces a bounded audio segment conditioned by a video, returning a job identifier to poll with mirelo_job_status. Requires audio and video Input_Sources and a segment. Model v1.6 only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio | Yes | The audio Input_Source to inpaint: either { type: "url", audio_url } or { type: "asset", asset_id }. | |
| video | Yes | The conditioning video Input_Source: either { type: "url", video_url } or { type: "asset", asset_id }. | |
| prompt | No | Optional text prompt guiding the replacement audio. | |
| segment | Yes | The bounded audio span to replace. | |
| num_samples | No | Number of samples to generate; integer >= 1. Defaults to 1. | |
| model_version | No | Model version. Inpaint_Audio is v1.6-only; defaults to "v1.6". |