zombieyang / sd-ppp

Communicate between Photoshop and SD/SDForge/ComfyUI
MIT License
132 stars 6 forks source link

SD-PPP: Use Photoshop as your SD/ComfyUI's workspace

| QQ group | GitHub Repo stars


ppp for Professional Photoshop Portal

this extension/custom_node is mainly focus on getting/sending elements from/to Photoshop in ComfyUI or SD. You can do

  1. get any layer of any document in any area and amount from Photoshop.
  2. send images to Photoshop to any document/layer/area.
  3. get text layer's content as prompt.

I hope it can make Photoshop become the workspace of your SD/ComfyUI

SD/SDForge Showcase

ComfyUI Showcase

How to install

ComfyUI 1. Use [ComfyManager](https://github.com/ltdrdata/ComfyUI-Manager) to install `sd-ppp` or clone this repository into `/custom_nodes` 2. install Photoshop plugin 1. by CCX: 1. download .ccx in ComfyUI's setting UI. 2. double click the `.ccx` file. OR rename it to `.zip` and extract it into photoshop's `Plug-ins` directory or `Plug-ins/Generator` directory [like this](https://github.com/zombieyang/sd-ppp/assets/5595819/a86862bb-1e4e-45cb-a869-5c08edad47a8). 2. by UXP develop Tool (you can debug the code this way): 1. clone this repository 2. [optional] Run `npm install` and `npm build` in `photoshop` directory. (if you want to debug or modify the code) 3. click `Add Plugin` in UXP Develop Tool by selecting `photoshop/dist/manifest.json`. 3. connect to comfyUI in Photoshop > If you cannot connect ComfyUI via `https`, use `http` instead 5. add get/send node in ComfyUI
SD-WebUI or SD-Forge 1. install in A1111's `extension` tab or clone this repository into `/extensions` 2. install Photoshop plugin 1. by CCX: 1. download .ccx in SDWebUI's setting tab. 3. double click the `.ccx` file. OR rename it to `.zip` and extract it into photoshop's `Plug-ins` directory or `Plug-ins/Generator` directory [like this](https://github.com/zombieyang/sd-ppp/assets/5595819/a86862bb-1e4e-45cb-a869-5c08edad47a8). 2. by UXP develop Tool (you can debug the code this way): 1. clone this repository 2. [optional] Run `npm install` and `npm build` in `photoshop` directory. (if you want to debug or modify the code) 3. click `Add Plugin` in UXP Develop Tool by selecting `photoshop/dist/manifest.json`. 4. connect to Stable diffusion in Photoshop 5. Select a specific layer to get pictures from Photoshop in any image element. 1. 2. 3. 6. select a specific layer to send pictures to Photoshop 1.

Other showcase

  1. regional prompting

    >> tutorial

  2. live-painting

  3. controlnet

  4. IC-light


    Tutorial

Author Link
zombieyang =>BiliBili
zombieyang =>Youtube
BlueBomm =>BiliBili
猫咪老师 =>Xiaohongshu

attention: only PS 24.4.0+ is supported by now.