Reference

mixAudioIntoVideo

Mix an audio track into a video
mindstudio.mixAudioIntoVideo({ videoUrl, audioUrl, options }) → Result

Mix an audio track into a video

Parameters
videoUrl
string
RequiredURL of the source video
audioUrl
string
RequiredURL of the audio track to mix into the video
options
object
RequiredAudio mixing options
intermediateAsset
boolean
When true, the asset is created but hidden from the user's gallery (tagged as intermediate)
Call from a method
import { mindstudio } from '@mindstudio-ai/agent';

const result = await mindstudio.mixAudioIntoVideo({
  videoUrl: /* ... */,
  audioUrl: /* ... */,
  options: /* ... */
});