Skip to main content
Glama

overlay_image

Add images to videos with precise timing, positioning, and transparency control for creating watermarks, logos, or annotations.

Instructions

Overlay an image on top of a video with timing control.

Args: input_video_path (str): Path to background video. overlay_image_path (str): Path to image file. output_filename (str): Output video filename (saved inside VIDEO_OVERLAY_PATH). positioning (Literal): Where to place overlay. scale (tuple | None): (width, height) to resize image before placing. keep_audio (bool): Whether to keep background audio. opacity (float | None): Transparency level (0–1). None = no alpha applied. start_time (float): When to start showing overlay (seconds). duration (float | None): How long to show overlay (seconds). None = until end of video.

Returns: str: Path to generated video.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_video_pathYes
overlay_image_pathYes
output_filenameNooutput.mp4
positioningNotop_right
scaleNo
keep_audioNo
opacityNo
start_timeNo
durationNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yubraaj11/ffmpeg-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server