ComfyUI  >  Nodes  >  ComfyUI-StylizePhoto-MZ >  MinusZone - StylizePhotoKSampler

ComfyUI Node: MinusZone - StylizePhotoKSampler

Class Name

MZ_StylizePhotoKSamplerNode

Category
MinusZone - StylizePhoto
Author
MinusZoneAI (Account age: 95 days)
Extension
ComfyUI-StylizePhoto-MZ
Latest Updated
5/23/2024
Github Stars
0.0K

How to Install ComfyUI-StylizePhoto-MZ

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

MinusZone - StylizePhotoKSampler Description

Transform photos into stylized images using AI techniques with specific style model for artistic effects like clay.

MinusZone - StylizePhotoKSampler:

The MZ_StylizePhotoKSamplerNode is designed to transform your photos into stylized images using advanced AI techniques. This node leverages a specific style model to apply artistic effects to your images, making them look like they were crafted with clay or other artistic mediums. The primary goal of this node is to provide a seamless and efficient way to stylize photos, enhancing their visual appeal with minimal effort. By utilizing various parameters, you can control the resolution, style intensity, and other aspects of the transformation, ensuring that the final output meets your artistic vision. This node is particularly beneficial for AI artists looking to add a unique touch to their images without delving into complex technical details.

MinusZone - StylizePhotoKSampler Input Parameters:

xl_ckpt_name

This parameter specifies the name of the checkpoint to be used for the model. It allows you to select from a list of available checkpoints, including a default option of "none". The checkpoint is crucial as it contains the pre-trained weights and configurations needed for the stylization process. If set to "none", the node will use the provided model, clip, and vae parameters instead. This flexibility ensures that you can either use a pre-configured model or customize your own.

image

This parameter accepts the input image that you want to stylize. The image should be provided in a compatible format, typically as a tensor. This is the primary input on which the stylization will be applied.

resolution

This integer parameter controls the resolution of the output image. The default value is 1024, with a minimum of -1 and a maximum defined by MAX_RESOLUTION. Setting the resolution helps in managing the output image size and quality, ensuring that the stylized image meets your requirements.

style_type

This parameter defines the style to be applied to the image. Currently, the available option is "clay.v1". This style type determines the artistic effect that will be used during the stylization process, giving your image a unique clay-like appearance.

seed

This integer parameter sets the seed for random number generation, ensuring reproducibility of the results. The default value is 0, with a minimum of 0 and a maximum of 0xffffffffffffffff. Using a specific seed allows you to generate the same stylized image across different runs.

steps

This integer parameter specifies the number of steps for the stylization process. The default value is 35, with a minimum of 1 and a maximum of 10000. More steps generally lead to a more refined and detailed stylization but may increase processing time.

cfg

This float parameter, known as the classifier-free guidance scale, controls the strength of the stylization effect. The default value is 5.5, with a range from 0.0 to 100.0, adjustable in steps of 0.1 and rounded to 0.01. Higher values result in stronger stylization effects.

denoise

This float parameter determines the level of noise reduction applied during the stylization process. The default value is 0.75, with a range from 0.0 to 1.0, adjustable in steps of 0.01. Adjusting this parameter helps in achieving a balance between detail preservation and noise reduction.

positive_prompt

This string parameter allows you to provide additional positive prompts to guide the stylization process. The default value is an empty string. Positive prompts help in emphasizing certain features or styles in the output image.

negative_prompt

This string parameter allows you to provide negative prompts to avoid certain features or styles in the stylization process. The default value is an empty string. Negative prompts help in excluding unwanted elements from the output image.

watermark

This string parameter lets you add a watermark to the stylized image. The default value is "ComfyUI\nGenerated by AI", and it supports multiline text. Adding a watermark helps in attributing the generated image to its source.

model (optional)

This parameter allows you to provide a custom model for the stylization process. If not provided, the node will use the model specified by the xl_ckpt_name parameter.

clip (optional)

This parameter allows you to provide a custom CLIP model for the stylization process. If not provided, the node will use the CLIP model specified by the xl_ckpt_name parameter.

vae (optional)

This parameter allows you to provide a custom VAE model for the stylization process. If not provided, the node will use the VAE model specified by the xl_ckpt_name parameter.

control_net (optional)

This parameter allows you to provide a custom ControlNet model for the stylization process. This adds an additional layer of control over the stylization, enabling more precise adjustments.

MinusZone - StylizePhotoKSampler Output Parameters:

IMAGE

The output of this node is the stylized image. This image is the result of applying the specified style and parameters to the input image, transforming it into a visually appealing piece of art. The output image retains the resolution and quality as defined by the input parameters, ensuring that the final result meets your artistic expectations.

MinusZone - StylizePhotoKSampler Usage Tips:

  • Experiment with different style_type options to achieve various artistic effects on your images.
  • Adjust the resolution parameter to balance between image quality and processing time.
  • Use the seed parameter to reproduce specific stylization results across different runs.
  • Fine-tune the cfg and denoise parameters to control the intensity and clarity of the stylization effect.
  • Utilize positive_prompt and negative_prompt to guide the stylization process and achieve desired features in the output image.

MinusZone - StylizePhotoKSampler Common Errors and Solutions:

"Model not found"

  • Explanation: The specified checkpoint or model file could not be located.
  • Solution: Ensure that the xl_ckpt_name parameter is set correctly and that the model file exists in the specified directory.

"Invalid resolution value"

  • Explanation: The resolution parameter is set to a value outside the allowed range.
  • Solution: Adjust the resolution parameter to be within the range of -1 to MAX_RESOLUTION.

"Style type not supported"

  • Explanation: The specified style type is not recognized by the node.
  • Solution: Ensure that the style_type parameter is set to a valid option, such as "clay.v1".

"Seed value out of range"

  • Explanation: The seed parameter is set to a value outside the allowed range.
  • Solution: Adjust the seed parameter to be within the range of 0 to 0xffffffffffffffff.

"Steps value out of range"

  • Explanation: The steps parameter is set to a value outside the allowed range.
  • Solution: Adjust the steps parameter to be within the range of 1 to 10000.

MinusZone - StylizePhotoKSampler Related Nodes

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