anim_convert
Convert animation files between GIF and MP4 formats, with options to set frame rate or limit maximum frames.
Instructions
Convert an animation between formats (e.g. GIF -> MP4 or MP4 -> GIF).
Args: source: input animation path. output: output path; suffix decides the container (.gif or .mp4). fps: output frame rate (default: detected from the source, else 10). max_frames: use at most this many frames.
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>",
"output": "<output>"
},
"name": "anim_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| output | Yes | ||
| source | Yes | ||
| max_frames | No |