Termux-Diffusion
디바이스 리소스를 활용한 Android Termux 네이티브 온디바이스 Stable Diffusion 런타임
Native On-Device Stable Diffusion Runtime Utilizing Device Resources for Android Termux
📌 Architecture & Overview
안드로이드 순정 Bionic libc 상에서 디바이스 리소스를 활용하여 ARMv8.2-A DotProd/FP16 SIMD 벡터 연산(Cortex-A78 x4: 61초)을 통해 이미지를 생성하고 삼성 갤러리에 자동 반영합니다.
Executes quantized Stable Diffusion models utilizing device resources with ARMv8.2-A DotProd/FP16 SIMD vector execution (Cortex-A78 x4 61s) and direct Samsung Gallery indexing.
🚀 Installation & Quickstart
Python (PyPI)
pip install termux-diffusion
import termux_diffusion as td
# 1. Generate image on Android hardware
image_path = td.generate(
prompt="Cyberpunk Seoul city at night, neon lights, 8k",
model="sd-turbo",
steps=4
)
print(f"Generated and saved to Gallery: {image_path}")
Node.js / TypeScript (npm)
npm install termux-diffusion
import { generate } from "termux-diffusion";
const result = await generate({
prompt: "Cyberpunk Seoul city at night, neon lights, 8k",
model: "sd-turbo",
steps: 4
});
console.log("Image created:", result.outputPath);
📖 Official Documentation & Benchmarks
- Official Architecture & API Reference
- Ecosystem Metrics & Registry Stats
- AMEVA Open-Source Foundation Portal
📄 License
Licensed under the Apache-2.0 License. Copyright (c) 2026 Eunho Kim (@uno-km).
Metadata
Release files for termux-diffusion 1.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| termux_diffusion-1.4.5.tar.gz | 65.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| termux_diffusion-1.4.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 128.5 kB
Release files / termux_diffusion-1.4.5.tar.gz
| Download URL | termux_diffusion-1.4.5.tar.gz |
|---|---|
| Size | 65.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80ae6c6b5acd6e01f9ad6f7a9551be410ed3c0650b7d40c7e4b0ccf1407c08ae
|
|
BLAKE2b-256 checksum How to use checksums |
7221bce6b1c7b48e58a9b6feefae0476cccf0ae0389ecbb04dbbc7ee9ec8c5e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.0
|
Release files / termux_diffusion-1.4.5-py3-none-any.whl
| Download URL | termux_diffusion-1.4.5-py3-none-any.whl |
|---|---|
| Size | 62.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1e9891084898b1c25befb97b466cf1afa0308b1f3db24b86461a65af95139e5
|
|
BLAKE2b-256 checksum How to use checksums |
99e694a45120a18cf9ed078c5d4910c14beb778a83d04e139e94e726497498f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.0
|