2024-06-16 10:07:59 +08:00
2024-03-30 11:15:46 +08:00
2024-06-03 23:33:18 +08:00
2024-06-12 23:02:34 +08:00
2024-06-12 23:02:34 +08:00
2024-06-12 23:02:34 +08:00
2024-06-03 23:33:18 +08:00
2024-06-12 23:04:27 +08:00
2024-03-29 21:30:45 +08:00
2024-05-25 15:39:27 +08:00
2024-06-16 10:07:59 +08:00
2024-06-03 23:33:18 +08:00

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

comfy_get comfy_send

SD/SDForge Showcase

sd-get sd-set

How to install

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 http://<your-comfy-url>/extensions/sd-ppp/plugins/sd-ppp_PS.ccx.

        for example: http://127.0.0.1:8188/extensions/sd-ppp/plugins/sd-ppp_PS.ccx

      2. double click the .ccx file. Or place it into photoshop's plugin directory.

    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

    connect

    If you cannot connect ComfyUI via https, use http instead

  4. add get/send node in ComfyUI

    in-comfy

StableDiffusion or SD-Forge
  1. install in SD's extension tab or clone this repository into <your-sd-directory>/extensions

  2. install Photoshop plugin

    1. by CCX:
      1. 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

      2. double click the .ccx file. Or place it into photoshop's plugin directory.
    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

    image

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

  5. select a specific layer to send pictures to Photoshop


Ask for help

Discord

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.

S
Description
No description provided
Readme BSD-3-Clause
107 MiB
Languages
JavaScript 62.2%
TypeScript 30.4%
Python 6.7%
CSS 0.6%