This project only exports high level public API. There is no interface for advanced Ae usage, which means that low level interfaces not recommended for using, though they can be called by requiring files directly.
Node.js >= 12.0.0
After Effects
rclone (tested on v1.44)
As of node 12.0.0 you need to use flags
--experimental-modulesand--es-module-specifier-resolution=node
- The OMTemplate which must be used, first must be installed. See how to configure output module in docs.
- If there is no
Aelicense installed, better to use render only mode. - Set required environment variables.
The API description is provided in examples. This will let to have working examples and docs in one place, without code duplication.
// the outputconstoutput={uri: "s3/path/to/output-file"};// the outputconstoutput=[// each element is a single .aep file{// path to project can be nested like 'category/project.aep'project: "/project.aep",// each element is for single compositioncompositions: [{// the composition name which will be used to rendername: "Composition",// the composition's original resolutionheight: 2304,width: 4096,// duration of the compositionduration: 5.37203870537204,// the FPSframeRate: 29.9700012207031,// text, image and video layers found in compositionlayers: [{name: "logo.png",// path relative to template's root// will be used to replace itrelativePath: "/(Footage)/_Project Files/Images/logo.png",// height and width of the footageheight: 1237,width: 1200,// media type (text, image, video)mediaType: "image"},{// text layer// the name which will be used to replace the valuename: "What a Story",// media type (text, image, video)mediaType: "text"}]}]}];// the outputconstoutput=[// each element is a single composition{name: "Composition",// each element is a output request like:previews: [// this we get using `omTemplate: 'CineForm'`, which is video"UserName/Template/_preview/Composition/1080x1920.mov",// this is for `omTemplate: 'JPEG'`, the 90th frame (0090)"UserName/Template/_preview/Composition/1080x1920_0090.jpg"]}];