Liu Liu

Draw Things - AI-assisted image generation in your pocket

Based on popular Stable Diffusion models, Draw Things helps you create images you have in mind in minutes rather than days. It is free, runs everything 100% offline on your device. It is fully-featured, allows you to do txt2img, img2img and inpainting.

Add a comment

Replies

Best
Oleg Zavorotnyi
Stable Diffusion in a pocket - what a dream! Thanks you!
Liu Liu
Hi, there. This is Liu. Draw Things starts as a crazy experimentation to see how today's phone stacks against powerful GPU cards. Luckily, I built Swift deep neural network library in the past a few years (https://libnnc.org/s4nnc) so it is relatively painless to migrate from PyTorch to Swift. From there, I made the stable diffusion models work on M1 chips (https://github.com/liuliu/swift-...) and then discovered it is painfully slow (around 1 minute on iPhone 14 Pro), but borderline usable on the top-of-the-line iPhone! Concurrently, works done by AUTOMATIC1111 and the r/stablediffusion community have shown us that image generation tools are not just toys. They are powerful productivity tool. With the right tweaks and knobs in place, it can go beyond text-to-image and tweak the image exactly to what you liked with text-guided image-to-image generation, text-guided inpainting, and various other tools (face restoration, super resolution, loopback, prompt matrix and more!). Combining that insight with the technologies I developed in public, Draw Things is my first trial to see if we can bring some of these development to masses. Not many people have powerful NVIDIA cards even if repos like AUTOMATIC1111 makes the installation as smooth as possible. There are many web-based tools available, but they either charge money to cover the expensive server-side GPU cost, or doesn't expose the full capabilities of these models and only allows you to play with text prompts. Similar stories on the mobile landscape, if not even more primitive. Draw Things is a leap from what we have on mobile before. It allows you to generate images from text prompt. But you can also select a toddler's drawing from the Camera Roll and use text-guidance to "beautify" it. You can erase some parts of a photo and fill it in with a dog, a cat or an alien saucer. Besides the official Stable Diffusion model, you can select other models each have their own unique style. This is a personal project without any financial backing or participation of a group. I designed and built it in the past 3 weeks. There are a lot of more features I want to build. As it is, Draw Things is 1% finished.
Gold_Man
@liuliu Will it be available for Android? It would be very good
Aditya Rajput
@liuliu Congratulations on the launch 🚀 Wish this was available as a web-app too. :P
Liu Liu
@adityasinghrajput Thanks! There are variety of web-apps that does this on server-side, such a dreamstudio.ai, midjourney etc. If you want to run it on your desktop with suitable hardware (NVIDIA cards), there is also AUTOMATIC1111's stable-diffusion-web-ui repository. The problem with server-side is it costs money to run therefore need to charge end-user anywhere from $0.01 to $0.1 per image. The problem with desktop install is the hardware limitation, otherwise it is a great choice. Draw Things tries to fill in the gap by making this advanced capabilities available to all iPhone users (I think the covered devices has about 100M if not more users!).
Craig Paterson
Looks like it would be great, but it doesn’t seem to accept my UK phone number
Liu Liu
@craigcpaterson Thanks! Yeah, if you visit https://draw.nnc.ai on the phone browser, it should give you a direct download link that you can tap. I will fix the phone number thing in the meanwhile.
Craig Paterson
@liuliu that's awesome, thank you for the speedy response. Looking forward to taking Draw Things for a spin.
Kate
Nice job!!!
Misha
Congrats on the launch!
Any Timer
Hello! Is there any beta test (testflight) builds? It doesn’t work on iPhone SE 2; I wish to help fix it :^)