---
title: "How Does Nemotron Labs Image 30B-A3B Generate Images?"
url: "https://goremy.ai/blog/articles/nemotron-labs-image-30b-a3b-autoregressive-image-model"
author: Luis Chavez-Mattos
editor: Luis Chavez-Mattos
editor_title: Director, Product
published: "2026-12-04T16:20:22.509Z"
updated: "2026-12-04T16:20:22.509Z"
topic: AI Models & Industry
description: "Nvidia's Nemotron Labs Image 30B-A3B writes images token by token like text, using a Mamba-hybrid LLM and a 196,560-entry Leech lattice codebook. Here's how."
---

# How Does Nemotron Labs Image 30B-A3B Generate Images?

> Nvidia's Nemotron Labs Image 30B-A3B writes images token by token like text, using a Mamba-hybrid LLM and a 196,560-entry Leech lattice codebook. Here's how.

Edited by Luis Chavez-Mattos, Director, Product · Published 2026-12-04

## What is Nemotron Labs Image 30B-A3B?

Nemotron Labs Image 30B-A3B is a research image model from Nvidia that generates pictures the way a chatbot writes sentences: one token at a time, left to right, top to bottom. It is built on the same 30-billion-parameter language model as Nvidia's Nemotron 3 Nano, with about 3 billion parameters active at once. The main change is a much larger vocabulary. Instead of only words, the model can "write" 196,560 kinds of small picture pieces. A separate decoder then turns the finished grid of tokens into pixels.

## TL;DR

- Nemotron Labs Image is **a language model with a bigger alphabet**: the vocabulary grows from about 131,000 to about 327,000 tokens, and the rest of the architecture matches Nemotron 3 Nano.
- Each token stands for a **16x16-pixel patch**, so a 1024x1024 image is a 64x64 grid of 4,096 tokens.
- The 196,560 picture-piece codes come from a **fixed mathematical structure called the Leech lattice**, not from a codebook learned during training.
- It is **fully autoregressive**: no diffusion, no noise cleanup over many steps. Each patch is written once, in order.
- Because it is token generation, **batching is cheap**. In one demo, a single GPU produced 16 images at once at over 1,700 tokens per second.
- It is a research release with a **non-commercial, evaluation-only license**, and only text-to-image is released so far.

## How does a language model generate an image?

Think of a mosaic. You lay down one tile at a time, in reading order, until the picture is complete.

Here is the process for a 1024x1024 image:

1. The image is cut into 16x6-pixel patches, as the video's creator describes it. That gives a 64x64 grid, or 4,096 patches.
2. Each patch becomes one token, chosen from a codebook of 196,560 possible picture pieces.
3. A special token marks the end of each row, much like a newline character in text. It tells the model to start the next line.
4. The model starts at the top left and predicts the next token, then the next, until the grid is full.
5. A separate decoder converts the tokens into pixels. From what the video's creator could tell, it is a ViT-style decoder (a transformer that works on patches), not a diffusion one. It runs once at the end.

The prediction step is the same as in a chat model. The model scores every entry in the codebook and samples one, using the same temperature and top-p settings you would use for text. The recommended temperature is 0.9. If you have ever run a language model locally, the setup will look familiar.

## How is this different from diffusion image models?

Most image generators of the past few years (Stable Diffusion, Flux, Qwen Image) use diffusion. They start with noise and clean up the whole image over a number of steps. Newer models need fewer steps, but the idea is the same: the entire canvas is refined together.

Nemotron Labs Image does none of that. Each patch is written once, and you can watch the picture appear row by row. In one demonstration of a travel poster, the headline showed up first because it sits at the top.

Autoregressive image generation is not new. Models like PixelCNN did it close to a decade ago. What is interesting here is the backbone: a modern hybrid mixture-of-experts language model doing the job.

## What is different from Nemotron 3 Nano?

Almost nothing, which is the point. Compared side by side, the two config files match: same 30B size, same 52 layers, same 128 experts. The one meaningful difference is the vocabulary size, which goes from about 131,000 tokens to about 327,000. The extra 196,560 entries are the picture pieces.

The released weights are not identical to the chat model, since it was trained further on image data. But the structure is the same. Nvidia's Nemotron 3 Nano Omni reads images. This model goes the other direction and makes them.

## Why does the Mamba-hybrid design matter?

Of the 52 layers, 23 are Mamba-style layers, 23 are mixture-of-experts layers, and only six are standard attention layers.

- **Mamba layers** keep a memory that stays the same size no matter how long the sequence gets.
- **Attention layers** have to look back over everything generated so far, which gets more expensive as the sequence grows.
- **Mixture-of-experts layers** route each token to a small subset of the 128 experts. That is why only about 3 billion of the 30 billion parameters are active at a time.

An image of about 4,000 tokens is short by language-model standards, since many models handle tens of thousands of tokens. But the mostly-Mamba design keeps generation cheap, and that helps when you generate many images at once.

## What is the Leech lattice codebook?

This is the unusual part. Most image tokenizers learn their codebook during training, which often leaves some entries used constantly and others almost never. Nemotron Labs Image uses a fixed codebook built from the Leech lattice.

The Leech lattice is a structure from 1960s mathematics, originally studied for packing spheres in 24 dimensions. In that arrangement, each sphere touches exactly 196,560 others. Each of those touching points becomes one picture token. That is where the number comes from, and why it isn't arbitrary.

The video's creator was open about not being a mathematician, and so am I. The practical takeaway is that the codes are set by geometry in advance rather than discovered by training. The exact way a 16x16 patch is mapped onto a lattice point is covered in Nvidia's paper, which is the place to look for details.

## How was Nemotron Labs Image trained?

- **Data:** about 374 million image-text pairs. Most come from web data. About 48 million are synthetic images made with Z-Image, an open diffusion model. The captions were written by Qwen 3.5 models.
- **Stages:** training started at 256-pixel resolution, then 512, then 1024.
- **Editing:** about 10% of training was image editing, where text plus an image goes in and a new image comes out. The paper is not fully clear on how editing was evaluated, and only the text-to-image version is released.
- **Reinforcement learning:** at the end, Nvidia used GRPO, the same reinforcement learning approach used for reasoning models, with a vision-language model acting as judge. That the technique carries over from text to images is a notable result.

## How well does it actually work?

In the creator's tests on a GB300-based workstation, results were solid for a research model:

| Test | Result |
|---|---|
| 4 images of a Singapore skyline | About 20 seconds, roughly 800 tokens per second across the batch |
| 8 different prompts in one batch | Under 30 seconds |
| 16 images (8 landmarks, 2 each), about 65,000 tokens | Around 40 seconds, over 1,700 tokens per second |

Batching works because this is plain token generation. vLLM, a common serving tool for chat models, can serve it like chat requests.

Text rendering, where image models often fail, was decent. A vintage poster with a headline and tagline came out spelled correctly on all four attempts. On a chalkboard with exact prices, most items were right, but unrequested text in the background was sometimes garbled.

One caution: the model card compares results against GPT Image 2 and Nano Banana Pro, but that comparison is for the full agent system (planning, generating several attempts, picking the best), not the downloadable model. That system, called Nemotron Labs Visual Creation, is not released yet. The creator also made clear this is not the best image model available. It is a research demonstration.

## What does this mean for you?

**If you use image tools at work:** nothing changes this week. The license is non-commercial and for evaluation only, so you can't put it into a product or a client deliverable. Keep using whatever tool you already have.

**If you are technical or technical-adjacent:** this is worth reading about. It suggests the same model family can handle text and images, and that generating many candidates and picking the best is cheap in this design. Expect more tools that generate several options and choose for you.

**If you manage a team that makes visual content:** the practical lesson is that spelled-out text in images is getting more reliable, but still needs a human check. Review every generated image for stray, misspelled text before it ships.

**What you can do now:** read the model card and paper, check the license before any experiment, and watch for the agent system's release.

## Could a team build its own image request workflow?

The subject here, generating many images and choosing the best, points to a small internal tool. With [Remy](https://goremy.ai), you can describe an app in plain English, such as an image request tracker where colleagues submit a brief, the app generates several candidates using image models from its catalog, and a reviewer approves one and logs it. Remy builds and deploys the full-stack app, with sign-in and a database included. That replaces a shared spreadsheet and a chain of email threads, and the code stays in a git repo you own.

## Frequently Asked Questions

### Can I use Nemotron Labs Image commercially?

No. The license that comes with the model is non-commercial and for evaluation only. Check the current license on the model page before using it for anything beyond testing.

### Is Nemotron Labs Image better than diffusion models?

The source material does not claim that. It is presented as a research piece showing that an autoregressive language model can produce good images. Its advantages are architectural: simple batching and standard LLM serving tools.

### What does "30B-A3B" mean?

It means 30 billion total parameters with about 3 billion active for each token. The model is a mixture of experts, so each token is routed to a few of its 128 experts rather than using the whole network.

### Can it edit images?

Not in the released version. About 10% of training involved image editing, but only the text-to-image model has been released so far.

### What is the Leech lattice in plain terms?

It is a geometric arrangement of points in 24 dimensions. Each point touches 196,560 neighbors, and those neighboring points serve as the model's fixed set of picture-piece codes.
