AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin

★ 7,299⑂ 0

A user-friendly plug-in that makes it easy to generate stable diffusion images inside Photoshop using either Automatic or ComfyUI as a backend.

About AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin

AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin is an open-source project on GitHub, mainly written in TypeScript. A user-friendly plug-in that makes it easy to generate stable diffusion images inside Photoshop using either Automatic or ComfyUI as a backend. It currently holds 7,299 stars and 0 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

Git Homed tracks it on the Image Trending board and on the AI Image Trending list.

GitHub Repository Details

Repository AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

Auto-Photoshop-StableDiffusion-Plugin

Become a Patron! [![discord badge]][discord link]

[discord badge]: https://flat.badgen.net/discord/members/3mVEtrddXJ [discord link]: https://discord.gg/3mVEtrddXJ

With Auto-Photoshop-StableDiffusion-Plugin, you can directly use the capabilities of Automatic1111 Stable Diffusion in Photoshop without switching between programs. This allows you to easily use Stable Diffusion AI in a familiar environment. You can edit your Stable Diffusion image with all your favorite tools and save it right in Photoshop.

Table of Contents

Support Us On Patreon:

By supporting us on Patreon, you’ll help us continue to develop and improve the Auto-Photoshop-StableDiffusion-Plugin, making it even easier for you to use Stable Diffusion AI in a familiar environment. As a supporter, you’ll have the opportunity to provide feedback and suggestions for future development. Plus, you’ll get early access to new features and tutorials, as well as exclusive art tutorials and tips from a professional artist. We’re passionate about making AI approachable to artists and with your help, we can continue to do just that.

Auto-Photoshop-SD Backers and Sponsors:

💎 Diamond

https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Ronny Khalil https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/zachary https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Razvan Matei https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/MasterAI
Ronny Khalil zachary Razvan Matei MasterAI

🥇 Gold

https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Alex https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Olivier Lefebvre https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Arthur Liu https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Florin-Alexandru Ilinescu https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Zenko https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Juan Pablo Mendiola https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Robin Edwards https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Frederic Dreuilhe
Alex Olivier Lefebvre Arthur Liu Florin-Alexandru Ilinescu Zenko Juan Pablo Mendiola Robin Edwards Frederic Dreuilhe
https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Danny Sahagun https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/darius coal https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Kerwin https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/The Dread Vixen Alinsa https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Bruce Hunter https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Chris Canterbury https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Lawrence L Tran https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Jake Skokan
Danny Sahagun darius coal Kerwin The Dread Vixen Alinsa Bruce Hunter Chris Canterbury Lawrence L Tran Jake Skokan
https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/que0005 https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Xavier Matia Bernasconi https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Mats Oldin https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Rodrigo Terra https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Nicolas Meunier https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Ihor Pankin
que0005 Xavier Matia Bernasconi Mats Oldin Rodrigo Terra Nicolas Meunier Ihor Pankin

🥈 Silver

https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Amith Thomas https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/xiao yuan https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Ezra Blake https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Kevin Schofield https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Mvs Srs https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Felipe Cortes https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Smith https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Sanchez
Amith Thomas xiao yuan Ezra Blake Kevin Schofield Mvs Srs Felipe Cortes Smith Sanchez
https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Ziui Witter
Ziui Witter

🥉 Copper

https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Sebastian Karbowniczek https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Petter Lundh https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/AWWalker https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/cdmusic https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/Jason Bessonette https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/blob/HEAD/22two
Sebastian Karbowniczek Petter Lundh AWWalker cdmusic Jason Bessonette 22two

How To Install:

Use method 1 or 2 if you are an Artist use method 3 if you are a Developer/Programmer

Method 1: One Click Installer

1) Download the .ccx file 2) run the ccx file . that's all. you will be able to use all of stable diffusion modes (txt2img, img2img, inpainting and outpainting), check the tutorials section to master the tool.

install_plugin_1

3) (Don't skip) Install the Auto-Photoshop-SD Extension from Automatic1111 extension tab. The extension will allow you to use mask expansion and mask blur, which are necessary for achieving good results when outpainting and inpainting.

copy_githup_url_2 install_extension_3 apply_and_restart_4

Method 2: The Unzip Method

1) Download the .zip file 2) Unzip it in a folder with the same name 3) move the unzipped folder to the Photoshop Plugin folder 4) (Don't skip) Install the Auto-Photoshop-SD Extension from Automatic1111 extension tab. The extension will allow you to use mask expansion and mask blur, which are necessary for achieving good results when outpainting and inpainting. image

Method 3: The UXP method (Instruction for Developers):

For artists we recommend you use the one click installer. If you are a developer Watch the any of these videos or follow the instruction bellow.

For artists 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
2) open cmd window in the "Auto-Photoshop-StableDiffusion-Plugin" directory and then install the dependencies by typing:
npm install
3) build the plugin by transpiling typescript to javascript:
npm run watch

4) run "start_server.bat" inside "Auto-Photoshop-StableDiffusion-Plugin" directory 5) 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.

6) run photoshop. go to edit -> prefrences -> plugins 1) make sure you check "Enable Developer Mode" checkbox 7) install "Adobe UXP Developer Tool" from here Installation (adobe.com) this tool will add the plugin into photoshop 8) 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" 9) 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.

Demo:

[Click Here to Watch Demo](https://youtu.be/VL_gbQai79E "Stable diffusion AI Photoshop Plugin Free and Open Source")

FAQ and Known Issues

What Photoshop version do I need to run the plugin?

The minimum Photoshop version that the plugin supports is Photoshop v24

Plugin Load Failed

There are a few issues that can result in this error, please follow the instructions for the corresponding error message in the UDT logs

No application are connected to the service

This error occurs when Photoshop is not started before the plugin is attempted to be loaded. Simply start photoshop then restart UXP and load the plugin

Exception in ASGI application / Expecting value: line 1 column 1

This error occurs due to mismatched expectations between the plugin and the Automatic1111 backend. It can be solved by both updating the version of the Automatic111 backend to the latest verion, and making sure "Save text information about generation parameters as chunks to png files" setting is enabled within the UI.

No Generations and Plugin Server doesn't send messages. (Remote setup)

This error occurs when the remote server does not have the api enabled. You can verify this by attempting to go to the URL you access the webui at and appending "/docs#" to the end of the url. If you have permissions, make relaunch the remote instance with the "--api" flag.

No GPU Options:

we provide two options to use the auto-photoshp plugin without GPU.

Stable Horde

This is an awesome free crowdsourced distributed cluster of Stable Diffusion workers. If you like this service, consider joining the horde yourself! the horde is enabled completely by the generosity of volunteers so make sure you don't overwhelm the service and help join the cause if you can. read more on their GitHub page

Colab:

we link to this Colab directly inside plugin find it in the settings tab. you only need to run it. no need to change any of the settings. copy the gradio.live url the colab will generate and paste it into ``sd url`` field in the settings tab.

GitHub Stars & Activity

7,299Stars
0Forks
0Open issues
TypeScriptLanguage

GitHub Popularity

GitHub stars7,299
Forks0
Open issues0
Primary languageTypeScript
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related GitHub Projects

1

voxel51 / fiftyone

TypeScript★ 11,102⑂ 0
2

EutropicAI / Final2x

TypeScript★ 7,331⑂ 0
3

premieroctet / photoshot

TypeScript★ 3,875⑂ 0
4
5

Comfy-Org / ComfyUI

Python★ 134,032⑂ 0
6

opencv / opencv

C++★ 90,903⑂ 0
7

unslothai / unsloth

Python★ 76,471⑂ 0
8

ultralytics / ultralytics

Python★ 61,808⑂ 0

More Trending Repositories