Background render with aerender
render_with_aerenderRender After Effects compositions in the background with aerender so the app stays usable; returns a job ID to poll for progress.
Instructions
Render a comp in the background with aerender.exe (After Effects' command-line renderer), so After Effects stays usable. aerender reads the SAVED project file: fails when the project is unsaved or has unsaved changes unless saveFirst is given (true = save in place, or an absolute .aep path = save as). Returns a job id; poll get_aerender_status for progress. The extension of outputPath picks the output template like add_to_render_queue.
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": {
"comp": "<comp>",
"outputPath": "<outputPath>"
},
"name": "render_with_aerender"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | Yes | Composition name, 'Folder/Name' path, or item id. | |
| endFrame | No | Last frame to render (inclusive, default: work area end). | |
| extraArgs | No | Extra aerender arguments, e.g. ['-mp'] or ['-continueOnMissingFootage']. | |
| saveFirst | No | true = save the project in place first; a string = save the project as this .aep path first. | |
| outputPath | Yes | Absolute output path, e.g. C:/renders/shot.mp4 (sequences get _[#####] added). | |
| startFrame | No | First frame to render (default: work area start). | |
| outputModuleTemplate | No | Output module template name (see list_render_templates), e.g. 'High Quality', 'H.264 - Match Render Settings - 15 Mbps'. | |
| renderSettingsTemplate | No | Render settings template, e.g. 'Best Settings' or 'Draft Settings'. |