ComfyUI > Nodes > Character Face Swap > Generation Parameter Input

ComfyUI Node: Generation Parameter Input

Class Name

Generation Parameter Input

Category
CFaceSwap
Author
ArtBot2023 (Account age: 302days)
Extension
Character Face Swap
Latest Updated
2024-05-22
Github Stars
0.06K

How to Install Character Face Swap

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

Generation Parameter Input Description

Facilitates configuring image generation parameters for AI models, ensuring flexibility and customization for precise artistic control.

Generation Parameter Input:

The Generation Parameter Input node is designed to facilitate the configuration of various parameters required for generating images using AI models. This node allows you to specify essential settings such as seed, image dimensions, number of steps, and other parameters that influence the generation process. By providing a structured way to input these parameters, the node ensures that the generation process is both flexible and customizable, catering to different artistic needs and preferences. This node is particularly useful for AI artists who want to have precise control over the generation settings, enabling them to experiment with different configurations to achieve the desired output.

Generation Parameter Input Input Parameters:

seed

The seed parameter is an integer value that initializes the random number generator used in the image generation process. This allows for reproducibility of results; using the same seed will produce the same image. The default value is 0, with a minimum of 0 and a maximum of 0xffffffffffffffff.

image_width

The image_width parameter specifies the width of the generated image in pixels. It allows you to set the desired width, with a default value of 512 pixels. The minimum value is 0, and the maximum value is 1024 pixels, adjustable in steps of 8 pixels.

image_height

The image_height parameter defines the height of the generated image in pixels. Similar to image_width, it allows you to set the desired height, with a default value of 512 pixels. The minimum value is 0, and the maximum value is 1024 pixels, adjustable in steps of 8 pixels.

steps

The steps parameter determines the number of steps the model will take during the generation process. More steps generally lead to higher quality images but will take longer to generate. The default value is 20 steps, with a minimum of 0 and a maximum of 200 steps.

cfg

The cfg (Classifier-Free Guidance) parameter is a float value that controls the strength of the guidance during the generation process. Higher values can lead to more detailed images but may also introduce artifacts. The default value is 7.0, with a minimum of 0.0 and a maximum of 30.0, adjustable in steps of 0.5.

sampler_name

The sampler_name parameter allows you to choose the sampling method used during the generation process. It offers various options provided by comfy.samplers.KSampler.SAMPLERS, with the default being "dpmpp_2m".

scheduler

The scheduler parameter specifies the scheduling method used during the generation process. It offers various options provided by comfy.samplers.KSampler.SCHEDULERS, with the default being "karras".

denoise

The denoise parameter is a float value that controls the amount of denoising applied during the generation process. A value of 1 means full denoising, while 0 means no denoising. The default value is 1, with a minimum of 0 and a maximum of 1.

parameters (optional)

The parameters parameter is an optional input that allows you to pass a set of predefined parameters. This can be useful for reusing configurations or for more advanced control over the generation process.

Generation Parameter Input Output Parameters:

parameters

The parameters output returns a dictionary containing all the input parameters. This allows for easy reuse and modification of the settings in subsequent nodes or processes.

Generation Parameter Input Usage Tips:

  • Experiment with different seed values to explore a variety of generated images while keeping other parameters constant.
  • Adjust the steps parameter to find a balance between image quality and generation time.
  • Use the cfg parameter to fine-tune the level of detail and avoid overfitting or artifacts.
  • Try different sampler_name and scheduler options to see how they affect the final output.

Generation Parameter Input Common Errors and Solutions:

Invalid seed value

  • Explanation: The seed value provided is outside the acceptable range.
  • Solution: Ensure the seed value is between 0 and 0xffffffffffffffff.

Image dimensions out of range

  • Explanation: The specified image width or height is outside the allowed range.
  • Solution: Adjust the image width and height to be within the range of 0 to 1024 pixels, in steps of 8 pixels.

Steps value out of range

  • Explanation: The number of steps specified is outside the acceptable range.
  • Solution: Set the steps value between 0 and 200.

Invalid cfg value

  • Explanation: The cfg value provided is outside the acceptable range.
  • Solution: Ensure the cfg value is between 0.0 and 30.0, in steps of 0.5.

Invalid denoise value

  • Explanation: The denoise value provided is outside the acceptable range.
  • Solution: Set the denoise value between 0 and 1.

Generation Parameter Input Related Nodes

Go back to the extension to check out more related nodes.
Character Face Swap
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.