captureThumbnail
Capture a thumbnail from a video at a specified timestamp
mindstudio.captureThumbnail({ videoUrl, at }) → Result
Grabs a single frame from a video at a given timestamp and returns it as an image — a poster frame or preview still.
Parameters
videoUrl
string
RequiredURL of the source video to capture a frame from
at
object
RequiredTimestamp in seconds to capture the frame, or 'last' for the final frame
Call from a method
import { mindstudio } from '@mindstudio-ai/agent'; const result = await mindstudio.captureThumbnail({ videoUrl: /* ... */, at: /* ... */ });