ReferenceAsk
Remy Reference/agent/generateLipsync
?

generateLipsync

Generate a lip sync video from audio and an image or video.
mindstudio.generateLipsync(input) → Result

Drives a face in an image to match an audio track, returning a talking-head video. Pair it with textToSpeech to make a still portrait speak generated narration.

Parameters
intermediateAsset
boolean
When true, the asset is created but hidden from the user's gallery (tagged as intermediate)
addWatermark
boolean
Whether to add a MindStudio watermark to the generated video. The watermark is a product mark on assets generated in the MindStudio UI. A step run directly via the SDK or API is producing the app's own asset, so it is never watermarked and
lipsyncModelOverride
object
The lip sync model to run and its config, whose keys come from the model: the media (`image` or `video`, and `audio`) and the model's options
Call from a method
import { mindstudio } from '@mindstudio-ai/agent';

const result = await mindstudio.generateLipsync({});