ComfyUI > Nodes > ComfyUI-AE-Animation > AE Animation

ComfyUI Node: AE Animation

Class Name

AEAnimation

Category
AE Animation
Author
wallen0322 (Account age: 275days)
Extension
ComfyUI-AE-Animation
Latest Updated
2025-12-23
Github Stars
0.06K

How to Install ComfyUI-AE-Animation

Install this extension via the ComfyUI Manager by searching for ComfyUI-AE-Animation
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-AE-Animation in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

AE Animation Description

AEAnimation node processes AE timeline data, managing layers, keyframes, and effects for animation.

AE Animation:

AEAnimation is a specialized node designed to interpret and process timeline data from Adobe After Effects (AE) within the ComfyUI framework. Its primary function is to read and manage animation layers and keyframes, allowing you to seamlessly integrate complex animation sequences into your projects. By leveraging this node, you can efficiently handle animation data, apply post-processing effects like mask expansion and feathering, and generate frames and masks that are ready for further manipulation or rendering. This node is particularly beneficial for AI artists looking to incorporate dynamic visual elements into their work, as it simplifies the process of working with intricate animation timelines and provides a robust foundation for creative experimentation.

AE Animation Input Parameters:

layers_json

The layers_json parameter is a JSON string that contains the timeline data from Adobe After Effects. It includes information about the animation layers, keyframes, and project settings. This parameter is crucial as it serves as the primary input for the node, dictating how the animation will be processed and rendered. The JSON structure should be well-formed, as any parsing errors could lead to incomplete or incorrect animation outputs. There are no specific minimum or maximum values, but the JSON must adhere to the expected format for successful processing.

mask_expansion

The mask_expansion parameter controls the expansion or contraction of the mask applied to the animation frames. A positive value will dilate the mask, making it larger, while a negative value will erode it, making it smaller. This parameter is essential for refining the edges of the mask to achieve the desired visual effect. The default value is typically 0, indicating no change to the mask size. Adjusting this parameter can significantly impact the final appearance of the animation, especially in scenes where precise masking is required.

mask_feather

The mask_feather parameter determines the amount of feathering applied to the mask edges. Feathering softens the edges, creating a smoother transition between masked and unmasked areas. This parameter is particularly useful for blending the animation seamlessly into the background or other visual elements. The default value is usually 0, meaning no feathering is applied. Increasing the feather value results in a more gradual edge, which can enhance the overall aesthetic of the animation.

AE Animation Output Parameters:

frames

The frames output parameter is a tensor containing the processed animation frames. Each frame is represented as a three-dimensional array, with pixel values normalized between 0 and 1. This output is crucial for rendering the animation, as it provides the visual content that will be displayed or further manipulated. The frames are generated based on the input timeline data and any applied post-processing effects, ensuring that they accurately reflect the intended animation sequence.

masks

The masks output parameter is a tensor containing the masks corresponding to each animation frame. These masks are used to define the visible areas of the frames, allowing for precise control over which parts of the animation are displayed. The masks are generated based on the input parameters, such as mask_expansion and mask_feather, and are essential for achieving the desired visual effects in the final animation.

AE Animation Usage Tips:

  • Ensure that the layers_json input is correctly formatted and contains all necessary animation data to avoid processing errors.
  • Experiment with the mask_expansion and mask_feather parameters to achieve the desired edge effects and blending for your animation.
  • Use the output frames and masks tensors as inputs for further processing or rendering in your animation pipeline.

AE Animation Common Errors and Solutions:

Failed to parse layers_keyframes JSON

  • Explanation: This error occurs when the layers_json input is not properly formatted or contains invalid data.
  • Solution: Verify that the JSON string is correctly structured and includes all required fields. Use a JSON validator to check for syntax errors.

Empty frames or masks output

  • Explanation: This issue arises when the input data does not produce any valid frames or masks, possibly due to incorrect parameter settings or missing data.
  • Solution: Double-check the layers_json input and ensure that all necessary animation data is present. Adjust the input parameters to ensure they align with the intended animation sequence.

AE Animation Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-AE-Animation
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.