ComfyUI > Nodes > ComfyUI-Img2Img-Turbo > Img2ImgTurboEdgeRun

ComfyUI Node: Img2ImgTurboEdgeRun

Class Name

Img2ImgTurboEdgeRun

Category
Img2ImgTurbo
Author
chaojie (Account age: 4842days)
Extension
ComfyUI-Img2Img-Turbo
Latest Updated
2024-05-22
Github Stars
0.04K

How to Install ComfyUI-Img2Img-Turbo

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

Img2ImgTurboEdgeRun Description

Transform input images using textual prompts with Img2ImgTurboEdgeRun node for artistic renditions.

Img2ImgTurboEdgeRun:

The Img2ImgTurboEdgeRun node is designed to transform an input image into a new image based on a given prompt, leveraging the capabilities of the Img2ImgTurboEdgeModel. This node is particularly useful for AI artists who want to generate new artistic renditions of an existing image by providing a textual description (prompt) that guides the transformation process. The node ensures that the input image is preprocessed to meet the model's requirements, such as resizing to dimensions divisible by 8, and then applies the model to generate the output image. This process allows for creative and controlled image transformations, making it a powerful tool for artistic experimentation and enhancement.

Img2ImgTurboEdgeRun Input Parameters:

model

This parameter specifies the model to be used for the image transformation. The model should be of type Img2ImgTurboEdgeModel, which is pre-trained to handle edge-to-image transformations. The model interprets the input image and the prompt to generate the desired output.

image

The image parameter is the input image that you want to transform. It should be provided in a format that the node can process, typically as a tensor. The image is preprocessed to ensure its dimensions are compatible with the model's requirements.

prompt

The prompt parameter is a string that describes the desired transformation or the elements you want to introduce into the output image. This textual description guides the model in generating the new image. The default value is an empty string, which means no specific guidance is provided.

seed

The seed parameter is an integer that sets the random seed for the transformation process. This ensures reproducibility of the results. By setting the same seed, you can obtain the same output for the same input and prompt. The default value is 1234.

gamma

The gamma parameter is a float that adjusts the gamma correction applied during the transformation process. It influences the brightness and contrast of the output image. The default value is 0.4, which provides a balanced adjustment.

Img2ImgTurboEdgeRun Output Parameters:

IMAGE

The output parameter is an IMAGE, which is the transformed version of the input image based on the provided prompt. This output image is generated by the model and reflects the artistic changes guided by the prompt and the preprocessing steps applied to the input image.

Img2ImgTurboEdgeRun Usage Tips:

  • Experiment with different prompts to see how the model interprets various descriptions and transforms the input image accordingly.
  • Adjust the gamma parameter to fine-tune the brightness and contrast of the output image, especially if the initial results are too dark or too bright.
  • Use the seed parameter to ensure reproducibility of your results, which is particularly useful when you want to compare different prompts or settings with the same input image.

Img2ImgTurboEdgeRun Common Errors and Solutions:

"Model type mismatch"

  • Explanation: The provided model is not of type Img2ImgTurboEdgeModel.
  • Solution: Ensure that you load the correct model type using the Img2ImgTurboEdgeLoader node before running the transformation.

"Image dimensions not divisible by 8"

  • Explanation: The input image dimensions are not compatible with the model's requirements.
  • Solution: The node automatically resizes the image, but ensure that the input image has dimensions that are multiples of 8 for optimal results.

"CUDA out of memory"

  • Explanation: The GPU does not have enough memory to process the image.
  • Solution: Try reducing the image size or freeing up GPU memory by closing other applications or processes that are using the GPU.

Img2ImgTurboEdgeRun Related Nodes

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