Adafruit iconAdafruitSep 1, 2026 ~3 min source read

Pico-Faces: A 1‑Dollar RP2350 Generates 128×128 Face Images Locally

Developer cpldcpu ported a latent flow diffusion transformer to the Raspberry Pi Pico 2 (RP2350), producing 128×128 RGB portraits in 5–20 seconds and outputting them over VGA or USB.

A GenAI image generation model on a Raspberry Pi Pico 2 (RP2350)

Share this story

Send the public story page.

Useful takeaways from this story.

A compact latent flow diffusion transformer (DiT) runs on the RP2350 in two sizes: 2.9M and 1.7M parameters, producing 128×128 RGB faces.

Images generate in about 5–20 seconds per sample and can be displayed via VGA or streamed over USB to a desktop viewer.

The model refines outputs across diffusion steps and supports conditional generation across five classes (gender, smile, neutral).

# What happened Developer cpldcpu squeezed an image generation model onto the Raspberry Pi Pico 2's RP2350 microcontroller. The project, called Pico‑Faces, generates 128×128 RGB images of human faces and outputs them to a VGA monitor or streams them over USB.

# What the model is and how small it is Pico‑Faces implements a latent flow diffusion transformer (DiT), the same general architecture used in some larger image generation models but heavily compressed. Two released variants are 2.9 million and 1.7 million parameters. For context, typical local diffusion models are roughly 5,000 times larger.

# Performance and output

  • Image size: 128×128 RGB.
  • Generation speed: roughly 5–20 seconds per image on the Pico 2, depending on variant and settings.
  • Conditional controls: supports five classes covering gender, smile, and neutral expressions.

Outputs can be sent to a VGA display using a Pico VGA adapter or streamed as image data over USB serial to a host machine for rendering with Python libraries.

# How to try it quickly

  1. Put the Pico 2 into BOOTSEL mode and copy the provided UF2 file to the RPI‑RP2 drive.
  2. On the desktop, install pyserial, matplotlib, numpy, and Pillow to run the viewer that renders images streamed over USB.

That lets you test the prebuilt firmware without rebuilding the model or needing a GPU.

# Rebuilding and retraining options

  • Full retrain pipeline: dataset download, VAE and decoder training, latent generation, DiT training, calibration, and quantization‑aware training. The full retrain takes about a day on a CUDA GPU.

The developer notes that many optimizations used for larger models were also necessary to make the microcontroller build work.

# Why this matters for hobbyists and makers This project shows how model architecture choices plus compression and careful optimization can fit generative image models onto very constrained hardware. It opens practical possibilities for offline image generation in embedded projects where size, cost, or connectivity are limiting factors.

# Where to learn more Source code, checkpoints, and build instructions are available on the project's GitHub. The Adafruit post summarizes the project and links to the repository, and an accompanying Learn Guide expands on running Pico‑Faces on alternative video output hardware like Fruit Jam or HSTX/DVI.

# Practical uses and experiments to try

  • Hook the Pico 2 to a small VGA display for a standalone generative art toy.
  • Stream images to a PC and combine them with simple UI controls to change conditioning (gender, smile, neutral).
  • Use the checkpoints as a starting point for further quantization or retraining targeted at custom datasets.

Pico‑Faces provides a tested firmware workflow and a retrain path for makers who want to explore tiny, on‑device generative models.

More context around this story.

GPT Images 2.5: новая нейросеть для генерации изображений от OpenAI
Habr iconHabrSep 9, 2026

GPT Images 2.5: новая нейросеть для генерации изображений от OpenAI

Как же за всем этим успевать? За это время вышли ещё и обновлённый DeepSeek, и результаты по Навье-Стоксу. На этом фоне у GPT Images 2.5 были все шансы потеряться. Не потерялся. Разве что реддит-модер ненадолго снёс официальный пост OpenAI из-за «вторника без картинок»... Так вот, 8 сентября 2026 года OpenAI выпустила

Raspberry Pi 10000
Adafruit iconAdafruitSep 14, 2026

Raspberry Pi 10000

Super cool recent build from Indian maker Arnov Sharma: The main reason for making this project was actually pretty simple. I was already using the Pi 500+ with my USB recording microphone for voice-over work, and I kept thinking it really needed its own screen. See more details here on Instructables and YouTube.

AI бЂ”бЂЉбЂєбЂёбЂ•бЂЉбЂ¬бЂЂбЂ­бЂЇ бЂЎбЂ™бЂјбЂ”бЂєбЂ†бЂЇбЂ¶бЂё бЂњбЂ±бЂ·бЂњбЂ¬бЂ”бЂЉбЂєбЂё
Medium iconMediumSep 5, 2026

AI бЂ”бЂЉбЂєбЂёбЂ•бЂЉбЂ¬бЂЂбЂ­бЂЇ бЂЎбЂ™бЂјбЂ”бЂєбЂ†бЂЇбЂ¶бЂё бЂњбЂ±бЂ·бЂњбЂ¬бЂ”бЂЉбЂєбЂё

AI (Artificial Intelligence) နည်းပညာက အá€á€¯á€¡á€á€»á€­á€”်မှာ နေရာá€á€­á€¯á€„်းမှာ ရှိနေပါပြီዠဒါပေမဲ့ “AI ကို ဘယ်ကနေ စလေ့လာရမလဲአအမြန်ဆုံး á€á€á€ºá€™á€¼á€±á€¬á€€á€ºá€¡á€±á€¬á€„်â

Loading more related stories...

Keep reading in the app

Open the app view to save this story, compare related coverage, and continue from the same source.

Open in app