ComfyUI > Nodes > Comfy_Felsirnodes > Latent Aspect

ComfyUI Node: Latent Aspect

Class Name

Latent Aspect

Category
Felsir
Author
Felsir (Account age: 3861days)
Extension
Comfy_Felsirnodes
Latest Updated
2026-03-10
Github Stars
0.02K

How to Install Comfy_Felsirnodes

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

Latent Aspect Description

Adjusts latent image aspect ratios for specific model types and predefined visual formats.

Latent Aspect:

The Latent Aspect node is designed to adjust the aspect ratio of latent images based on the specified model type and desired aspect ratio. This node is particularly useful for AI artists who want to ensure their generated images conform to specific visual dimensions, enhancing the aesthetic appeal and suitability for various display formats. By selecting from a range of predefined aspect ratios such as Vertical, Portrait, Square, Photo, Landscape, Widescreen, and Cinematic, you can easily tailor the output to fit different artistic or practical needs. The node automatically calculates the appropriate dimensions and aspect ratio factor, ensuring that the resulting image maintains the intended proportions without manual adjustments. This functionality is crucial for creating consistent and visually appealing outputs across different projects and platforms.

Latent Aspect Input Parameters:

modeltype

The modeltype parameter specifies the type of model being used, which influences the available aspect ratios and their corresponding dimensions. It accepts options such as "SDXL" and others, determining the set of aspect ratios that can be applied. This parameter is crucial as it ensures that the aspect ratio adjustments are compatible with the specific model's capabilities and requirements.

aspect

The aspect parameter allows you to choose the desired aspect ratio for the latent image. Options include "Vertical," "Portrait," "Square," "Photo," "Landscape," "Widescreen," and "Cinematic." Each option corresponds to a specific set of dimensions and an aspect ratio factor, which the node uses to adjust the latent image accordingly. This parameter is essential for achieving the desired visual format and ensuring that the output aligns with your artistic vision or project requirements.

Latent Aspect Output Parameters:

aspect_ratio_factor

The aspect_ratio_factor is a numerical value representing the ratio of width to height for the selected aspect. It is crucial for maintaining the correct proportions in the generated image, ensuring that the visual output matches the intended aspect ratio.

width

The width parameter indicates the pixel width of the latent image after the aspect ratio adjustment. It is an important output as it defines the horizontal dimension of the image, contributing to the overall size and format.

height

The height parameter specifies the pixel height of the latent image following the aspect ratio adjustment. This output is vital for determining the vertical dimension of the image, ensuring that it fits the chosen aspect ratio and complements the width.

Latent Aspect Usage Tips:

  • When working with different model types, ensure you select the correct modeltype to access the appropriate aspect ratios and dimensions.
  • Use the aspect parameter to quickly switch between different visual formats, allowing you to experiment with various compositions and styles.
  • Consider the final display medium or platform when choosing an aspect ratio to ensure the generated image fits well and looks appealing.

Latent Aspect Common Errors and Solutions:

Invalid modeltype

  • Explanation: This error occurs when an unsupported or incorrect modeltype is specified.
  • Solution: Verify that the modeltype is correctly set to a supported option such as "SDXL" or others as defined by the node.

Unsupported aspect ratio

  • Explanation: This error arises when an aspect ratio that is not available for the selected modeltype is chosen.
  • Solution: Ensure that the aspect parameter is set to one of the supported options for the specified modeltype.

Latent Aspect Related Nodes

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