This fork provides ONLY easier Installation instructions
Use stable diffusion via comfyUI inside Nuke. Tutorials and proper documentation will follow.
- Nuke 12 or higher
- You need to have a running ComfyUI (Standard or Portable)
- ComfyUI-HQ-Image-Save (required to load images and sequences and work with EXR)
-
Download the code
-
Copy the content of the .zip into your .nuke folder:
/Users/youruser/.nuke/
-
Rename the folder from
ComfyUINuke-main
toComfyUINuke
-
Create a
init.py
file in/Users/youruser/.nuke/
-
Edit the created
init.py
, add the following lines and Replaceyouruser
to mach your actual username.
import nuke
nuke.pluginAddPath("/Users/youruser/.nuke/comfyUINuke")
I'm providing 3 basic workflows templates as examples. Workflows must have a "translation.py" to work inside nuke (check Workflows folder)
-
Open Nuke
-
Press Tab and create
comfyUI_Nuke toolset
-
Setup the settings tab with your server address and disk folder:
Default server:
http://127.0.0.1:8188
Directory:/wherever/you/installed/ComfyUI/
-
Save the toolset with your defaults.
Error | Causes |
---|---|
[Errno 61] Connection Refused | ComfyUI is not running or wrong network address |
[Http Error 400 or 40X] Bad Request | The workflow .json file has something incompatible on it. Usually your system has a checkpoint that has another name, ".safetensors" instead of ".ckpt" for example. ComfyUI terminal will tell you which parameter is wrong. Drag the workflow from the "ComfyUINuke/Workflows" folder into ComfyUI, fix the issue and save the workflow file overwriting the problematic one. Do not forget to always save the files with "Save (API format) " (ConfyUI > Settings > Enable Dev mode Options) |
RuntimeError: /users/youruser/.nuke/comfyUINuke/toolSets/comfyUI_Nuke.nk is for nuke15.0v1; this is nuke14.1v4 | Open and Save comfyUI_Nuke.nk in whatever Nuke version you use |
Are welcome, I'm looking for improvement ideas and UI suggestions, new functionalities, etc. Open to colaboration, submit your commits! Submit issues here on Github.
A proper workflow translator. Proper documentation and tutorials Sequence handling
Check this extension that allows to use exr https://github.com/spacepxl/ComfyUI-HQ-Image-Save
If you want to get some specific workflow translated inside Nuke, lets talk.