SD-PPP: Easily use photoshop in your StableDiffusion/ComfyUI
ppp for Professional Photoshop transPorter
this extension/custom_node is mainly focus on getting/sending picture from/to Photoshop in ComfyUI or SD
ComfyUI Showcase
SD/SDForge Showcase
How to install
ComfyUI
-
Use ComfyManager to install
sd-pppor clone this repository into<your-comfy-directory>/custom_nodes
-
install Photoshop plugin
- by CCX:
-
download .ccx in ComfyUI's setting UI.
-
double click the
.ccxfile. OR rename it to.zipand extract it into photoshop's plugin directory like this.
-
- by UXP develop Tool (you can debug the code this way):
- clone this repository
- [optional] Run
npm installandnpm buildinphotoshopdirectory. (if you want to debug or modify the code) - click
Add Pluginin UXP Develop Tool by selectingphotoshop/dist/manifest.json.
- by CCX:
-
connect to comfyUI in Photoshop
If you cannot connect ComfyUI via
https, usehttpinstead -
add get/send node in ComfyUI
StableDiffusion or SD-Forge
-
install in SD's
extensiontab or clone this repository into<your-sd-directory>/extensions -
install Photoshop plugin
-
by CCX:
- download
http://<your-sd-url>/file=extensions/sd-ppp/javascript/plugins/sd-ppp_PS.ccx.for example:
http://127.0.0.1:7860/file=extensions/sd-ppp/javascript/plugins/sd-ppp_PS.ccx - double click the
.ccxfile. OR rename it to.zipand extract it into photoshop's plugin directory like this.
- download
-
by UXP develop Tool (you can debug the code this way):
- clone this repository
- [optional] Run
npm installandnpm buildinphotoshopdirectory. (if you want to debug or modify the code) - click
Add Pluginin UXP Develop Tool by selectingphotoshop/dist/manifest.json.
-
-
connect to Stable diffusion in Photoshop
-
Select a specific layer to get pictures from Photoshop in any image element.
-
select a specific layer to send pictures to Photoshop
Ask for help
Concept
In contrast to the plugin that I contributed before AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin, which "runs" the SD/Comfy in Photoshop. This tool provides another option that makes Photoshop a helper of SD/ComfyUI. Because I think SD/Comfy will keep growing fast in the future, it is hard to inject the entire SD/Comfy Ecology into Photoshop with a single plugin.
Still, shout out to AbdullahAlfaraj's plugin and I inherited some of the code using Photoshop's API in it.
attention: only PS 24.4.0+ is supported by now.