mirelo_inpaint_audio_generate
Replace a specific segment of an audio clip with generated audio guided by an optional text prompt. Returns the resulting audio URLs.
Instructions
Synchronously replace a bounded segment of an audio clip with newly generated audio (Inpaint_Audio, audio-only). Returns the resulting audio URL(s).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio | Yes | The audio Input_Source to inpaint: either { type: "url", audio_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". |