Create a composition
ae_create_compCreate a new composition and open it in the timeline. Configure width, height, duration, frame rate, and optional background color.
Instructions
Create a new composition and open it in the timeline. Note that backgroundColor is a preview convenience only — After Effects never renders it, so add a solid layer if the background needs to appear in ae_save_frame output or a final render.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Composition name. | |
| open | No | Open the comp in the timeline. Default: true. | |
| width | No | Pixels. Default: 1920. | |
| height | No | Pixels. Default: 1080. | |
| duration | No | Seconds. Default: 10. | |
| frameRate | No | Frames per second. Default: 30. | |
| pixelAspect | No | Pixel aspect ratio. Default: 1. | |
| backgroundColor | No | Color as "#rrggbb", or [r, g, b] in 0-1 or 0-255. |