anim_add_title
Adds a title bar or overlay to every frame of an existing GIF or video so animations can be labeled with configurable position, font size, and output format.
Instructions
Add a title bar/overlay to every frame of an existing GIF or video.
Args: source: input animation path (.gif, .mp4, .avi, .webm). title: title text (\n creates multiple lines). output: output path (.gif or .mp4); defaults to beside the input with a "_titled" suffix; format follows the output suffix. position: "top" (default) | "bottom" | "overlay-top" | "overlay-bottom". font_size: title font size in px (default 18). fps: output frame rate (default: detected from the source, else 10).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>",
"title": "<title>"
},
"name": "anim_add_title"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| title | Yes | ||
| output | No | ||
| source | Yes | ||
| position | No | top | |
| font_size | No |