2023-12-08 14:02:02 +08:00
2023-12-08 14:02:02 +08:00
2023-12-08 14:02:02 +08:00
2023-12-08 14:02:02 +08:00
2023-12-08 14:02:02 +08:00
2023-12-01 14:24:21 +08:00
2023-12-08 14:02:02 +08:00
2023-12-08 14:02:02 +08:00
2023-12-08 14:02:02 +08:00
2023-12-01 14:24:21 +08:00

ComfyUI Diffusion Color Grading

This is the ComfyUI port of the joint research between me and TimothyAlexisVass. For more information, check out the original Extension for Automatic1111.

Nodes

Some example workflows are included~

  • Hook Recenter: For SD 1.5. Hooks the callback to achieve the centering effect.
    • Comes with Effect Strength slider and CMYK color settings
  • Hook Recenter XL: For SDXL. Hooks the callback to achieve the centering effect.
    • Comes with Effect Strength slider and Lab color settings
  • Unhook Recenter (Optional): Unhook the callback to disable the effects completely.
    • If used, put near the end of the workflow
  • Normalization: For SD 1.5. Use before the VAE Decode node to achieve the normalization effect.
  • NormalizationXL: For SDXL. Use before the VAE Decode node to achieve the normalization effect.

Important:

  • Toggle custom_sampler if you're using the SamplerCustom node.
  • In a single workflow, you only need to hook the callback once. The simplest way is to add it between the Positive Prompt and the Sampler.
  • Due to how ComfyUI works, if you also add Unhook Recenter, the effect may not work sometimes unless you also change the prompt.

ComfyUI doesn't go through a node unless it needs to be updated, so if you unhook the callback and the parameters didn't change (eg. you're only iterating throguh seeds), then the callback will not be hooked again. Easiest way to solve this is just adding a space to the positive prompt, or just don't unhook the callback.

Samples

SD 1.5

Off | On

SDXL

Off | On

Known Issue

  • Doesn't really work with LCM Sampler

Checkpoints Used:
S
Description
No description provided
Readme MIT
7.6 MiB
Languages
Python 100%