createCamera
Add 1-node or 2-node 3D camera layers to After Effects comps with focal presets, depth of field, aperture, and optional camera rig.
Instructions
Create a 1-node or 2-node 3D camera layer with focal presets, depth of field, aperture, and optional camera rig
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "createCamera"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Camera layer name (default: "Camera 1") | |
| zoom | No | Camera zoom value in pixels (overrides focalLength) | |
| preset | No | Focal length preset (e.g. "35mm", "50mm") | |
| rigName | No | Name of the camera controller null (default: "Camera Controller") | |
| aperture | No | Aperture size in pixels (controls background blur amount) | |
| compName | No | Composition name (defaults to active comp) | |
| position | No | 3D position [x, y, z] | |
| blurLevel | No | Blur level percentage (default: 100) | |
| createRig | No | Automatically create a 3D Orbit Null rig parented to the camera | |
| irisShape | No | Iris bokeh shape | |
| rotationX | No | X rotation in degrees | |
| rotationY | No | Y rotation in degrees | |
| rotationZ | No | Z rotation in degrees | |
| cameraType | No | Camera type: "one-node" (free rotation without target point) or "two-node" (aims at Point of Interest, default) | |
| centerPoint | No | Initial center point [x, y] (defaults to comp center) | |
| focalLength | No | Custom focal length in mm | |
| orientation | No | 3D orientation [x, y, z] in degrees | |
| depthOfField | No | Enable/disable Depth of Field blur | |
| focusDistance | No | Focus distance in pixels (defaults to distance between camera and Point of Interest) | |
| pointOfInterest | No | 3D Point of Interest [x, y, z] (for two-node camera) |