ComfyUI > Nodes > JPS Custom Nodes for ComfyUI > Revision Settings (JPS)

ComfyUI Node: Revision Settings (JPS)

Class Name

Revision Settings (JPS)

Category
JPS Nodes/Settings
Author
JPS (Account age: 370days)
Extension
JPS Custom Nodes for ComfyUI
Latest Updated
2024-05-22
Github Stars
0.04K

How to Install JPS Custom Nodes for ComfyUI

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

Revision Settings (JPS) Description

Fine-tune image revision parameters in ComfyUI for precise control over image processing workflow.

Revision Settings (JPS):

The Revision Settings (JPS) node is designed to provide a comprehensive set of parameters for fine-tuning image revision processes within the ComfyUI framework. This node allows you to adjust various aspects of image cropping, interpolation, and noise augmentation, enabling precise control over the image revision workflow. By configuring these settings, you can optimize the quality and characteristics of the revised images, making it a valuable tool for AI artists looking to enhance their image processing capabilities. The node's primary function is to gather and return a structured set of revision settings that can be used in subsequent image processing pipelines.

Revision Settings (JPS) Input Parameters:

rev1_strength

This parameter controls the strength of the first revision process. It is a floating-point value that determines the intensity of the applied revision. The default value is 1, with a minimum of 0 and a maximum of 10, adjustable in steps of 0.1. Increasing this value will enhance the effect of the first revision, while decreasing it will reduce the effect.

rev2_strength

Similar to rev1_strength, this parameter controls the strength of the second revision process. It is also a floating-point value with a default of 1, a minimum of 0, and a maximum of 10, adjustable in steps of 0.1. Adjusting this value will affect the intensity of the second revision applied to the image.

rev1_noiseaug

This parameter specifies the amount of noise augmentation for the first revision. It is a floating-point value ranging from 0 to 1, with a default value of 0 and adjustable in steps of 0.1. Higher values introduce more noise, which can be useful for certain artistic effects or for simulating different image conditions.

rev2_noiseaug

This parameter controls the noise augmentation for the second revision, similar to rev1_noiseaug. It ranges from 0 to 1, with a default value of 0 and adjustable in steps of 0.1. Adjusting this parameter allows you to fine-tune the noise characteristics of the second revision.

rev1_crop

This parameter determines the cropping position for the first revision. It offers several options: "center", "top", "bottom", "left", and "right". Selecting a position will crop the image accordingly, allowing you to focus on specific areas of the image for the first revision.

rev1_offset

This integer parameter specifies the offset for the first revision's cropping. It has a default value of 0, with a range from -2048 to 2048, adjustable in steps of 1. The offset value shifts the cropping position, providing additional control over the cropped area.

rev2_crop

This parameter sets the cropping position for the second revision, with options including "center", "top", "bottom", "left", and "right". It functions similarly to rev1_crop, allowing you to define the area of the image to be revised.

rev2_offset

This integer parameter specifies the offset for the second revision's cropping. It has a default value of 0, with a range from -2048 to 2048, adjustable in steps of 1. Adjusting this value shifts the cropping position for the second revision.

crop_intpol

This parameter defines the interpolation method used during cropping. Available options are "lanczos", "nearest", "bilinear", "bicubic", "area", and "nearest-exact". Each method offers different characteristics in terms of image quality and processing speed, allowing you to choose the most suitable one for your needs.

crop_res

This integer parameter sets the resolution for cropping. It has a default value of 224, with a range from 224 to 1792, adjustable in steps of 224. This parameter determines the size of the cropped image, affecting the level of detail and processing requirements.

Revision Settings (JPS) Output Parameters:

revision_settings

This output parameter returns a structured set of revision settings, encapsulated in a tuple. The settings include the crop resolution, interpolation method, cropping positions and offsets for both revisions, and the strengths and noise augmentations for both revisions. These settings are used to configure subsequent image processing nodes, ensuring consistent and precise application of the revision parameters.

Revision Settings (JPS) Usage Tips:

  • Adjust the rev1_strength and rev2_strength parameters to control the intensity of the revisions. Higher values will result in more pronounced effects.
  • Use the rev1_crop and rev2_crop parameters to focus on specific areas of the image. This can be useful for targeting particular regions for enhancement or modification.
  • Experiment with different crop_intpol methods to find the best balance between image quality and processing speed for your specific use case.
  • Utilize the rev1_noiseaug and rev2_noiseaug parameters to introduce noise for artistic effects or to simulate different image conditions.

Revision Settings (JPS) Common Errors and Solutions:

Invalid crop resolution

  • Explanation: The crop_res parameter is set to a value outside the allowed range (224 to 1792).
  • Solution: Ensure that the crop_res value is within the specified range and is a multiple of 224.

Unsupported interpolation method

  • Explanation: The crop_intpol parameter is set to an unsupported value.
  • Solution: Choose one of the supported interpolation methods: "lanczos", "nearest", "bilinear", "bicubic", "area", or "nearest-exact".

Offset out of range

  • Explanation: The rev1_offset or rev2_offset parameter is set to a value outside the allowed range (-2048 to 2048).
  • Solution: Adjust the offset values to be within the specified range.

Strength value out of range

  • Explanation: The rev1_strength or rev2_strength parameter is set to a value outside the allowed range (0 to 10).
  • Solution: Ensure that the strength values are within the specified range and adjust them in steps of 0.1.

Noise augmentation value out of range

  • Explanation: The rev1_noiseaug or rev2_noiseaug parameter is set to a value outside the allowed range (0 to 1).
  • Solution: Adjust the noise augmentation values to be within the specified range and in steps of 0.1.

Revision Settings (JPS) Related Nodes

Go back to the extension to check out more related nodes.
JPS Custom Nodes for ComfyUI
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.