?
generateStaticVideoFromImage
Convert a static image to an MP4
mindstudio.generateStaticVideoFromImage({ imageUrl, duration }) → Result
Wraps a still image into an MP4 of a set length, with no motion added — the quick way to satisfy a platform that requires video when your only source is a single frame.
Parameters
imageUrl
string
RequiredURL of the source image to convert to video
duration
string
RequiredDuration of the output video in seconds
Call from a method
import { mindstudio } from '@mindstudio-ai/agent'; const result = await mindstudio.generateStaticVideoFromImage({ imageUrl: /* ... */, duration: /* ... */ });