Generate SFX from video (sync)
Generate sound effects from a video clip. Provide a video object with either {type: "url", video_url} or {type: "asset", asset_id}. Blocks until complete. Use output to control whether the response contains audio-only files or the original video with SFX mixed in.
Request
- Base URL: https://api.mirelo.ai
- URL: https://api.mirelo.ai/v2/video-to-sfx/v1.6/sync
- Auth: HTTP bearer
Headers
Stable key for one logical sync request, for retrying after an ambiguous response such as a transport timeout. Reuse it only with the identical body. While the original request is in progress, after it completed, or with a different body, the retry returns 409 idempotency_conflict instead of starting another billable request. A failed attempt may run again with the same key. A completed request's key is remembered for 24 to 48 hours after the original request completes, depending on when the daily sweep runs. A 409 retry does not extend this window; reusing the key after it is forgotten starts and bills a new request.
Request body
Example request
{
"video": {
"type": "url",
"video_url": "https://example.com/clip.mp4"
},
"duration_ms": 10000,
"num_samples": 1,
"output": "audio"
}Response
Generated output URLs. Audio files when output is "audio" (default); original video with SFX mixed in when output is "video".
Changes
No recorded changes to this operation across all 1 revision of this API.