pencil2d_export
Render Pencil2D .pclx projects to MP4, animated GIF, or image sequences for preview, delivery, or frame-by-frame export.
Instructions
Render a Pencil2D animation project to video (MP4), animated GIF, or image sequence using the Pencil2D AppImage CLI.
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": {
"project_path": "<project_path>",
"output_path": "<output_path>"
},
"name": "pencil2d_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Framerate override for export. | |
| width | No | Optional output width in pixels. | |
| camera | No | Name of camera layer to use. | |
| height | No | Optional output height in pixels. | |
| timeout | No | Export execution timeout in seconds (default 180). | |
| end_frame | No | Last frame to include in export. | |
| output_path | Yes | Output rendered file (e.g., animation.mp4, preview.gif, frames.png). | |
| start_frame | No | First frame to include in export. | |
| project_path | Yes | Path to the .pclx file. | |
| transparency | No | Enable transparency when exporting images or formats that support it. | |
| force_pure_python | No | Force using internal pure-Python compositor without invoking AppImage CLI (supports GIF, PNG sequence, MP4 via ffmpeg). |