Video to Music
video_to_musicWrite a soundtrack for a video from the video itself, with ElevenLabs Video to Music: it watches the cuts, pace and mood and scores them. Use it when the customer asks for music made for their video ("write a soundtrack for this", "score my clip"). When they bring their own song (for example from Suno), use that song instead and do not call this. Pass the video in video_url (the file id or name from this chat, or an https link), or video_id for a video made in Switch (its job id from list_my_videos; up to 10 videos in video_urls, all together up to 200 MB and 10 minutes). Optional: description (the music in words, up to 4100 characters), tags (up to 10 styles, like "cinematic", "lofi"), add_sound_effects (sound effect cues from the picture), use_video_sound_as_reference (its genre, tempo, instruments, mood and arc from the video's own sound), separate_tracks (the music and the effects as two files), video_seconds (the video's length, for the hold). HOUSE RULE: only make music when the customer asked for music. Billed like generate_music, per 10 seconds of the track (a token quote applies). Returns audio_url, duration_seconds and generation_id, and effects_track with separate_tracks. It does not put the music on the video: add_sound_to_video or the Editor does that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Optional styles, up to 10. | |
| model_id | No | Optional ElevenLabs model id; leave out for their default. | |
| video_id | No | A video made in Switch, by its job id (list_my_videos, get_video_status); its stored file is used. | |
| video_url | No | The video in this chat by its file id or name, or an https link. | |
| video_urls | No | Optional, several videos scored as one, in order (up to 10). | |
| description | No | Optional. The music in plain words: genre, mood, instruments, how it builds. | |
| video_seconds | No | Optional. The video's length in seconds, so the right amount is held before it starts. | |
| separate_tracks | No | Optional. true returns the music and the sound effects as two files. | |
| add_sound_effects | No | Optional. true adds sound effect cues taken from the picture. | |
| use_video_sound_as_reference | No | Optional. true takes the genre, tempo, instruments, mood and arc from the video's own sound. |