Giter Club home page Giter Club logo

stable-diffusion-android's Introduction

Header

Stable-Diffusion-Android

Google Play F-Droid

Google Play F-Droid Izzy On Droid

Stable Diffusion AI is an easy-to-use app that lets you quickly generate images from text or other images with just a few clicks. With this app, you can communicate with your own server and generate high-quality images in seconds.

Features

  • Can use server environment powered by AI Horde (a crowdsourced distributed cluster of Stable Diffusion workers)
  • Can use server environment powered by Stable-Diffusion-WebUI (AUTOMATIC1111)
  • Supports original Txt2Img, Img2Img modes
    • Positive and negative prompt support
    • Support dynamic size in range from 64 to 2048 px (for width and height)
    • Selection of different sampling methods (available samplers are loaded from server)
    • Unique seed input
    • Dynamic sampling steps in range from 1 to 150
    • Dynamic CFG scale in range from 1.0 to 30.0
    • Restore faces option
    • ( Img2Img ONLY ) : Image selection from device gallery (requires user permission)
    • ( Img2Img ONLY ) : Capture input image from camera (requires user permission)
    • ( Img2Img ONLY ) : Fetching random image for the input
  • In-app Gallery, stored locally, contains all AI generated images
    • Displays generated images grid
    • Image detail view: Zoom, Pinch, Generation Info.
    • Export all gallery to .zip file
    • Export single photo to .zip file
  • Settings
    • WebUI server URL
    • Active SD Model selection
    • Server availability monitoring (http-ping method)
    • Enable/Disable auto-saving of generated images
    • Clear gallery / app cache

Setup instruction

Option 1: Use your own Automatic1111 instance

This requires you to have the AUTOMATIC1111 WebUI that is running in server mode.

You can have it running either on your own hardware with modern GPU from Nvidia or AMD, or running it using Google Colab.

  1. Follow the setup instructions on Stable-Diffusion-WebUI repository.
  2. Add the arguments --api --listen to the command line arguments of WebUI launch script.
  3. After running the server, get the IP address, or URL of your WebUI server.
  4. On the first launch, app will ask you for the server URL, enter it and press Connect button. If you want to change the server URL, go to Settings tab, choose Configure option, and repeat the setup flow.

If for some reason you have no ability to run your server instance, you can toggle the Demo mode swith on server setup page: it will allow you to test the app and get familiar with it, but it will return some mock images instead of AI-generated ones.

Option 2: Use AI Horde

AI Horde is a crowdsourced distributed cluster of Image generation workers and text generation workers.

AI Horde requires to use API KEY, this mobile app alows to use either default API KEY (which is "0000000000"), or type your own. You can sign up and get your own AI Horde API KEY here.

Option 3: Use SDAI Cloud

Disclaimer: This option is only available in GooglePlay app version.

Google Play app version includes some proprietary libraries (like Firebase and Google AdMob) to monetize this option. This functionality is NOT a part of the FOSS build and will be never included in FOSS build

SDAI Cloud is the AUTOMATIC1111 hosted by author of this app as an option for users that for some reason are not able to run or host their own AUTOMATIC1111 instance.

Hosting this instance costs some money, and as this project is non-profitable the usage of SDAI Cloud is monetized by ads. Also the SDAI Cloud may not be available full-time, as this is running on the app author's own bare-metal machine which is hosted in Ukraine, as this area now is a warzone electricity and network downtimes can happen sometimes.

Supported languages

App uses the language provided by OS default settings.

User interface of the app is translated for languages listed in this table:

Language Since version Status
English 0.1.0 Translated
Ukrainian 0.1.0 Translated
Turkish 0.4.1 Translated

Any contributions to the translations are welcome.

Donate

Main foss flavor of the app is open source, and you are welcome to use it for free. Only play flavor contains small ad-banner at the bottom navigation.

The donation is optional, if you'd like to say thanks and show a little support, here is the button:

"Buy Me A Coffee"

stable-diffusion-android's People

Contributors

shifthackz avatar umut-ore avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.