mirelo_video_to_sfx_generate
Generate a synchronized sound track for a video by providing a video source and duration. Returns URLs to the resulting audio or video output.
Instructions
Generate a synced sound track for a supplied video synchronously and return the result URLs. Requires a video Input_Source and duration_ms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | Required video Input_Source: { "type": "url", "video_url": <public url> } or { "type": "asset", "asset_id": <asset id> }. | |
| output | No | Optional output kind: "audio" or "video". Defaults to "audio". | |
| duration_ms | Yes | Required. Integer milliseconds in [1000, 600000]. | |
| num_samples | No | Optional integer >= 1. Defaults to 1. | |
| model_version | No | Model version: v1.5 or v1.6. Defaults to v1.6 when omitted. | |
| start_offset_ms | No | Optional non-negative integer offset. Defaults to 0. |