Last updated
Qwen3.5-4B-3D-Coder: generating Three.js scenes with a 4B model
It generates scenes, but the code still needs review: this is a 4B experiment, not an official release.
Qwen3.5-4B-3D-Coder is an independent fine-tune of Qwen3.5-4B aimed at Three.js scene generation. It is Apache-2.0 with 9.08 GB of weights, and the Q4_K_M and Q8_0 GGUFs accept a reference image when paired with a 644 MiB vision projector.
What this model produces
It does not export a 3D file. It writes Three.js code that renders a scene in the browser, so the result is source you can publish as is.
The card describes an experiment into how well a small 4B model handles 3D scenes, so treat it as a work in progress rather than a finished product.
- GGUF vs MLX: which model format should you download?
- Mirage: pulling objects and text from photos with a 220 MB vision model
- MiniMax-H3-Image in practice: prompt expansion and 16 MP output
- Idol: one photo to a 3D splat in two seconds on 7.2 GB of VRAM
- Viggle-Remake: an agent finds the cuts and repaints them
- SAM3 segmentation for images and video: from access approval to the first mask
- MiniMax-H3-Image on a 12 GB card: comparing GGUF Q3 to Q8

Why provenance comes first
This is not an official Qwen release. The card states plainly that it is not, and that an independent developer shared training progress.
So even with Qwen in the name, support and update plans follow the card author. Check the repository's current state before using it at work.
Runtime setup
The GGUF1 builds run on llama.cpp: Q4_K_M uses less memory and Q8_0 slightly better quality. At 4B neither is heavy.
For image reference, download the vision projector: about 644 MiB, shared by both quantizations. Without mmproj the model takes text only.
# 텍스트만 쓸 때
llama-cli -m Qwen3.5-4B-3D-Coder-Q4_K_M.gguf \
--temp 0.3 -p "격자 위에 놓인 나무 의자 장면을 Three.js로 만들어 줘"
# 참조 이미지까지 쓸 때 (mmproj 동봉)
llama-cli -m Qwen3.5-4B-3D-Coder-Q8_0.gguf \
--mmproj mmproj-Qwen3.5-4B-BF16.gguf -p "이 사진과 같은 구도로 만들어 줘"
How to review the output
Check the console first: Three.js code from a 4B model can halt on typos or non-existent APIs, and a black screen usually traces back to that.
Then check lighting and camera: a dark scene or an off-screen object means the composition diverged. Finally confirm resource limits.

Terminology notes
GGUF — A file format for model data, widely used by llama.cpp-based tools.
Back to the text
Frequently asked questions
- What should you check first in this article?
- Qwen3.5-4B-3D-Coder is an independent fine-tune of Qwen3.5-4B aimed at Three.js scene generation. It is Apache-2.0 with 9.08 GB of weights, and the Q4_K_M and Q8_0 GGUFs accept a reference image when paired with a 644 MiB vision projector.
Read next
Idol: one photo to a 3D splat in two seconds on 7.2 GB of VRAM
Model setup recipes
Create a 3D asset from one photo with TRELLIS.2
Executable programs and extensions
llama.cpp: finding which settings are slowing you down
Image and video generation
Local image generation: software, hardware and your first image
