# divamgupta/stable-diffusion-tensorflow

Stable Diffusion in TensorFlow / Keras

Repository: https://github.com/divamgupta/stable-diffusion-tensorflow
Canonical: https://ross.abutalabs.com/products/stable-diffusion-tensorflow
Language: Python
License: NOASSERTION
License Family: other
Last push: 2023-08-08T13:25:03+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 1448, "days_push": 1121, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1608, forks 230 (observed 2026-08-28T04:05:10.679033+00:00)

## What it is
A TensorFlow/Keras implementation of Stable Diffusion with weights ported from the original implementation. It provides a Python API and Colab notebooks for text-to-image generation, img2img, and inpainting.

## Use cases
- generate images from text prompts in tensorflow
- run stable diffusion without pytorch
- img2img image generation in keras
- inpaint images with stable diffusion
- generate textures and tiles with stable diffusion
- run stable diffusion on TPU
- load pytorch stable diffusion checkpoints in tensorflow

## When to choose
- you want stable diffusion in a TensorFlow/Keras workflow
- you need TPU support for batch image generation
- you want to port or inspect Stable Diffusion weights in Keras

## When to avoid
- you need the latest Stable Diffusion models or features
- your stack is PyTorch-based
- you need an actively developed tool with recent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: machine-learning, llm-inference, image-processing
- domain: deep-learning, image-processing, artificial-intelligence
- platform: python, cross-platform
- tags: stable-diffusion, tensorflow, keras, text-to-image, diffusion-models, img2img, inpainting, gpu

## Member repositories
- divamgupta/stable-diffusion-tensorflow (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:10.679033+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-30T03:51:21.402251+00:00, confidence not recorded.
  - readme: https://github.com/divamgupta/stable-diffusion-tensorflow (fetched 2026-08-28T04:05:10.679033+00:00, sha 9f75c4141e4b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
