Auto-Photoshop-StableDiffusion-Plugin  by AbdullahAlfaraj

Photoshop plugin for Stable Diffusion image generation

created 2 years ago
7,111 stars

Top 7.4% on sourcepulse

GitHubView on GitHub
Project Summary

This plugin enables users to leverage Stable Diffusion image generation directly within Adobe Photoshop, integrating with popular backends like Automatic1111 and ComfyUI. It targets artists and developers seeking a seamless workflow for AI-assisted image creation and editing without context switching.

How It Works

The plugin acts as an intermediary, communicating with a local or remote Stable Diffusion backend (Automatic1111 or ComfyUI) via an API. It utilizes Photoshop's UXP (Unified Extensibility Platform) for integration, allowing users to generate images using text-to-image, image-to-image, inpainting, and outpainting functionalities directly within the Photoshop interface. An essential companion extension for Automatic1111 is required for advanced masking features.

Quick Start & Requirements

  • Installation: Offers a one-click installer (.ccx file) for artists, an unzip method for manual placement, and a UXP developer method (git clone, npm install, npm run watch, start_server.bat).
  • Prerequisites: Requires Photoshop v24+, Automatic1111 or ComfyUI backend. For local Automatic1111, the webui-user.bat must be modified to include --api in COMMANDLINE_ARGS. Remote backends also require API access enabled.
  • Resources: Local backend setup involves running start_server.bat and potentially npm install. UXP Developer Tool is required for developer installation.
  • Docs: https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin

Highlighted Details

  • Supports txt2img, img2img, inpainting, and outpainting directly within Photoshop.
  • Includes an optional Automatic1111 extension for enhanced mask expansion and blur for better inpainting/outpainting results.
  • Provides options for GPU-less operation via Stable Horde or a linked Colab notebook.
  • Offers troubleshooting guidance for common connection and generation issues.

Maintenance & Community

The project acknowledges numerous backers and sponsors, indicating community engagement. Links to Patreon are provided for support and early access to features.

Licensing & Compatibility

The repository's license is not explicitly stated in the README. Compatibility is primarily with Adobe Photoshop v24 and later, and requires a compatible Stable Diffusion backend.

Limitations & Caveats

The README mentions several "Known Issues" that may require troubleshooting, including "Plugin Load Failed," "No application are connected to the service," and "Exception in ASGI application." Successful integration with Automatic1111 requires enabling the --api flag.

Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
101 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.