Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance image editing with AI-powered element search and replace for precise modifications and workflow efficiency.
Stability Search and Replace is a powerful node designed to enhance your image editing capabilities by allowing you to search for specific elements within an image and replace them based on a given prompt. This node leverages advanced AI techniques to identify and modify parts of an image according to your creative vision. Whether you want to alter specific objects, change backgrounds, or modify textures, this node provides a flexible and intuitive way to achieve your desired results. By using this node, you can streamline your workflow, save time, and achieve more precise edits, making it an invaluable tool for AI artists looking to refine their work.
This parameter accepts the input image that you want to edit. The image should be in a supported format such as PNG, JPEG, or WEBP. This is a required parameter as it serves as the base for all subsequent modifications.
The search prompt is a string input where you describe the elements or features you want to search for within the image. This parameter supports multiline text, allowing you to provide detailed descriptions. It is a required parameter and is crucial for guiding the AI in identifying the parts of the image to be replaced.
The prompt is a string input where you specify what you want to replace the identified elements with. This parameter also supports multiline text, enabling you to provide comprehensive descriptions. It is a required parameter and directly influences the outcome of the image editing process.
The negative prompt is an optional string input that allows you to specify elements or features you want to avoid in the replacement process. This parameter supports multiline text and helps refine the results by excluding unwanted modifications.
The seed is an optional integer parameter that controls the randomness of the AI's output. It has a default value of 0 and can range from 0 to 4294967294. Using the same seed value will produce consistent results, which is useful for reproducibility.
This optional string parameter allows you to override the default API key used for authentication. It does not support multiline text and is useful if you need to use a different API key for specific tasks.
The output format is an optional parameter that lets you choose the format of the edited image. The available options are "png", "webp", and "jpeg". This parameter allows you to select the most suitable format for your needs.
The edited image is the primary output of the node. It is the result of the search and replace operation based on the provided prompts. This output will be in the format specified by the output_format parameter and will reflect the modifications described in the prompt.
© Copyright 2024 RunComfy. All Rights Reserved.