Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ANIMA_BOOSTER > Anima Latent Image (BSS)

ComfyUI Node: Anima Latent Image (BSS)

Class Name

AnimaLatentImage

Category
BSS/AnimaBooster
Author
BlackSnowSkill (Account age: 665days)
Extension
ANIMA_BOOSTER
Latest Updated
2026-07-04
Github Stars
0.07K

How to Install ANIMA_BOOSTER

Install this extension via the ComfyUI Manager by searching for ANIMA_BOOSTER
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ANIMA_BOOSTER 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

Anima Latent Image (BSS) Description

Automatically aligns image dimensions divisible by 16 for Anima DiT framework, with preset resolutions or custom input.

Anima Latent Image (BSS):

The AnimaLatentImage node is designed to facilitate the creation of latent images compatible with the Anima DiT framework, ensuring that image dimensions are automatically aligned to be divisible by 16. This alignment is crucial because Anima requires image dimensions to be divisible by 16 due to its internal processing constraints, which include VAE spatial compression and spatial patch size requirements. The node provides a user-friendly interface that allows you to select from a variety of preset resolutions or manually input custom dimensions. By automatically adjusting dimensions to meet these requirements, the node helps prevent errors and ensures smooth operation within the Anima framework. This functionality is particularly beneficial for AI artists who want to focus on creative aspects without worrying about technical constraints related to image dimensions.

Anima Latent Image (BSS) Input Parameters:

preset

The preset parameter allows you to choose from a list of predefined image resolutions that are compatible with Anima's requirements. These presets include common aspect ratios such as 1:1, 3:2, 16:9, and others, which are automatically aligned to be divisible by 16. If you select a preset, the node will use the corresponding width and height values, ensuring compatibility without further adjustments. This parameter simplifies the process of selecting appropriate dimensions, especially for users who may not be familiar with the technical requirements of the Anima framework.

width

The width parameter specifies the desired width of the image in pixels. If you choose a custom resolution, this parameter allows you to input any width value. However, the node will automatically adjust the width to the nearest multiple of 16 to ensure compatibility with Anima's requirements. This adjustment helps prevent errors related to incompatible dimensions and ensures that the generated latent image can be processed correctly by the Anima framework.

height

The height parameter specifies the desired height of the image in pixels. Similar to the width parameter, if you choose a custom resolution, you can input any height value. The node will then automatically adjust the height to the nearest multiple of 16 to meet Anima's requirements. This ensures that the generated latent image is compatible with the framework's processing constraints, preventing potential errors and facilitating smooth operation.

batch_size

The batch_size parameter determines the number of latent images to generate in a single batch. This parameter is important for controlling the volume of data processed at once, which can impact performance and resource usage. A larger batch size may improve processing efficiency but could also require more memory. Conversely, a smaller batch size may be more manageable for systems with limited resources. Adjusting this parameter allows you to balance performance and resource constraints according to your specific needs.

Anima Latent Image (BSS) Output Parameters:

samples

The samples output parameter contains the generated latent images in a format compatible with the Anima framework. Each latent image is represented as a multi-dimensional tensor with dimensions corresponding to the batch size, number of channels, and spatial dimensions. The number of channels is fixed at 16, which is a requirement of the Anima framework. This output is crucial for further processing within the Anima pipeline, as it provides the foundational data structure needed for subsequent operations such as image generation or transformation.

width

The width output parameter provides the final width of the generated latent images after any necessary adjustments to ensure divisibility by 16. This value reflects the actual width used in the latent image generation process, which may differ from the input width if adjustments were made. Understanding this output helps you verify that the dimensions are correctly aligned and compatible with Anima's requirements.

height

The height output parameter provides the final height of the generated latent images after any necessary adjustments to ensure divisibility by 16. Similar to the width output, this value reflects the actual height used in the latent image generation process. By checking this output, you can confirm that the dimensions are correctly aligned and suitable for processing within the Anima framework.

Anima Latent Image (BSS) Usage Tips:

  • Always select a preset resolution if possible, as this ensures compatibility with Anima's requirements without manual adjustments.
  • When using custom dimensions, be aware that the node will automatically adjust them to the nearest multiple of 16, which may slightly alter your intended aspect ratio.
  • Consider the batch_size parameter carefully, balancing between processing efficiency and available system resources to optimize performance.

Anima Latent Image (BSS) Common Errors and Solutions:

AssertionError: H,W should be divisible by spatial_patch_size 2

  • Explanation: This error occurs when the input dimensions are not divisible by the required spatial patch size, which is a constraint of the Anima framework.
  • Solution: Ensure that your input dimensions are divisible by 16, either by selecting a preset resolution or allowing the node to automatically adjust custom dimensions.

Anima Latent Image (BSS) Related Nodes

Go back to the extension to check out more related nodes.
ANIMA_BOOSTER
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.

Anima Latent Image (BSS)