Skip to content

zombieyang/sd-ppp

Repository files navigation

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

| QQ group | GitHub Repo stars


ppp for Professional Portal Protocol

Communicate between Photoshop and ComfyUI/SDWebUI/Forge

  • ✅ Multi layer supported (including text layer/image layer)
  • ✅ Multi document supported
  • ✅ Multi Photoshop supported
  • ✅ Work in specific region of your Document

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

SDWebUI/Forge

simple showcase

ComfyUI

simple showcase

workflows

Lasso inpaint Light Control Regional Prompt
> OpenArt.ai > OpenArt.ai > OpenArt.ai
> Liblib.art

ComfyUI Nodes Manual

How to install

[click to expand] ComfyUI
  1. Use ComfyManager to install sd-ppp or clone this repository into <your-comfy-directory>/custom_nodes

  2. install Photoshop plugin

    1. by CCX:
      1. download .ccx in any SDPPP's nodes or ComfyUI's setting UI.

      2. [option1] double click the .ccx file if you have Adobe Creative Cloud.

      3. [option2] rename .ccx to .zip and extract it into photoshop's Plug-ins directory or Plug-ins/Generator directory like this.

    2. by UXP develop Tool (you can debug the code this way):
      1. clone this repository
      2. 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

  4. add get/send node in ComfyUI

[click to expand] SD-WebUI or SD-Forge
  1. install in A1111's extension tab or clone this repository into <your-sd-directory>/extensions

  2. install Photoshop plugin

    1. by CCX:

      1. download .ccx in any getting/sending dialog or in SDWebUI's setting tab.


      2. [option1] double click the .ccx file if you have Adobe Creative Cloud.

      3. [option2] rename .ccx to .zip and extract it into photoshop's Plug-ins directory or Plug-ins/Generator directory like this.

    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 Stable diffusion in Photoshop

  4. Select a specific layer to get pictures from Photoshop in any image element.

  5. select a specific layer to send pictures to Photoshop


Tutorial

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

Thanks

@AbdullahAlfaraj @tianlang0704


attention: only PS 24.4.0+ is supported by now.