Music provider that generates the track from the assembled cut (exact duration, licensed)

Author: cindyxu1030Created Jul 10, 2026Updated Sep 29, 2026

Disclosure up front: I work on Sonilo, a licensed video-to-music API, so this proposal involves our product.

OpenMontage already auto-sources royalty-free music and detects energy offsets, and #170 adds a local MusicGen provider. Both pick or generate music first, then fit it to the timeline afterwards. Issue #218 documents where that hurts: window selection, exact duration, manual review labels.

A different provider type would remove that glue work: hand the assembled cut to the model and get back an original track generated from the video itself. Duration matches natively because the model saw the timeline. Every track is licensed and safe for commercial use (terms apply), which matters for users shipping client work.

It would slot in as one more music provider alongside the existing ones, enabled by an API key the same way the ElevenLabs key works today. Recipe for the general pattern: https://github.com/cindyxu1030/sonilo-video-to-music-cookbook

Happy to build the provider as a PR if you're open to it.