Offline, open-source image generator built on Stable Diffusion XL that lets you focus on prompts instead of manual parameter tuning.
xororz/local-dream
Android app that runs Stable Diffusion image generation on-device, using Snapdragon NPU acceleration with CPU/GPU fallback.
- Stars
- 3,737
- Forks
- 263
- Open issues
- 100
- Last commit
- 17 hours ago
What is it?
Local Dream is an Android app for running Stable Diffusion models directly on a phone or tablet, without a server. It uses Qualcomm Snapdragon NPUs through the QNN SDK for hardware-accelerated inference, and falls back to CPU or GPU inference through MNN when an NPU is not available.
The project focuses on SD1.5 and SDXL models. SD1.5 runs on Snapdragon NPUs with Hexagon V68 or newer, while SDXL NPU support is limited to Snapdragon 8 Gen 3 and newer devices. CPU/GPU inference also works with imported SDXL MNN packages, though large SDXL models need considerably more memory than SD1.5.
The app is free and open source. Detailed setup and usage guides are hosted on a separate guide site.
Key features
- 01Runs Stable Diffusion image generation locally on Android devices.
- 02Uses Qualcomm Snapdragon NPU acceleration via the QNN SDK.
- 03Falls back to CPU or GPU inference through MNN.
- 04Supports SD1.5 and SDXL models, with imported SDXL MNN packages for CPU/GPU.
Use cases
- Generating images from text prompts on a Snapdragon Android phone without cloud services.
- Running img2img and inpainting workflows offline on mobile hardware.
- Experimenting with Stable Diffusion models on-device for privacy-sensitive prompts.
Quick start
- 1
Install the app from the official guide site
- 2
Read the user guide for setup instructions
Things to know
- Android only; no desktop or iOS version.
- NPU acceleration requires Snapdragon chips with Hexagon V68 or newer, and SDXL needs Snapdragon 8 Gen 3 or newer.
- SD2.1 is no longer maintained, and the project focuses on SD1.5 and SDXL.
- Large SDXL models need substantially more memory than SD1.5 on CPU/GPU.
Topics
FAQ
- What is local-dream?
- Android app that runs Stable Diffusion image generation on-device, using Snapdragon NPU acceleration with CPU/GPU fallback. Local Dream is an Android app for running Stable Diffusion models directly on a phone or tablet, without a server. It uses Qualcomm Snapdragon NPUs through the QNN SDK for hardware-accelerated inference, and falls back to CPU or GPU inference through MNN when an NPU is not available.
- Is local-dream free to use? What license does it have?
- local-dream is open source under the Other license. Check the license terms before using it in commercial products.
- Is local-dream still maintained?
- Actively maintained. The last commit to local-dream was on Oct 20, 2026.
- What can I use local-dream for?
- Generating images from text prompts on a Snapdragon Android phone without cloud services. Running img2img and inpainting workflows offline on mobile hardware. Experimenting with Stable Diffusion models on-device for privacy-sensitive prompts.
- How do I install local-dream?
- Install the app from the official guide site Read the user guide for setup instructions
- Where can I get local-dream?
- The source code and installation instructions are on GitHub: https://github.com/xororz/local-dream
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A web-based creative engine for generating and editing images with Stable Diffusion and other AI models, featuring a unified canvas and node-based workflows.
An Android and iOS app from Google AI Edge for trying open-source LLMs and on-device GenAI use cases offline on your phone.
A Krita plugin that brings generative AI image creation, inpainting and outpainting into your painting workflow, backed by a local or cloud ComfyUI server.
A Rust inference engine for running AI models directly inside apps, with on-device execution on Apple devices and optional cloud models.
An open-source personal agent that runs on your phone, computer and browser, does tasks, keeps working when the app is closed, and asks before irreversible actions.