Stable.art ?

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.

demo.mp4

How to install

  1. Download the CCX file.
  2. Open the Creative Cloud desktop app and ensure it is running and up to date.
  3. Make sure you have the latest version of Photoshop installed. If not, update it through the Creative Cloud desktop app.
  4. Open Photoshop.
  5. Double-click on the downloaded CCX file.
  6. 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 = False to Enable_API = True.

Lastly, enter the url of your Automatic1111 server (e.g. http://127.0.0.1:7860, https://***.gradio.live, https://***.loca.lt, https://***.gradio.app, etc) in the “Endpoint” field.

Features

Lexica.art Integration

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.

txt2img

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.

img2img/inpaint

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.

outpaint

Coming Soon.

Development

  1. Install dependencies.

    npm install
  2. Start a server to compile and hot-reload the plugin.

    npm run serve
  3. Open Photoshop, then open “Adobe UXP Developer Tool”, click “Add plugin”, and select manifest-dev.json, which is located in the /public folder. Note: during development, you should only use manifest-dev.json because manifest.json (which will be located in the /dist folder) should be used only for final builds after running npm run build (and you can just ignore manifest.json that is located in the /public folder). Two manifests are required to conveniently test final builds – “UXP Developer Tool” does not support adding multiple plugins with the same ids.

  4. You will get the plugin with id dev.stable.art, click on its Actions and then click “Load”.

GitHub

View Github