Visual creation demands expressive imagery together with precise control over text, layout, and structure. We introduce Nemotron-Labs-VisualCreation, an agentic framework that connects these capabilities through Pixel as Code. Raster images are represented by learned discrete visual tokens, while structured artifacts use explicit programs. A shared generation-and-rendering interface connects these representations to visual feedback across images, vector graphics, webpages, and documents. A Nemotron-native harness coordinates planning and raster candidate selection, with targeted repair for editable structured and hybrid artifacts. To support this interface, we develop Nemotron-Labs-Image-Tokenizer, the autoregressive raster generator Nemotron-Labs-Image-30B-A3B, and the structured-code model family Nemotron-Labs-VisionCode. On approximately 178K images spanning six visual domains, our tokenizer improves reconstruction PSNR from 26.08 to 29.57 dB over Emu3.5 IBQ. It also provides 7.13x faster encoding and 10.93x faster decoding at batch size one on A100. In standalone evaluation, one Nemotron-Labs-VisionCode variant surpasses Kimi K3.1 Pro on the aggregate across Chart2Code, MMSVG, Design2Code, and Image2Struct. At the system level, the Nemotron-native configuration raises GenEval2 Soft-TIFA GM from 31.71 to 52.56 using the same raster generator. With our best setting, Nemotron-Labs-VisualCreation achieves performance competitive with GPT Image 2 and Nano Banana Pro across most benchmarks with available comparisons.
Figures & tables
Figure 1: Pixel as Code at a glance. Learned visual tokens and explicit programs provide complementary representations for raster images and editable structured artifacts. Their renderers connect both representations to visual outputs that agents can inspect. Hybrid artifacts combine raster assets with structured layouts. Representations are schematic; thumbnails show representative system outputs. Figure 5 details the route-specific generation, selection, and repair workflows.
Figure 2: Raster image generation examples from Nemotron-Labs-VisualCreation. The examples span illustrated infographics, text-rich compositions, portraits, stylized typography, and product imagery, illustrating diverse visual styles and content requirements.
Figure 3: Raster image generation examples from Nemotron-Labs-VisualCreation, spanning natural landscapes, wildlife, and portraiture. The examples showcase fine visual detail, diverse lighting conditions, and a range of textures and compositions.
Figure 4: Editable structured artifacts created by Nemotron-Labs-VisualCreation, including webpages, mobile interfaces, vector icon systems, presentation slides, scientific figures, and charts. The framework combines generated visual assets with explicit representations to compose text, graphics, and layouts that can be rendered and further edited.
Figure 5: Route-specific control flow in the Nemotron-native creation harness. Ultra denotes Nemotron 3 Ultra, Super-VL denotes Nemotron-3.5-Super-VL, and Image denotes Nemotron-Labs-Image-30B-A3B. Direct raster outputs use visual candidate selection. Browser artifacts use the Dual Coder and a bounded repair loop; repairs may update assets, the plan, or code according to the diagnosed cause. Native formats use their own generation and review workflows. Nemotron-Labs-VisionCode is evaluated separately in Section 6.3 .
Figure 6: The representation–renderer interface underlying the creation harness. Learned visual tokens, SVG, and HTML/CSS are discrete representations with corresponding rendering backends. All routes support visual inspection; the dashed return path denotes revision of editable structured and hybrid artifacts. Direct raster outputs use candidate selection, as shown in Figure 5 .
Figure 7: Representative examples of self-correction. Red annotations identify issues in the initial renderings, while green annotations highlight the corresponding repairs.
Hyperparameter
Value
Transformer architecture
Implementation class
VITVQModel
Parameters
Approximately 642M
Encoder / decoder layers
24 / 24
Hidden width / attention heads
1,024 / 16
MLP ratio
4
Table 1: Nemotron-Labs-Image-Tokenizer architecture. The encoder produces discrete visual codes and the decoder renders them into raster images.
Hyperparameter
Value
Reconstruction and distillation
Pixel reconstruction / weight
Mean absolute RGB error in [−1,1] / 1.0
Perceptual loss / weight
LPIPS / 0.1
Distillation teacher / weight
DINOv2 ViT-L / 0.1
Distillation objective
Negative mean cosine similarity
Distillation attachment
Decoder block 3, followed by an MLP
Table 2: Image tokenizer training configuration through 670K steps. AdamW optimizes both the tokenizer autoencoder and the discriminator; Table 3 gives the effective learning rates.
Training steps
Multiplier m(t)
Learning rate η(t)
Encoder
0–300K
1.0
1.024×10−4
Trainable
300K–480K
0.6
6.144×10−5
Trainable
480K–670K
0.36
3.6864×10−5
Frozen
Table 3: Tokenizer learning-rate stages. The multiplier scales the base rate after world-size and nominal-batch-size scaling. The codebook is frozen throughout training.
Configuration
Mid-Training Stage 1
Mid-Training Stage 2
Mid-Training Stage 3
Reinforcement Learning
Maximum image pixels
2562
5122
10242
–
Optimization
LR scheduler
Constant
Constant
Constant
Constant
Learning rate (Muon)
1×10−3
1×10−3
1×10−3
–
Learning rate (Adam)
1×10−4
1×10−4
1×10−4
2×10−6
Optimizer (Muon)
μ=0.95 , Polar Express, spectral-norm LR adjustment
–
Table 4: Raster image generator training configurations. For Nemotron-Labs-Image-30B-A3B, we report three arbitrary-resolution mid-training stages with increasing maximum image pixel counts and the mixed-resolution reinforcement-learning stage. Aspect ratios vary within each mid-training stage. T2I denotes text-to-image generation; TI2I denotes generation conditioned on both text and source or reference images. The optimizer configuration uses Muon ( Jordan, 2024 ) with Polar Express ( Amsel et al., 2026 ) and Adam ( Kingma and Ba, 2015 ) .
Figure 8: Selected examples from the mid-trained generator, the RL-aligned policy, and the complete agentic creation system for the same user requests. These examples illustrate visual text rendering, surface detail, and counting. The columns compare complete configurations; the agentic workflow includes planning, external information, generation, and selection.
Figure 9: Training progression (continued). These examples illustrate dense scene composition, fine-grained actions, and adherence to a requested artistic style. Prompts and generated outputs are retained from the supplied comparison images.
Figure 10: Stage I saturation diagnostics. (a) RL reward over valid images; the light and dark curves show per-iteration values and a short-window median. (b) Fraction of fully valid groups satisfying Eq. 9 , audited every ten iterations; markers and line show the observations and their trend.
Metric
Emu3.5 IBQ
Nemotron-Labs-Image-Tokenizer (ours)
Reconstruction fidelity
PSNR (dB) ↑
26.08
29.57
SSIM ↑
0.781
0.834
LPIPS ↓
0.0855
0.0713
GMSD ↓
0.0994
0.0675
Feature-distribution distance
Table 5: Overall tokenizer reconstruction quality on approximately 178K images across six visual domains. MUSIQ and CLIP-IQA score reconstructed images without a reference. The Laplacian-variance ratio has a target value of 1. Bold marks the better value for each metric.
Figure 11: Qualitative tokenizer reconstruction on selected GPIC images ( Chandrasegaran et al., 2026 ) . Red boxes mark the regions compared in the three crop columns. Each row uses the same 256×256 region from the original image and both reconstructions, shown at the same scale. The examples illustrate fine-line continuity, diagram contours, and fabric texture; Nemotron-Labs-Image-Tokenizer uses the 670K-step checkpoint.
Figure 12: Tokenizer throughput on one NVIDIA A100-SXM4-80GB or L4 GPU, using BF16 and 1024×1024 inputs. Nemotron-Labs-Image-Tokenizer uses the 670K-step checkpoint. The upper row compares batch size 1; the lower row shows the reported peak batches on A100 and largest tested runnable batches on L4. B denotes batch size; ∗ marks L4 short runs. All panels share the same linear scale. Larger L4 batches do not maximize throughput.
Model / configuration
Params
GenEval ↑
GenEval2 GM ↑
UniGen++ EN ↑
UniGen++ EN-Long ↑
Closed-source models
GPT Image 2
Undisc.
89.00
81.00
–
–
Nano Banana 2.0
Undisc.
83.00
–
–
–
Nano Banana Pro †
Undisc.
–
59.00
92.72
94.20
Qwen-Image 3.0
Undisc.
–
76.00
–
–
Qwen-Image 2.0
Undisc.
–
48.00
–
–
Table 6: Compositional generation and prompt following. GenEval2 reports Soft-TIFA GM; UniGenBench++ reports English short- and long-prompt scores. Both agentic configurations use the same image generator as the standalone model.
Model / configuration
Params
LongTextBench-EN ↑
CVTG-2K-EN ↑
Closed-source models
GPT Image 2
Undisc.
96.00
90.03
Nano Banana 2.0
Undisc.
98.00
78.75
Nano Banana Pro
Undisc.
97.60
77.90
Qwen-Image 3.0
Undisc.
98.20
–
Seedream 5.0 Pro
Undisc.
94.10
–
Table 7: Visual text rendering on LongTextBench and CVTG-2K, using their English settings. Both agentic configurations use the same image generator as the standalone model.
Model / configuration
Params
OneIG-EN ↑
Qwen-Image-Bench EN ↑
Closed-source models
GPT Image 2
Undisc.
51.60
65.23
Nano Banana 2.0
Undisc.
57.80
59.59
Nano Banana Pro
Undisc.
58.30
59.33
Qwen-Image 3.0
Undisc.
56.30
–
Qwen-Image 2.0
Undisc.
54.10
57.90
Table 8: Broad visual-generation evaluation on OneIG and Qwen-Image-Bench, using their English settings. Both agentic configurations use the same image generator as the standalone model.
Model / configuration
Params
WISE Verified ↑
Closed-source models
Nano Banana Pro
Undisc.
87.60
Qwen-Image 2.0
Undisc.
79.54
Open-weight models
FLUX.2 Dev
24B + 32B
56.50
Qwen-Image
7B + 20B
51.00
Table 9: Knowledge and reasoning in visual creation. WISE uses the Verified protocol. Both agentic configurations use the same image generator as the standalone model.
Model / configuration
Params
BizGenEval ↑
Closed-source models
GPT Image 2
Undisc.
83.2
Nano Banana 2.0
Undisc.
68.5
Nano Banana Pro
Undisc.
76.7
Qwen-Image 2.0
Undisc.
45.5
Seedream 5.0 Pro
Undisc.
48.8
Table 10: Commercial visual design on BizGenEval. The standalone raster image generator result is unreported. Both agentic configurations use the same image generator as the standalone model.
Layout mode ; canvas dimensions, safe margins, and overflow policy; ordered regions with stable section identifiers, normalized bounds or flow order, component and text budgets; and feasibility checks performed before code generation.
Acceptance checklist
Stable checklist identifier, observable criterion, associated requirement identifiers, verification mode, source, frozen status, and content hash. The checklist is fixed before candidate generation and remains unchanged during repair.
Audit issue
Repair target, stable artifact selector, affected requirement and checklist identifiers, evaluated viewport, evidence image, optional asset identifier, visible evidence, and an executable repair instruction.
Repair action, active and deferred issues, root-cause tree, repair scope, selected assets, frozen unaffected regions, and the accepted-repair and total-cycle limits.
Appendix
Table 13: Principal machine-readable records used by the creation harness.
Control
Default limit
Raster candidates per generation job
4
Repair candidates per cycle
2
Accepted automatic repairs
3
Total attempted repair cycles
8
Layout-replan attempts
1
Search-template-replan attempts
1
Appendix
Table 14: Default control limits for candidate generation, repair, and checkpoint selection.
Table 15: Image sources for the six-domain tokenizer reconstruction evaluation. Counts are rounded totals for the images used here; individual dataset release sizes are not shown.
Domain
Tokenizer
PSNR (dB) ↑
SSIM ↑
LPIPS ↓
GMSD ↓
Natural photos
Emu3.5 IBQ
23.65
0.678
0.109
0.123
(55.1K images)
Nemotron-Labs-Image-Tokenizer (ours)
26.26
0.738
0.099
0.093
Documents / OCR
Emu3.5 IBQ
24.88
0.860
0.061
0.095
(24.3K images)
Nemotron-Labs-Image-Tokenizer (ours)
29.51
0.909
0.041
0.054
Charts / diagrams
Emu3.5 IBQ
25.51
0.917
0.041
0.080
(21.0K images)
Nemotron-Labs-Image-Tokenizer (ours)
30.86
0.946
0.023
0.041
Appendix
Table 16: Reconstruction fidelity by visual domain. Approximate domain sizes are shown in thousands of images. Bold marks the better value within each domain.
Domain
Tokenizer
FID ↓
FD-DINOv2 ↓
MUSIQ ↑
CLIP-IQA ↑
Lap-var ratio →1
Natural photos
Emu3.5 IBQ
26.35
15.83
65.57
0.555
0.854
(55.1K images)
Nemotron-Labs-Image-Tokenizer (ours)
26.48
12.29
65.28
0.545
0.920
Documents / OCR
Emu3.5 IBQ
48.09
14.94
58.40
0.538
0.922
(24.3K images)
Nemotron-Labs-Image-Tokenizer (ours)
47.66
5.94
58.44
0.550
1.032
Charts / diagrams
Emu3.5 IBQ
62.16
29.93
61.95
0.709
0.902
(21.0K images)
Nemotron-Labs-Image-Tokenizer (ours)
61.50
7.85
62.24
0.709
1.042
Appendix
Table 17: Feature-distribution distances, no-reference quality, and sharpness by domain. MUSIQ and CLIP-IQA evaluate the reconstructions. For the Laplacian-variance ratio, proximity to 1 determines the highlighted value; values above 1 are not inherently better.
Tokenizer / encoding
PSNR (dB) ↑
SSIM ↑
MS-SSIM ↑
LPIPS ↓
rFID ↓
Emu3.5 IBQ
22.13
0.5909
0.8387
0.1254
0.5482
Nemotron-Labs-Image-Tokenizer (native)
24.16
0.6529
0.8858
0.1209
0.8595
Nemotron-Labs-Image-Tokenizer ( 2× scale)
28.27
0.8076
0.9559
0.0610
0.4235
Appendix
Table 18: ImageNet-1K validation under arbitrary-resolution evaluation. Bold marks the better value between Emu3.5 and native-scale Nemotron-Labs-Image-Tokenizer. The separate 2× Nemotron-Labs-Image-Tokenizer setting doubles each spatial dimension before encoding and resizes the reconstruction back, using approximately four times the native token count.
Figure 13: Additional tokenizer reconstructions on selected GPIC images: a scanned form, a printed book, signs, and product packaging (top to bottom). Red boxes identify the same 256×256 region shown in each crop column. The comparisons show differences in layout, strokes, and repeated patterns; both tokenizers still alter small characters and digits.
Figure 14: Additional tokenizer reconstructions on selected GPIC images: wood texture, leaf veins, reflective glass, and a portrait (top to bottom). Each row compares identical 256×256 regions at the same scale. These examples complement the structured-content comparisons with natural texture, material appearance, and facial detail.
Large language models (LLMs) can generate visual assets through text-based formats such as SVG and CAD, but these symbolic representations describe images using high-level primitives rather than explicit raster values. We ask whether LLMs can instead generate pixel images directly through their existing vocabulary, without a learned image tokenizer or decoder. We introduce PixelBench, a benchmark for text-to-pixel (T2P) and image-to-pixel (I2P) generation across multiple resolutions, together with a complementary pixel-understanding evaluation. Models generate an RGB color palette followed by a grid of indices specifying the palette color of each output pixel. In T2P, the strongest models produce recognizable images directly from text. In I2P, the strongest models outperform palette-matched downsampling and specialized pixelization algorithms at low resolutions. Pixel-understanding performance correlates strongly with generation performance. A resolution-scaling study shows that pixel-generation performance often improves initially before declining at high resolutions. Finally, we introduce Pixel Reconstruction Tuning (PRT), which augments visual instruction tuning with caption-palette-grid trajectories. We post-train Molmo2-4B from its pretraining checkpoint by mixing general instruction data with our curated PRT data, improving performance across 16 visual-centric benchmarks, indicating that explicit pixel reconstruction can provide useful auxiliary supervision.
We introduce QuadTok, a novel framework for visual tokenization and autoregressive image generation. Compared to traditional approaches using 2D grids or 1D token sequences, we propose a hierarchical quadtree structure, bridging the gap between 2D spatial binding and 1D sequence-level flexibility. The QuadTok tokenizer dynamically allocates representational capacity to visually intricate areas while leaving homogeneous regions at a coarse resolution. Compared with a fixed 256-token grid, our ImageNet-trained tokenizer saves approximately 10% of tokens on ImageNet and 9% when transferred zero-shot to the COCO dataset, while maintaining comparable reconstruction fidelity. Furthermore, the natural causality introduced by the tree structure seamlessly enables autoregressive image generation. Conditioned on a quadtree topology supplied before generation, our 947M GPT-style generative model achieves a 2.08 gFID on the ImageNet 256×256 benchmark. Additionally, leveraging the strong spatial correlation preserved by the quadtree structure, the QuadTok generator enables zero-shot spatially controlled image generation capabilities. Code: https://github.com/myc634/QuadTok.
Pixel art is widely used in games and digital content creation, requiring readable forms, coherent spatial relationships, and harmonious colors under limited resolution and palette constraints. Language models show growing promise in visual creation, yet their pixel art creation capabilities lack systematic evaluation. We introduce PixelBench, formalizing text-to-image generation and instruction-guided editing for pixel art and providing a benchmark for these tasks. We further present a creation environment in which language model agents invoke drawing tools through code to generate and edit pixel art. We assess the quality of generated artwork through human evaluation and employ a multimodal large language model as a judge, validating the agreement between its automated assessments and human preferences. We compare language models and configurations across diverse subjects and canvas sizes. In our experiments, GPT-6 Astra achieves both the highest average judge score and the best average human rank, highlighting the potential of general-purpose language models for pixel art creation. We release the tasks, all artworks, the human rankings, and the judge protocol.
Mutian Hong, Jianxuan Yao, Mingkun Yue +3
Westlake University · Mind Lab · ShanghaiTech University