How offline AI image generation works on your phone

An offline AI image generator keeps the whole picture maker on your device: a file of a few gigabytes that has learned what things look like. You download it once. After that, your phone turns your words into a picture by itself, step by step, without sending anything anywhere. This is how Lupine works, and why it makes pictures in airplane mode.

1. The one-time download

The picture maker is a large file of learned numbers, called a model. It was trained on many pictures and their descriptions, so it knows what a fox, a harbour at sunset or a watercolour looks like. In Lupine this part is called Lupine Bloom and it is about 5 GB. The app downloads it once, ideally over Wi-Fi, and keeps it on the phone. It is never downloaded again for each picture.

2. From words to a picture

Most of today's image generators, in the cloud or offline, work in the same three steps:

  1. Reading your words. A text part of the model turns what you typed into numbers that describe its meaning.
  2. Growing the picture. The picture starts as random noise. In a series of steps, the model removes a little noise each time, shaping it towards a picture that matches your words. This is why you can watch a picture in Lupine grow from a blur into detail.
  3. Turning it into pixels. A last part turns the result into the picture you see and save.

On a cloud app, these steps run on a server. In an offline generator like Lupine, they run on your phone's own chips.

3. Why it works in airplane mode

Once the model is on the phone, no step needs a server: not reading your words, not growing the picture, not saving it. That is why you can turn on airplane mode and keep going, and why what you type never leaves the phone. It also changes the price: a picture costs nobody server time, so it can be free and unlimited.

Cloud and on-device, side by side

QuestionOn your phone (Lupine)In the cloud
InternetOnly for the one-time downloadFor every picture
What you typeStays on the phoneSent to a server
Cost per pictureNoneCredits or a subscription
Storage on the phoneAbout 5 GBA small app
SpeedDepends on your phoneDepends on the server and your connection

What it asks of your phone

Is offline as good as the cloud?

The biggest cloud models are larger than what fits on a phone, so for some requests they do better. But models that fit on a phone have improved fast, and every new generation does more with less. Lupine updates its picture makers as better ones come out, so the pictures on your phone keep getting better. Judge for yourself: the gallery on our home page shows unedited pictures made with Lupine Bloom on a device.

Questions

Can an AI image generator work without internet?

Yes, if the model that makes the pictures is stored on the device. Lupine downloads it once (about 5 GB); after that it makes pictures in airplane mode.

How much storage does an offline AI image generator need?

Lupine needs about 5 GB of free storage for Lupine Bloom, the part that makes the pictures.

Is offline image generation slower than the cloud?

Usually a little, because a phone has less computing power than a server. It depends on your device, and newer phones are faster. In return you need no connection and pay nothing per picture.

Does offline AI image generation drain the battery?

Making a picture is heavy work for a phone, so it uses battery and the phone can get warm, much like a demanding game.

Is my data safer with an offline generator?

Yes. With Lupine, what you type and the pictures you make never leave your phone, and there is no account.

More about Lupine

Written by Sascha Heyer, who makes Lupine. Last updated .