2025-02-09 12:02:59 -05:00
2023-12-28 00:19:52 -08:00
2023-12-28 00:19:52 -08:00
2023-12-28 00:19:52 -08:00
2025-02-09 12:02:59 -05:00
2023-12-28 00:19:52 -08:00
2023-12-28 00:19:52 -08:00
2023-12-28 11:28:52 -08:00
2023-12-28 00:19:52 -08:00

A1111 Stable Diffusion | Modal.com Serverless Worker

Deploys AUTOMATIC1111/stable-diffusion-webui as serverless worker on Modal.com

Usage

Quickstart:

git clone https://github.com/zhaobenny/a1111-modal-worker && cd a1111-modal-worker
pip install modal && modal token new
./deploy.sh

Query the Modal endpoint like an normal A1111 endpoint.

To add more models, add your urls to "config.yaml" and run:

modal run a1111_modal_worker/download.py

(Delete unneeded models using the modal cli or the web dashboard)

Caveats

  • over 50s response time (including for simple requests)
  • no extension support yet
  • need to add auth to api endpoints
  • settings won't get saved if adjusted (use overwrite folder)
  • very WIP
Description
serverless worker for Automatic1111 using modal.com
Readme 34 KiB
Languages
Python 97.1%
Shell 2.9%