Visit ComfyUI Online for ready-to-use ComfyUI environment
Advanced ratio management for AI artists, offering customizable aspect ratios for latent spaces and image generation workflows.
The Ratio Advanced node is designed to provide advanced ratio management capabilities for AI artists working with latent spaces and image generation. This node allows you to select and customize various aspect ratios for different stages of your workflow, including latent ratios, CTE (Content Transformation Engine) ratios, and target ratios. By offering a range of preset ratios and the ability to define custom ratios, the Ratio Advanced node ensures flexibility and precision in managing the dimensions of your generated content. This node is particularly useful for tasks that require specific aspect ratios or transformations, enabling you to achieve the desired output with greater control and accuracy.
This parameter allows you to select from a list of predefined ratio presets. The available options include various aspect ratios that can be used directly without further customization. The default value is "none".
This parameter lets you choose whether to swap the width and height axes. The options are "true" or "false", with the default value being "false".
This parameter allows you to select a predefined latent ratio from the list of available ratios. If "custom" is selected, you can define your own width and height using the custom_latent_w and custom_latent_h parameters. The default value is the first ratio in the list.
This parameter specifies the custom width for the latent ratio if "custom" is selected in select_latent_ratio. The value ranges from 0 to 8192, with a default of 0.
This parameter specifies the custom height for the latent ratio if "custom" is selected in select_latent_ratio. The value ranges from 0 to 8192, with a default of 0.
This parameter allows you to select a predefined CTE ratio from the list of available ratios. If "custom" is selected, you can define your own width and height using the cte_w and cte_h parameters. The default value is the first ratio in the list.
This parameter specifies the custom width for the CTE ratio if "custom" is selected in select_cte_ratio. The value ranges from 0 to 8192, with a default of 0.
This parameter specifies the custom height for the CTE ratio if "custom" is selected in select_cte_ratio. The value ranges from 0 to 8192, with a default of 0.
This parameter allows you to multiply the CTE dimensions by a specified factor. The value ranges from 0.0 to 100.0, with a default of 0.0.
This parameter allows you to set a specific resolution for the CTE dimensions. The value ranges from 0 to 8192, with a default of 0.
This parameter allows you to fit the CTE dimensions to a specific size. The value ranges from 0 to 8192, with a default of 0.
This parameter allows you to select a predefined target ratio from the list of available ratios. If "custom" is selected, you can define your own width and height using the target_w and target_h parameters. The default value is the first ratio in the list.
This parameter specifies the custom width for the target ratio if "custom" is selected in select_target_ratio. The value ranges from 0 to 8192, with a default of 0.
This parameter specifies the custom height for the target ratio if "custom" is selected in select_target_ratio. The value ranges from 0 to 8192, with a default of 0.
This parameter allows you to multiply the target dimensions by a specified factor. The value ranges from 0.0 to 100.0, with a default of 0.0.
The output parameter samples contains the generated latent space samples based on the specified ratios and dimensions. This output is crucial for further processing and image generation tasks, providing the foundational data required for creating AI-generated content.
preset parameter to quickly apply common aspect ratios without needing to manually input dimensions.custom_latent_w and custom_latent_h parameters are set correctly to avoid unexpected results.cte_mult parameter to easily scale your CTE dimensions, which can be particularly useful for maintaining aspect ratios while resizing.swap_axis parameter to see how different orientations affect your output, especially when working with non-square aspect ratios.custom_latent_w and custom_latent_h values are within the range of 0 to 8192.cte_mult value is set outside the allowed range.cte_mult value to be within the range of 0.0 to 100.0.target_mult value is set outside the allowed range.target_mult value to be within the range of 0.0 to 100.0.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.