importAsset
Import 3D models, images, vectors, video, or audio into an After Effects project, and optionally add the asset directly as a layer in a composition.
Instructions
Import 3D models (.obj, .gltf, .glb), images (.png, .jpg, .psd), vectors/SVG (.svg, .ai), video (.mp4, .mov) or audio into AE project and optionally add as a layer in a composition
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": {
"filePath": "<filePath>"
},
"name": "importAsset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional custom name for footage/layer | |
| scale | No | Initial scale [x, y] or [x, y, z] | |
| compName | No | If specified, immediately adds the imported asset as a layer into this composition | |
| filePath | Yes | Absolute file path of the asset to import | |
| isThreeD | No | Make the added layer a 3D layer (default: false) | |
| position | No | Initial position [x, y] or [x, y, z] | |
| sequence | No | Import as image sequence (default: false) | |
| convertToShape | No | If importing SVG or Illustrator vector, convert to native AE Shape Layer (default: false) |