Stable.art is an open-source plugin for Photoshop (v23.3.0+) that allows you to use Stable Diffusion (with Automatic1111 as a backend) to accelerate your art workflow. Say goodbye to tedious art processes and hello to seamless creativity with Stable.art.
How to install
- Download the CCX file.
- Open the Creative Cloud desktop app and ensure it is running and up to date.
- Make sure you have the latest version of Photoshop installed. If not, update it through the Creative Cloud desktop app.
- Open Photoshop.
- Double-click on the downloaded CCX file.
- Follow the prompts and the plugin panel should appear in Photoshop. If it does not, go to Plugins > Stable.art.
Start API server
To use Stable.art you need to enable an API for your Automatic1111:
If you use Automatic1111 locally, then you need to follow this guide.
If you want to use Google Colab, then you can use fast-stable-diffusion. You need to edit the last cell (double-click on it) and change
Enable_API = Falseto
Enable_API = True.
Lastly, enter the url of your Automatic1111 server (e.g.
https://***.gradio.app, etc) in the “Endpoint” field.
If you need help coming up with ideas or finding assistance with prompts, you can use the Lexica.art search engine right inside the plugin for inspiration.
By default, txt2img generates an image with a size of 512×512. If you want to generate an image with a specific size, you can use the rectangular marquee tool and specify any size (with any ratio!) you desire.
To use img2img/inpaint, simply select an area of your image using any selection tool. Yes, you can use any selection tool (e.g. rectangular marquee, lasso, quick selection, magic wand, or any other selection tool). Then to generate an image, simply click the “Generate” button. It is that easy – no masks or any other complicated steps are required.
Start a server to compile and hot-reload the plugin.
npm run serve
Open Photoshop, then open “Adobe UXP Developer Tool”, click “Add plugin”, and select
manifest-dev.json, which is located in the
/publicfolder. Note: during development, you should only use
manifest.json(which will be located in the
/distfolder) should be used only for final builds after running
npm run build(and you can just ignore
manifest.jsonthat is located in the
/publicfolder). Two manifests are required to conveniently test final builds – “UXP Developer Tool” does not support adding multiple plugins with the same ids.
You will get the plugin with id
dev.stable.art, click on its Actions and then click “Load”.