Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance creative control by guiding AI image generation based on sketches and prompts for precise structural adherence.
The Stability Control Sketch node is designed to enhance your creative process by allowing you to control the structure of an image based on a sketch and a descriptive prompt. This node is particularly useful for artists who want to guide the AI in generating images that adhere closely to a specific structure or outline. By providing a sketch and a prompt, you can influence the AI to generate images that match your artistic vision more closely. This node is ideal for tasks where maintaining the structural integrity of the original sketch is crucial, such as in architectural designs, character outlines, or any scenario where the form is as important as the content.
This parameter accepts the base image that you want to use as a reference for the sketch. The image should be in a format that is compatible with the node, such as PNG, JPEG, or WEBP. This image serves as the canvas upon which the AI will apply the sketch and prompt to generate the final output.
The prompt is a textual description that guides the AI in generating the image. This can be a detailed description of what you want the final image to look like. The prompt supports multiline text, allowing you to provide a comprehensive description. This is a required parameter and plays a crucial role in shaping the final output.
This optional parameter determines how strongly the AI should adhere to the provided sketch. It is a float value ranging from 0.01 to 1.0, with a default value of 0.7. A higher value means the AI will follow the sketch more closely, while a lower value allows for more creative freedom.
The negative prompt is an optional multiline text parameter that specifies what you do not want to appear in the final image. This helps in refining the output by excluding unwanted elements.
This optional integer parameter allows you to set a specific seed for the random number generator, ensuring reproducibility of the results. The value ranges from 0 to 4294967294, with a default value of 0. Using the same seed with the same inputs will produce the same output.
This optional parameter allows you to specify the format of the output image. The available options are PNG, WEBP, and JPEG. This helps in choosing the right format based on your needs, whether it's for high-quality prints or web usage.
This optional parameter allows you to override the default API key with a different one. This is useful if you have multiple API keys and want to use a specific one for this operation. The parameter accepts a single-line string.
The output parameter is the final image generated by the AI, adhering to the provided sketch and prompt. This image will be in the format specified by the output_format
parameter and will reflect the structural and descriptive guidance provided through the input parameters.
control_strength
parameter to find the right balance between adhering to the sketch and allowing creative freedom. A value around 0.7 is a good starting point.negative_prompt
to exclude unwanted elements from the final image, refining the output to better match your vision.image
parameter is required but was not provided.image
parameter.prompt
parameter is required but was not provided.© Copyright 2024 RunComfy. All Rights Reserved.