ComfyUI > Nodes > Stability API nodes for ComfyUI > Stability Control Structure

ComfyUI Node: Stability Control Structure

Class Name

Stability Control Structure

Category
Stability
Author
Stability-AI (Account age: 851days)
Extension
Stability API nodes for ComfyUI
Latest Updated
2024-06-06
Github Stars
0.04K

How to Install Stability API nodes for ComfyUI

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

Stability Control Structure Description

Enhance image generation control with precise structure guidance and parameter adjustments for AI art creation.

Stability Control Structure:

The Stability Control Structure node is designed to provide advanced control over the structure of generated images based on a given prompt. This node allows you to input an image and a descriptive prompt to guide the generation process, ensuring that the resulting image adheres closely to the specified structure. It is particularly useful for artists who want to maintain a certain level of control over the composition and elements within their artwork. By adjusting various parameters, you can fine-tune the strength of the control, add negative prompts to avoid unwanted elements, and even specify the output format. This node is a powerful tool for achieving precise and consistent results in your AI-generated art.

Stability Control Structure Input Parameters:

image

This parameter accepts an image file that serves as the base for the structure control. The image is used to guide the generation process, ensuring that the output adheres to the structural elements present in the input image. The accepted format is any image type.

prompt

The prompt is a descriptive text input that guides the AI in generating the image. It can be multiline, allowing for detailed descriptions. This parameter is crucial as it defines the elements and style of the generated image.

control_strength

This optional parameter controls the strength of the structure guidance. It is a float value with a default of 0.7, a minimum of 0.01, and a maximum of 1.0. Adjusting this value allows you to balance between the input image's structure and the creative freedom of the AI.

negative_prompt

An optional multiline text input that specifies elements you want to avoid in the generated image. This helps in refining the output by excluding unwanted features or styles.

seed

This optional integer parameter sets the random seed for the generation process. It has a default value of 0, with a minimum of 0 and a maximum of 4294967294. Using the same seed can help in reproducing consistent results.

output_format

This optional parameter allows you to specify the format of the output image. The available options are "png", "webp", and "jpeg". Choosing the appropriate format can help in optimizing the image quality and file size.

api_key_override

An optional string parameter that allows you to override the default API key. This can be useful if you need to use a different API key for specific tasks or projects.

Stability Control Structure Output Parameters:

controlnet_input

The controlnet_input is the processed version of the input image that has been encoded to guide the AI in generating the final output. It ensures that the structural elements of the input image are preserved in the generated image.

stage_c

The stage_c output is a latent representation of the image at a specific stage in the generation process. It is used internally to maintain consistency and structure in the generated image.

stage_b

Similar to stage_c, the stage_b output is another latent representation at a different stage in the generation process. It helps in refining the details and structure of the final output.

Stability Control Structure Usage Tips:

  • Experiment with different control_strength values to find the right balance between maintaining the input image's structure and allowing creative freedom in the generated image.
  • Use detailed prompts to guide the AI more effectively, especially when aiming for specific elements or styles in the output.
  • Utilize the negative_prompt parameter to exclude unwanted features and refine the generated image further.
  • Consistently use the same seed value if you need to reproduce specific results for comparison or iterative improvements.

Stability Control Structure Common Errors and Solutions:

"Invalid image format"

  • Explanation: The input image is not in a supported format.
  • Solution: Ensure that the input image is in a supported format such as PNG, JPEG, or WEBP.

"Prompt is too short"

  • Explanation: The provided prompt does not contain enough information to guide the AI effectively.
  • Solution: Provide a more detailed and descriptive prompt to help the AI generate the desired image.

"Control strength out of range"

  • Explanation: The control_strength value is outside the allowed range of 0.01 to 1.0.
  • Solution: Adjust the control_strength value to be within the specified range.

"Seed value out of range"

  • Explanation: The seed value is outside the allowed range of 0 to 4294967294. - Solution: Set the seed value within the specified range to ensure proper functioning.

"API key override invalid"

  • Explanation: The provided API key override is not valid or incorrectly formatted.
  • Solution: Ensure that the API key override is correctly formatted and valid for the intended use.

Stability Control Structure Related Nodes

Go back to the extension to check out more related nodes.
Stability API nodes for ComfyUI
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.