Change video music
set_video_musicEnable or remove added music while preserving source speech. Use a music_staging_key from import_asset or one of these tracks: bright-house (upbeat), lofi-desk (calm), tech-forward (tech), documentary-pulse (story), gym-phonk (energetic), acoustic-morning (warm), soft-piano (emotional), funk-pop (fun), night-suspense (mystery), rise-up (inspiring). level_db is relative to source audio. beat_sync is supported only for source-shot action montages; other clocks refuse it. Read get_project_context first and pass its base_version and selected output_id. Saves a playable project; request a file separately with check_video with_download. Unsupported changes refuse without rebuilding. Preserve operation_id and exact inputs on retries. Uses the account's direct-edit allowance. Cost: Free: no credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track | No | ||
| enabled | Yes | ||
| level_db | No | ||
| video_id | Yes | The video id from list_videos. | |
| beat_sync | No | ||
| output_id | No | One output (a hook, a Short, a format) from check_video; the main film when left out. | |
| base_version | No | The version the edits are for; the current one when left out. | |
| operation_id | No | A stable ID for this request. Preserve it on retries. Use a new ID only for a deliberate new request. | |
| music_staging_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| cost | No | ||
| error | No | ||
| state | No | ||
| status | No | ||
| dry_run | No | ||
| message | No | ||
| plan_id | No | ||
| style_id | No | ||
| video_id | No | ||
| available | No | ||
| import_id | No | ||
| output_id | No | ||
| studio_url | No | ||
| version_id | No |