Pictor-27B: open-source model generates images by writing JS code, with code as reward signal
liu_mingyu · x · 2026-12-02
Liang Zheng's team released Pictor-27B, an open-source code-based image generation model post-trained from Qwen.
- Given a prompt, the model writes JS code that gets rendered into an image in the browser, mimicking the "draw with code" approach of frontier models but in open-source form.
- Key insight: this paradigm unlocks a new reward signal — the code itself. Comparing image, code, or both as rewards, they find both works best.
- This is the opening of a thread (1/n); more training details expected.
More from Models
- GLM-5.4 try link surfaces ahead of official release — Arindam_1729 · 2026-12-02
- MTVA-Bench tests LLMs on real phone calls; best models wait up to 7 seconds — auto_grad_ · 2026-12-02
- NVIDIA's Nemotron 4 340B Instruct quietly surfaced on Hugging Face, barely noticed — ilintar · 2026-12-02
- High-fidelity merged GGUFs for pi-tuned Inkling-2-Mini keep 97% at Q8 — EntropyMagnets · 2026-12-02
- Gemini Pro user reports month of failures: model rewrote his menu, swapped spaghetti for tacos — WonderfulZucchini910 · 2026-12-02
- GPT-6.2 Sol Medium called out for repeatedly botching how ChatGPT and Codex sessions work — starmanj · 2026-12-02