create_video_from_images
Convert a sequence of images into a video file using FFmpeg processing. Specify input image patterns, output path, framerate, and codec options to generate videos from still frames.
Instructions
Create a video from a sequence of images
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": {
"inputPattern": "<inputPattern>",
"outputPath": "<outputPath>"
},
"name": "create_video_from_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputPattern | Yes | Pattern for input images (e.g., 'img%03d.jpg' or 'folder/*.png') | |
| outputPath | Yes | Path for the output video file | |
| framerate | No | Frames per second (default: 25) | |
| codec | No | Video codec to use (default: libx264) | |
| pixelFormat | No | Pixel format (default: yuv420p) | |
| extraOptions | No | Additional FFmpeg options |