# ShiftHackZ/Stable-Diffusion-KMP

Stable Diffusion AI client app for Android and iOS

Repository: https://github.com/ShiftHackZ/Stable-Diffusion-KMP
Canonical: https://ross.abutalabs.com/products/stable-diffusion-kmp
Homepage: https://sdai.moroz.cc
Language: Kotlin
License: AGPL-3.0
License Family: copyleft
Topics: android, automatic1111, clean-architecture, compose, compose-ui, kotlin, multimodule-android-app, mvi, stable-diffusion, stable-diffusion-webui, viewmodel, stable-diffusion-mobile, material3, koin, room-database, ai, foss, coroutines, ios, kotlin-multiplatform
Last push: 2026-08-24T10:55:26+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 81, longevity 91
- inputs: {"age_days": 1278, "days_push": 9, "days_rel": 45, "gap_med": 39.0, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1259, forks 142 (observed 2026-08-28T04:04:09.730920+00:00)

## What it is
SDAI is an open-source, cross-platform Stable Diffusion client app for Android and iOS built with Kotlin Multiplatform and Jetpack Compose. It connects to self-hosted servers (AUTOMATIC1111, SwarmUI), hosted APIs (OpenAI, Stability AI, Fal.ai, Hugging Face), AI Horde, and supports on-device local generation engines.

## Use cases
- generate stable diffusion images from my android phone
- ios app to connect to my automatic1111 server
- mobile client for ai horde image generation
- generate ai art locally on device without cloud
- open source stable diffusion app without ads or telemetry
- txt2img and img2img on mobile with lora support
- connect fal.ai or openai image api from a mobile app

## When to choose
- you want a single mobile app to reach many Stable Diffusion backends and providers
- you need a FOSS, ad-free, telemetry-free client available on F-Droid and App Store
- you want on-device generation on supported Android or iOS hardware
- you prefer full Stable Diffusion controls like seed, CFG, samplers, LoRA, and inpainting on mobile

## When to avoid
- you need a desktop or web Stable Diffusion UI rather than a mobile app
- you want to train or fine-tune diffusion models
- you need a library or SDK to embed image generation into your own app
- your device or backend is unsupported by the listed providers and local engines

## Facets
- artifact type: application
- maturity: active
- function: image-processing, machine-learning, http-client, gui
- domain: artificial-intelligence, image-processing, mobile-development, cross-platform
- platform: jvm
- tags: stable-diffusion, kotlin-multiplatform, ai-image-generation, automatic1111, compose, foss, txt2img, img2img, ai-horde, local-diffusion, android, ios, mobile

## Member repositories
- ShiftHackZ/Stable-Diffusion-KMP (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:09.730920+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-30T05:05:28.160215+00:00, confidence not recorded.
  - readme: https://github.com/ShiftHackZ/Stable-Diffusion-KMP (fetched 2026-08-28T04:04:09.730920+00:00, sha 75b72d66bee1)
  - homepage: https://sdai.moroz.cc (fetched 2026-08-29T12:16:53.189197+00:00, sha a6503918052e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
