티스토리 뷰

1. Stability 에서 제작한 Stable Diffusion Plug-in 

https://exchange.adobe.com/apps/cc/114117da/stable-diffusion

포토샵에서 Stable Diffusion을 사용할 수 있게 해주는 플러그인입니다.

Dream sudio (유료)와 Dale E2의 API 키를 연결 가능합니다.

포토샵 23버젼이상에서 작동합니다.

 

 

 

 

2. Auto-Photoshop-StableDiffusion-Plugin

https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin

로컬 PC에서 Stable Diffusion webui 가 설치되어 구동되고 있어야 작동합니다.

설치방법이 다소 복잡하지만 기능은 더 강력합니다.

How to install:

we recommend you use the one click installer

First time running the plugin (local Automatic1111):

  1. download the plugin:
git clone https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin.git
  1. run "start_se rver.bat" inside "Auto-Photoshop-StableDiffusion-Plugin" directory
  2. go to where you have automatic1111 installed. Edit the "webui-user.bat" in automatic1111 change this line
set COMMANDLINE_ARGS= 

to

set COMMANDLINE_ARGS= --api

that will allow the plugin to communicate with the automatic1111 project. After saving close the "webui-user.bat" file and run it normally.

  1. run photoshop. go to edit -> prefrences -> plugins
    1. make sure you check "Enable Developer Mode" checkbox
  2. install "Adobe UXP Developer Tool" from here Installation (adobe.com) this tool will add the plugin into photoshop
  3. run Adobe UXP Developer Tool and click on "Add Plugin" button in the top right. Navigate to where you have "Auto-Photoshop-StableDiffusion-Plugin" folder and open "manifest.json"
  4. select the plugin and click on Actions -> Load Selected that's it.

First time running the plugin (remote Automatic1111):

The remote webui must also have --api set in COMMANDLINE_ARGS. You can check if api access is enabled by appending "/docs#" to the end of the url. If the documentation includes /sdapi/v1/samplers then api access is enabled.

  1. download the plugin:
git clone https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin.git
  1. edit start_server.bat (or start_server.sh if on linux) to point to the remote installation of Automatic1111
  2. run "start_server.bat" inside "Auto-Photoshop-StableDiffusion-Plugin" directory
  3. run photoshop. go to edit -> prefrences -> plugins
    1. make sure you check "Enable Developer Mode" checkbox
  4. install "Adobe UXP Developer Tool" from here Installation (adobe.com) this tool will add the plugin into photoshop
  5. run Adobe UXP Developer Tool and click on "Add Plugin" button in the top right. Navigate to where you have "Auto-Photoshop-StableDiffusion-Plugin" folder and open "manifest.json"
  6. select the plugin and click on Actions -> Load Selected that's it.

Steps to run the plugin for second time and onward:

  1. start "webui-user.bat"
  2. start "start_server.bat"
  3. start "Photoshop"
  4. start " Adobe UXP Developer Tool" and load the plugin