Media
Edit, convert, caption, upscale, and process image, video, and audio files.
import { mindstudio } from '@mindstudio-ai/agent';Operations on media files you already have — image, video, audio — rather than generation from a prompt. These break into editing and cleanup (trim, merge, background and watermark removal, upscaling, face swap), format and extraction (audio out of a video, PDF pages to images, thumbnails, metadata), and captioning. Each takes a media URL and returns a new hosted file, so they compose into a pipeline: extract, trim, merge, subtitle, watermark.
20 entries
addSubtitlesToVideo
Automatically add subtitles to a video
captureThumbnail
Capture a thumbnail from a video at a specified timestamp
convertPdfToImages
Convert each page of a PDF document into a PNG image.
downloadVideo
Download a video file
extractAudioFromVideo
Extract audio MP3 from a video file
generateLipsync
Generate a lip sync video from provided audio and image.
generateStaticVideoFromImage
Convert a static image to an MP4
getMediaMetadata
Get info about a media file
imageFaceSwap
Replace a face in an image with a face from another image using AI.
imageRemoveWatermark
Remove watermarks from an image using AI.
mergeVideos
Merge one or more clips into a single video.
removeBackgroundFromImage
Remove the background from an image using AI, producing a transparent PNG.
trimMedia
Trim an audio or video clip
upscaleImage
Increase the resolution of an image using AI upscaling.
upscaleVideo
Upscale a video file
videoFaceSwap
Swap faces in a video file
videoRemoveBackground
Remove or replace background from a video
videoRemoveWatermark
Remove a watermark from a video
watermarkImage
Overlay a watermark image onto another image.
watermarkVideo
Add an image watermark to a video