ComfyUI Extension: VRGameDevGirl Video Enhancement Nodes

Authored by vrgamegirl19

Created

Updated

5 stars

Film grain and color match nodes designed for high-quality frame-by-frame video enhancement in ComfyUI.

Custom Nodes (0)

    README

    ๐ŸŽฎ VRGameDevGirlโ€™s Video/image Enhancement Nodes (Quality of life nodes coming soon as well) for ComfyUI

    Custom ComfyUI nodes for high-quality, frame-by-frame video or image enhancement.
    Includes realtime-ready nodes for film grain, color tone matching, and more to come!


    ๐ŸŒŸ Features

    • ๐ŸŽž๏ธ Fast Film Grain (FastFilmGrain)
      Add controllable, grayscale or color grain for cinematic texture.

    • ๐ŸŽจ Color Match to Reference (ColorMatchToReference)
      Align image tones to a reference image using LAB color matching.

    • ๐ŸŽฏ Fast Unsharp Sharpen (FastUnsharpSharpen)
      Simple and efficient sharpening using unsharp masking.

    • ๐ŸŒ€ Fast Laplacian Sharpen (FastLaplacianSharpen)
      Edge-based sharpening via Laplacian kernel for crisp detail.

    • ๐Ÿ“ Fast Sobel Sharpen (FastSobelSharpen)
      Gradient-based edge enhancement using Sobel filters.

    • โšก Optimized for image or video workflows and per-frame processing in ComfyUI.

    • ๐Ÿ’ป Designed to be efficient on modern GPUs.


    ๐Ÿ“ฆ Installation

    ๐Ÿงฐ Using ComfyUI Manager (recommended)

    1. Open ComfyUI.
    2. Go to the Manager tab โ†’ Install Custom Nodes.
    3. Search: vrgamedev or use this Git URL:
      https://github.com/vrgamegirl19/comfyui-vrgamedevgirl
      

    ๐Ÿ–๏ธ Manual Install

    1. Clone or download this repo to your ComfyUI/custom_nodes directory.
    2. Restart ComfyUI.

    โœจ Requirements

    A requirements.txt file is now needed.

    To install the required packages, run this from inside the python_embeded folder:

    python.exe -m pip install -r ..\custom_nodes\comfyui-vrgamedevgirl\requirements.txt
    
    

    requirements.txt (in the repo) includes:

    kornia
    
    

    ๐Ÿง  Node Details

    โœ… Fast Film Grain (FastFilmGrain)

    Adds customizable film grain to each frame.
    Grain can be grayscale or saturated RGB, and sized to match your output resolution.

    Inputs:

    • images: Frame tensor input.
    • grain_intensity: Blend amount (0 to 1).
    • saturation_mix: 0 = grayscale grain, 1 = full RGB noise.

    ๐ŸŸข Video-safe and very fast.


    ๐ŸŽจ Color Match to Reference (ColorMatchToReference)

    Matches image color distribution to a reference image using LAB space normalization.

    Inputs:

    • images: Your video frames.
    • reference_image: A single image to match tone and color against.
    • match_strength: Blend between original and matched (0.0โ€“1.0).

    ๐ŸŽฏ Fast Unsharp Sharpen (FastUnsharpSharpen)

    Applies unsharp masking to enhance edges with a fast, low-cost blur pass.

    Inputs:

    • images: Input image tensor.
    • strength: Sharpening amount (0.0 to 2.0)

    ๐Ÿš€ Lightweight and ideal for subtle sharpening.


    ๐ŸŒ€ Fast Laplacian Sharpen (FastLaplacianSharpen)

    Enhances edges by applying a Laplacian kernel to bring out high-frequency detail.

    Inputs:

    • images: Input image tensor.
    • strength: Sharpening amount (0.0 to 2.0)

    ๐Ÿงช Gives a more "punchy" sharpen effect great for detail recovery.


    ๐Ÿ“ Fast Sobel Sharpen (FastSobelSharpen)

    Uses Sobel filters to detect image gradients and amplify edge contrast.

    Inputs:

    • images: Input image tensor.
    • strength: Sharpening amount (0.0 to 2.0)

    ๐Ÿง  Sharpens by boosting directional edge response โ€” great for outlines and detail clarity.


    ๐Ÿ› ๏ธ Roadmap

    • [x] ๐ŸŽž๏ธ Fast Film Grain (FastFilmGrain)
    • [x] ๐ŸŽจ Color Match To Reference (ColorMatchToReference)
    • [x] ๐Ÿ“ Fast Sobel Sharpen (FastSobelSharpen)
    • [x] ๐ŸŒ€ Fast Laplacian Sharpen (FastLaplacianSharpen)
    • [x] ๐ŸŽฏ Fast Unsharp Sharpen (FastUnsharpSharpen)
    • [ ] ๐ŸŒซ๏ธ Local Contrast / Dehaze
    • [ ] ๐ŸŽ›๏ธ LUT Loader or Approximate Match

    ๐Ÿ“ Folder Structure

    comfyui-vrgamedevgirl/
    โ”‚
    โ”œโ”€โ”€ init.py
    โ”œโ”€โ”€ nodes.py
    โ”œโ”€โ”€ README.md
    โ”œโ”€โ”€ LICENSE
    โ”œโ”€โ”€ requirements.txt
    โ””โ”€โ”€ .gitignore
    

    ๐Ÿง‘โ€๐Ÿ’ป Author

    VRGameDevGirl
    โœจ Custom tools for cinematic AI workflows
    ๐Ÿ’Œ Questions or collabs? Reach out via GitHub


    ๐Ÿ“œ License

    This project is licensed under the MIT License.