Export a frame as PNG
export_frameSave one composition frame as a full-resolution PNG at a given path, with transparent background by default or optional flattening via comp or color background.
Instructions
Save one frame of a composition as a full-resolution PNG file at a given path (no image is returned, only path and size). Transparent background by default (alpha kept); pass background='comp' or a color to flatten it.
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": {
"path": "<path>"
},
"name": "export_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| path | Yes | Absolute output path ending in .png (missing folders are created). | |
| time | No | Frame time. Default: the comp's current time. | |
| overwrite | No | Replace an existing file (default true). | |
| background | No | 'transparent' (default), 'comp' or '#RRGGBB'. |