Tools reference
Layers
Add, remove, configure, and manage every layer type — solids, nulls, text, shape, adjustment, footage, camera, and light.
batch_set_layer_property, batch_rename_layers, and batch_set_transform are in the Batch Operations section.Add layers
add_solid_layerAdd a solid-color layer with specified color, name, and dimensions.
add_null_layerAdd a null object layer (invisible, used for parenting and expressions).
add_shape_layerAdd an empty shape layer to a composition.
add_text_layerAdd a new text layer with specified content, font, size, and color.
add_adjustment_layerAdd an adjustment layer that applies effects to all layers below it.
add_footage_layerAdd a footage item from the project panel to a composition.
add_camera_layerAdd a camera layer with specified type (One-Node or Two-Node) and preset.
add_light_layerAdd a light layer with specified type: Ambient, Spot, Point, or Parallel.
Manage layers
delete_layersDelete one or more layers from a composition by index or name.
duplicate_layerDuplicate a layer within a composition.
rename_layerRename a layer.
reorder_layerMove a layer to a new index position in the layer stack.
split_layerSplit a layer at a specified time, creating two layers.
parent_layerSet or clear the parent of a layer (for hierarchical transforms).
clone_layer_to_compCopy a layer from one composition into another.
sequence_layersSequence multiple layers end-to-end in time with an optional overlap.
precompose_layersPre-compose selected layers into a new composition.
Configure layers
set_layer_timingSet a layer's in-point, out-point, and start time.
set_layer_switchesToggle layer switches: solo, shy, motion blur, 3D, guide, lock.
set_layer_qualitySet layer quality: Best, Draft, or Wireframe.
set_layer_samplingSet layer sampling method: Bilinear or Bicubic.
set_layer_collapseEnable or disable the Collapse Transformations / Continuously Rasterize switch.
set_blending_modeSet a layer's blending mode (Normal, Multiply, Screen, Add, Overlay, etc.).
get_layer_blend_modeGet the current blending mode of a layer.
set_environment_layerToggle a layer as an environment layer for 3D scenes.
auto_orient_layerSet auto-orientation: none, along path, or towards camera.
set_track_matteSet a layer's track matte source and type (Alpha, Luma, inverted variants).
set_frame_blend_modeSet the frame blending mode on a footage layer.
Inspect layers
get_layer_infoGet detailed information about a specific layer including transform values, switches, and properties.
list_layersList all layers in a composition with their index, name, type, and timing.
list_lights_camerasList all light and camera layers in a composition.
get_layer_track_matteGet the track matte source and type of a layer.
get_layer_audioGet the audio properties of a layer.
set_layer_audioSet audio properties on a layer: audio levels and waveform.