Skip to content

nchenevey1/gimp-comfy-tools

Repository files navigation

GIMP Plugins with ComfyUI

GIMP plugins that communicate with ComfyUI.

  • Go to Edit>Preferences
  • Click the + sign next to Folders
  • Click Plug-ins
  • Add the directory containing the plugin .py files
  • Pip is required:

  • Add get-pip.py to GIMP folder: C:\Program Files\GIMP 2\bin

  • From a Windows Command Prompt Window, cd to the GIMP Python folder (or just type cmd into the file explorer address bar):
    cd C:\Program Files\GIMP-2\bin

  • Run the get-pip.py script using the GIMP version of Python:
    .\python.exe get-pip.py

  • You now have pip installed in the GIMP version of Python

  • Now you can run the command to download and install:
    .\python.exe -m pip install websocket-client

Download the models and follow the instructions outlined in this video:

https://www.youtube.com/watch?v=wEd1wPlCBaQ

Thank you to ControlAltAI

  • ComfyUI must be running with all of the required nodes for the specified workflow installed

  • Must have https://github.com/nchenevey1/comfyui-gimp-nodes for sending and receiving websocket RGBA data

  • Currently uses specific nodes

    • (Default EmptyLatentImage node, CheckPointLoaderSimple node, CLIPTextEncode node, and KSampler node)
  • Searches for prompt text nodes by searching CLIPTextEncode nodes for 'pos' and 'neg' in title

    • (Positive prompt node must have 'pos' somewhere in title, negative prompt node must have 'neg')
  • Currently uses Power Lora Loader (rgthree)

  • Lora count limited by options in GIMP ui

  • Image to image uses GIMP selection tool. Entire image is used if no selection is present

  • Seed is random if set to 0

  • Make sure to select the current GIMP image in the "input image" ui option when using image to image

gimp_demo.mp4
Erase_Example.mp4
RGB_IP_Example.mp4
Face_example.mp4

About

Gimp plugins for use with ComfyUI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages