ComfyUI > Nodes > ComfyUI Inspire Pack > Conditioning Stretch (Inspire)

ComfyUI Node: Conditioning Stretch (Inspire)

Class Name

ConditioningStretch __Inspire

Category
InspirePack/conditioning
Author
Dr.Lt.Data (Account age: 471days)
Extension
ComfyUI Inspire Pack
Latest Updated
2024-07-02
Github Stars
0.3K

How to Install ComfyUI Inspire Pack

Install this extension via the ComfyUI Manager by searching for ComfyUI Inspire Pack
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI Inspire Pack 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Conditioning Stretch (Inspire) Description

Modify conditioning data resolution for AI art projects by stretching or resizing to new dimensions, ensuring alignment with output size.

Conditioning Stretch (Inspire):

The ConditioningStretch __Inspire node is designed to modify the resolution of conditioning data in your AI art projects. This node allows you to stretch or resize the conditioning data to new dimensions, which can be particularly useful when you need to adapt the conditioning to different resolutions for various artistic effects or technical requirements. By adjusting the resolution, you can ensure that the conditioning data aligns perfectly with your desired output size, providing greater flexibility and control over the final result. This node is essential for artists looking to fine-tune their conditioning data to match specific project needs, ensuring that the conditioning is neither too coarse nor too detailed for the intended application.

Conditioning Stretch (Inspire) Input Parameters:

conditioning

This parameter represents the conditioning data that you want to modify. Conditioning data typically includes information that influences the generation process, such as text prompts or other contextual data. The node will take this conditioning data and adjust its resolution based on the specified parameters.

resolutionX

This parameter sets the target resolution width for the conditioning data. The default value is 512, with a minimum of 64 and a maximum defined by the system's maximum resolution. Adjusting this value will change the width of the conditioning data, allowing you to scale it up or down as needed.

resolutionY

This parameter sets the target resolution height for the conditioning data. Similar to resolutionX, the default value is 512, with a minimum of 64 and a maximum defined by the system's maximum resolution. This allows you to control the height of the conditioning data, ensuring it fits the desired output dimensions.

newWidth

This parameter specifies the new width to which the conditioning data should be stretched. The default value is 512, with a minimum of 64 and a maximum defined by the system's maximum resolution. This parameter is crucial for resizing the conditioning data to match specific project requirements.

newHeight

This parameter specifies the new height to which the conditioning data should be stretched. The default value is 512, with a minimum of 64 and a maximum defined by the system's maximum resolution. Adjusting this parameter allows you to control the vertical scaling of the conditioning data.

Conditioning Stretch (Inspire) Output Parameters:

CONDITIONING

The output of this node is the modified conditioning data, adjusted to the new specified resolution. This output can then be used in subsequent nodes or processes, ensuring that the conditioning data is appropriately scaled for the intended application. The resized conditioning data maintains the original contextual information but is now adapted to fit the new dimensions.

Conditioning Stretch (Inspire) Usage Tips:

  • Ensure that the newWidth and newHeight parameters are set to match the resolution of your final output to avoid any mismatches in conditioning data.
  • Use this node when you need to adapt conditioning data from one resolution to another, especially when working with different image sizes or aspect ratios.
  • Experiment with different resolutions to see how the conditioning data affects the final output, as different scales can produce varying artistic effects.

Conditioning Stretch (Inspire) Common Errors and Solutions:

"Invalid resolution values"

  • Explanation: This error occurs when the resolutionX, resolutionY, newWidth, or newHeight parameters are set outside the allowed range.
  • Solution: Ensure that all resolution parameters are within the specified minimum and maximum values. Adjust the values to be within the range of 64 to the system's maximum resolution.

"Conditioning data not provided"

  • Explanation: This error occurs when the conditioning parameter is not supplied or is invalid.
  • Solution: Make sure to provide valid conditioning data as input to the node. Verify that the conditioning data is correctly formatted and contains the necessary information.

"Resolution mismatch"

  • Explanation: This error occurs when there is a significant mismatch between the original conditioning resolution and the new specified resolution.
  • Solution: Check the original resolution of the conditioning data and ensure that the newWidth and newHeight parameters are set to appropriate values that do not distort the data excessively. Adjust the parameters to achieve a balanced scaling.

Conditioning Stretch (Inspire) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI Inspire Pack
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.