?
insertVideoClips
Insert b-roll clips into a base video at a timecode, optionally with an xfade transition.
mindstudio.insertVideoClips({ baseVideoUrl, overlayVideos }) → Result
Insert b-roll clips into a base video at a timecode, optionally with an xfade transition.
Parameters
baseVideoUrl
string
RequiredURL of the base video to insert clips into
overlayVideos
object[]
RequiredArray of overlay clips to insert at specified timecodes
transition
string
Optional xfade transition effect name between clips
transitionDuration
number
Duration of the transition in seconds
useOverlayAudio
boolean
When true, uses audio from the overlay clips instead of the base video audio during inserts
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.insertVideoClips({ baseVideoUrl: /* ... */, overlayVideos: /* ... */ });