SnapFusion Puts Text-to-Image AI on an iPhone in Under 2 Seconds
Neutral Smartphones By What The Future Newsroom · June 2, 2023 · 2 min read

SnapFusion Puts Text-to-Image AI on an iPhone in Under 2 Seconds

SnapFusion, developed by researchers at Snap Inc and Northeastern University, generates a 512-by-512-pixel image from a text prompt on an iPhone 14 Pro in less than two seconds. It uses eight denoising steps and produces results approaching Stable Diffusion v1.5 quality, though the researchers say it still has many parameters and needs to support more phones.

SnapFusion is a text-to-image system designed to run directly on a smartphone. Researchers at Snap Inc and Northeastern University say it can create a 512-by-512-pixel image on an iPhone 14 Pro in less than two seconds, bringing diffusion image generation onto a device without relying on cloud inference.

“SnapFusion is a routine efficiency advance that brings image generation onto phones, with potential privacy benefits but no clear dominant societal risk.”Why it scores Neutral

Fewer steps, faster image generation

Image generators such as Midjourney 5.1, Stable Diffusion XL, and Adobe Firefly can produce high-quality graphics, but their models are large and computationally demanding. Running them at scale can require high-end GPUs and cloud services, which add expense and raise privacy concerns.

SnapFusion aims to reduce those demands through a more efficient network architecture and fewer inference steps. The researchers say the system uses eight denoising steps to produce an image from a text prompt. Qualcomm's method, which was also reported to generate images on a smartphone, requires 20 steps.

According to the team, SnapFusion's output approaches the quality of Stable Diffusion v1.5. The system's reported speed is less than two seconds on an iPhone 14 Pro, making it considerably faster than Qualcomm's method, which was shown generating images in less than 15 seconds.

Why running on a phone matters

When image generation runs on a smartphone, users may be able to create images without sending their prompts and requests to cloud-based inference services. That could address some of the privacy concerns associated with cloud processing, while reducing dependence on specialized hardware elsewhere.

SnapFusion's on-device approach also points toward a more direct form of content creation: a person can enter a text prompt and generate an image on the device in hand. The researchers describe their goal as making powerful text-to-image diffusion models available to users more broadly.

A demonstration video from the researchers shows the system running on the iPhone 14 Pro. Qualcomm had previously shown its method working on a smartphone with its latest high-end chip, the Snapdragon 8 Gen 2. The SnapFusion demonstration therefore shows a different route to mobile image generation, using its own architecture and reduced number of denoising steps.

Promising results, with limits

The reported performance is a research result, and the system has limitations. The researchers say SnapFusion still has a relatively large number of parameters. The article also reports the demonstration on an iPhone 14 Pro, with broader smartphone support identified as work needed to make the technology accessible to more users.

That device limitation matters because a fast image generator on one phone does not automatically make the same experience available across smartphones. Extending support is part of the work ahead, according to the researchers.

Snapchat has already worked with generative AI through its personal chatbot, My AI, which focuses more on text. SnapFusion shifts the focus to image creation and shows how diffusion models might run locally on a phone, while leaving questions of model size and device compatibility unresolved.

What SnapFusion shows

SnapFusion combines a faster generation process with output that the team says comes close to Stable Diffusion v1.5. Its less-than-two-second result on an iPhone 14 Pro suggests that text-to-image diffusion can be brought to a smartphone under the demonstrated conditions.

The next steps described by the researchers are practical ones: reducing the model's parameter burden and making it work on more smartphones. Until then, SnapFusion offers a glimpse of mobile image generation, rather than a capability established for phones broadly.

Artificial intelligenceSmartphonesImage generation
← Back to the wire

Read next