Generate After Effects JSX
ae_generate_jsxGenerate an ExtendScript JSX file to open an After Effects template, replace footage and text layers with provided assets and text, and optionally save as a new project.
Instructions
Generate an ExtendScript JSX file that opens an AE template and replaces footage/text layers.
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": {
"projectPath": "<projectPath>",
"outputJsxPath": "<outputJsxPath>"
},
"name": "ae_generate_jsx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | AEP path under VIDEO_FACTORY_ROOT | |
| outputJsxPath | Yes | JSX output path under VIDEO_FACTORY_ROOT | |
| mainCompName | No | MAIN | |
| replacements | No | Map: AE layer name -> asset path under VIDEO_FACTORY_ROOT | |
| textLayers | No | Map: AE text layer name -> new text | |
| saveAsPath | No | Optional new AEP path under VIDEO_FACTORY_ROOT |