anim_preview
Extract a preview image from an animation or frame directory and optionally build a contact sheet grid to visually QA frames.
Instructions
Extract a preview image of an animation (first frame and/or contact sheet).
Args:
source: animation path (.gif/.mp4) or frames directory.
output: output PNG path (auto-generated when omitted).
contact_sheet: true = also build a grid montage of up to max_frames
frames (useful to visually QA the animation).
columns: contact sheet column count (default 4).
max_frames: maximum frames in the contact sheet (default 24).
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>"
},
"name": "anim_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | No | ||
| source | Yes | ||
| columns | No | ||
| max_frames | No | ||
| contact_sheet | No |