ComfyUI > Nodes > danbot-comfy-node > Danbot V2408 Auto Aspect Ratio Tag

ComfyUI Node: Danbot V2408 Auto Aspect Ratio Tag

Class Name

DanbotV2408AutoAspectRatioTag

Category
prompt/Danbooru Tags Translator
Author
p1atdev (Account age: 2255days)
Extension
danbot-comfy-node
Latest Updated
2026-03-03
Github Stars
0.03K

How to Install danbot-comfy-node

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

Danbot V2408 Auto Aspect Ratio Tag Description

Automatically assigns aspect ratio tags to images using the v2408 rule for AI art categorization.

Danbot V2408 Auto Aspect Ratio Tag:

The DanbotV2408AutoAspectRatioTag node is designed to automatically calculate and assign an aspect ratio tag to an image based on the v2408 rule. This node is particularly useful for AI artists who need to categorize images by their aspect ratios, ensuring that the generated images adhere to specific visual standards or requirements. By leveraging the v2408 model, this node provides a streamlined approach to determining whether an image is too tall, too wide, or falls within other predefined aspect ratio categories. This functionality is crucial for maintaining consistency in image generation tasks, especially when working with large datasets or when specific aspect ratios are required for artistic or technical reasons.

Danbot V2408 Auto Aspect Ratio Tag Input Parameters:

width

The width parameter specifies the width of the image in pixels. It plays a crucial role in determining the aspect ratio of the image when combined with the height. The default value is set to 832 pixels, and it can be adjusted in increments of 32 pixels. This flexibility allows you to fine-tune the width to match specific requirements or preferences for your image generation tasks.

height

The height parameter defines the height of the image in pixels. Similar to the width, it is essential for calculating the aspect ratio. The default height is 1152 pixels, and it can also be modified in steps of 32 pixels. Adjusting the height allows you to control the vertical dimension of the image, ensuring that the aspect ratio aligns with your desired output.

Danbot V2408 Auto Aspect Ratio Tag Output Parameters:

aspect_ratio_tag

The aspect_ratio_tag output provides a descriptive label that categorizes the image based on its aspect ratio. This tag can indicate whether the image is too_tall, tall_wallpaper, tall, square, wide, wide_wallpaper, or too_wide. This categorization helps in organizing and selecting images that fit specific aspect ratio criteria, which is particularly useful in automated workflows or when curating image collections.

width

The width output returns the width of the image as an integer. This value is the same as the input width and serves as a confirmation of the dimension used in the aspect ratio calculation.

height

The height output returns the height of the image as an integer. Like the width, this value matches the input height and confirms the dimension used in the aspect ratio calculation.

Danbot V2408 Auto Aspect Ratio Tag Usage Tips:

  • Ensure that the width and height values are set according to the desired aspect ratio category you aim to achieve. Adjusting these values can help you target specific tags like square or wide.
  • Use the aspect ratio tag output to filter or sort images in your workflow, allowing for more efficient management of image collections based on their visual characteristics.

Danbot V2408 Auto Aspect Ratio Tag Common Errors and Solutions:

Invalid aspect ratio calculation

  • Explanation: This error may occur if the width or height values are set to zero or negative numbers, leading to an invalid aspect ratio calculation.
  • Solution: Ensure that both width and height are positive integers and greater than zero. Adjust the values to meet the minimum requirements.

Unexpected aspect ratio tag

  • Explanation: The output tag may not match your expectations if the width and height values do not align with the desired aspect ratio category.
  • Solution: Double-check the input values for width and height. Adjust them incrementally to achieve the desired aspect ratio tag, considering the predefined categories like square or wide.

Danbot V2408 Auto Aspect Ratio Tag Related Nodes

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

Danbot V2408 Auto Aspect Ratio Tag