# mix1009/sdwebuiapi

Python API client for AUTOMATIC1111/stable-diffusion-webui

Repository: https://github.com/mix1009/sdwebuiapi
Canonical: https://ross.abutalabs.com/products/sdwebuiapi
Language: Jupyter Notebook
License: MIT
License Family: permissive
Topics: api, stable-diffusion-webui, python, automatic1111
Last push: 2024-12-14T01:01:27+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 99
- inputs: {"age_days": 1395, "days_push": 628, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1423, forks 175 (observed 2026-08-28T04:04:41.157563+00:00)

## What it is
A Python client library for the AUTOMATIC1111 stable-diffusion-webui REST API, wrapping endpoints like txt2img, img2img, and upscaling into convenient Python calls. It returns PIL images and metadata so scripts and notebooks can drive a running webui instance programmatically.

## Use cases
- generate images with stable diffusion from a python script
- call txt2img and img2img programmatically
- automate stable diffusion webui api calls
- batch generate images via automatic1111 api
- inpaint images using stable diffusion from python
- drive stable-diffusion-webui from jupyter notebook

## When to choose
- you run AUTOMATIC1111's stable-diffusion-webui and want to control it from Python
- you need programmatic txt2img/img2img/inpainting with PIL image results
- you want a thin, direct mapping to the webui API endpoints

## When to avoid
- you want a self-contained image generator without running the webui server
- you use a different stable diffusion backend like ComfyUI or diffusers
- you need a non-Python client

## Facets
- artifact type: library
- maturity: active
- function: http-client, stable-diffusion, image-processing, sdk
- domain: artificial-intelligence, image-processing, developer-tools
- platform: python
- tags: stable-diffusion-webui, automatic1111, api-client, txt2img, img2img, inpainting, generative-ai

## Member repositories
- mix1009/sdwebuiapi (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:41.157563+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:37:39.352532+00:00, confidence not recorded.
  - readme: https://github.com/mix1009/sdwebuiapi (fetched 2026-08-28T04:04:41.157563+00:00, sha c002c59bd923)
- Data as of 2026-08-30T08:39:29.467469+00:00.
