Build your request
Only the parameters that apply to music-to-video are shown. Set values on the left, copy the payload on the right.
source.promptWhat the video should be about: the AI writes the script. For music-to-video it is an optional creative brief for the visual storyline. For lyrics-to-video, a description of the song to write (10 to 500 characters). For song-ad, the ad to write: the product or its page, the audience and the outcome. For character-swap, optional instructions on top of the swap (an outfit, ...).
source.urlrequiredThe source content URL: audio file, video file, YouTube link, Spotify track, article page, or PDF depending on the workflow. http(s) is enforced; bare domains get https:// prepended. For character-swap, the video whose people are replaced (a file URL, or a YouTube, TikTok or Instagram link).
{
"workflow": "music-to-video",
"source": {
"url": "https://www.youtube.com/watch?v=ip30oRP9BP0"
}
}Good to know
- →The source track is the audio; the music block controls sync (music.syncWith) and visuals (music.soundWave).
- →source.prompt is an optional creative brief for the visual storyline.
- →music.enableLyricsLipSync + music.lipSyncFrequency animate characters singing the lyrics.