An open API service indexing awesome lists of open source software.

https://github.com/zombieyang/sd-ppp

Communicate between Photoshop and SD/SDForge/ComfyUI
https://github.com/zombieyang/sd-ppp

Last synced: 15 days ago
JSON representation

Communicate between Photoshop and SD/SDForge/ComfyUI

Awesome Lists containing this project

README

        

# SD-PPP: Simplify ComfyUI and Connect with other tools.

[![](https://dcbadge.limes.pink/api/server/https://discord.gg/9HeGjDvEmn?style=flat)](https://discord.gg/9HeGjDvEmn) | [![QQ group](https://img.shields.io/badge/QQ%E9%A2%91%E9%81%93-SDPPP%E7%9A%84%E9%A2%91%E9%81%93-brightgreen.svg)](https://pd.qq.com/s/5m42umo28) | ![GitHub Repo stars](https://img.shields.io/github/stars/zombieyang/sd-ppp)

![Image](https://github.com/user-attachments/assets/ab2168d9-ce7c-40d0-9f5a-8173937455ac)

## Simplify ComfyUI to form like apps.

![image](https://github.com/user-attachments/assets/cf0b399c-5827-4e7a-9a06-8f80e42021fd)

## Connect with Photoshop

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

![image](https://github.com/user-attachments/assets/5129833f-ccf2-46a7-a6fd-62068d1e6a24)

> attention: only PS 24.4.0+ is supported. Feature `GetSelection` needs 25.0+

## How to install

[click to expand]

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 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](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. click `Add Plugin` in UXP Develop Tool by selecting `plugins/photoshop/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

Image

-----------------------------

## More Resources

[**ComfyUI Nodes Manual**](https://github.com/zombieyang/sd-ppp/wiki/All-ComfyUI-Nodes-Manual)

### ComfyUI workflows

| Basic SDXL or Flux.dev | Lasso inpaint | Light Control | Regional Prompt |
| -- | -- | -- | -- |
| | | | |
| [> OpenArt.ai](https://openart.ai/workflows/tiger_vicious_50/photoshop-sdxl-by-ui-widgets-ui/2HTFV9wKjCmrmOJuVicZ) [> OpenArt.ai](https://openart.ai/workflows/tiger_vicious_50/photoshop-fluxdev-by-ui-widgets-ui/OgNATIBYgoZhk5DHRwE4) | [> OpenArt.ai](https://openart.ai/workflows/tiger_vicious_50/photoshop-lasso-inpaint-inpaint/p6rsG9IVzGk2OP7RoGVE) | [> OpenArt.ai](https://openart.ai/workflows/tiger_vicious_50/photoshop-light-control/oNzznyLtfPPXQsEbeF4p) | [> OpenArt.ai](https://openart.ai/workflows/tiger_vicious_50/photoshop-regional-prompt/R2RIyZxRw91KFEpN9MnI) |
| [> Quark夸克盘](https://pan.quark.cn/s/baba12eba90d) | [> Quark夸克盘](https://pan.quark.cn/s/baba12eba90d) | [> Quark夸克盘](https://pan.quark.cn/s/baba12eba90d) | [> Quark夸克盘](https://pan.quark.cn/s/baba12eba90d) |

| SDPPP + Enricos Nodes | Flux全家桶 |
| -- | -- |
| | |
| [@jeffufu](https://github.com/jeffufu) | [@猫咪老师Reimagined](https://space.bilibili.com/1054925384) |
| [> OpenArt.ai](https://openart.ai/workflows/qbWyplAHquJcPdw3Vjhr) | [> 百度盘](https://pan.baidu.com/s/1jlpCGXbBPO3pdWpSr0WW9Q?pwd=bwbx) |

### Video Tutorials
1. English

| Author | Link |
| -- | -- |
| zombieyang | =>[Youtube](https://youtu.be/hMYVTX0MmBs) |

2. 汉语

| Author | Link |
| -- | -- |
| zombieyang | =>[BiliBili](https://b23.tv/wR6Ppyc) |
| [BlueBomm](https://space.bilibili.com/17280004) | =>[BiliBili](https://www.bilibili.com/video/BV15bbpeWEf8/) |
| [猫咪老师](https://www.xiaohongshu.com/user/profile/59f1fcc411be101aba7f048f) | =>[Xiaohongshu](https://www.xiaohongshu.com/explore/6735c4a5000000001a01de1d?source=webshare&xhsshare=pc_web&xsec_token=AB38DXnYsvST_3h7a_hfNcXbzWw4LYyMmLuiFXFTt75kQ=&xsec_source=pc_share)|
| [猫咪老师](https://space.bilibili.com/1054925384) | =>[BiliBili](https://www.bilibili.com/video/BV17fs2ejE3s)|
| [鸡肉爱土豆](https://space.bilibili.com/403361177) | =>[BiliBili](https://www.bilibili.com/video/BV1shakevEbf)|
| [来真的](https://space.bilibili.com/590784254) | => [BiliBili](https://www.bilibili.com/video/BV1BoCnYqEPX)|
| [李心宝爱玩Ai](https://b23.tv/MLgsAxP) | => [BiliBili](https://b23.tv/cKGs17J)|

## Open Source declaration

## License

This project is licensed under the **BSD 3-Clause License**. See the [LICENSE](LICENSE) file for details.

**Note:** Some code segments of the Photoshop plugin are intentionally obfuscated but still fully compliant with BSD-3 terms. For specific details about the code obfuscation, refer to the [NOTICE](NOTICE) file in the project root directory.

------

本项目遵循**BSD 3-Clause 许可证**。详见[LICENSE](LICENSE)文件。

**注:** Photoshop插件的部分代码段虽然经过故意混淆处理,但仍完全符合BSD-3条款要求;关于代码混淆的具体说明,请参见项目根目录的[NOTICE](NOTICE)文件。

## Thanks
@[AbdullahAlfaraj](https://github.com/AbdullahAlfaraj)
@[tianlang0704](https://github.com/tianlang0704)
@[猫咪老师](https://www.xiaohongshu.com/user/profile/59f1fcc411be101aba7f048f)