Unofficial guide · checked Oct 21, 2026
ComfyUI MOSS Image setup guide
Run OpenMOSS's 5B MOSS Image model in ComfyUI: the three files to download, where they go, what fits your GPU, and fixes for the first errors.
- 5B DiT · Qwen3.5-9B text encoder
- Apache-2.0
- Released Oct 16, 2026
- Native in ComfyUI v0.42.0+
- English and Chinese text rendering
Set up MOSS-Image in ComfyUI
Native support, no custom nodes. Four steps.
- 1
Update ComfyUI to v0.42.0 or newer
Support was merged on Oct 16 (commit e087d8f6) and first shipped in v0.42.0 on Oct 18. The ComfyUI docs say 0.41.3 is enough, but 0.41.3 does not contain the change and fails with “Could not detect model type”.
- 2
Download three MOSS-Image files
A diffusion model, the Qwen3.5-9B text encoder and the FLUX.2 VAE, all from Comfy-Org/MOSS-Image on Hugging Face. The template set is about 13 GB; the picker below lists the exact files.
- 3
Open an official MOSS-Image template
Open the Template Library and search “MOSS-Image”. There are four: text to image and layout-guided text to image, each for SFT and Base.
- 4
Write the prompt and run
Describe the finished image, not your request. The prompt upsampler is on by default and expands short prompts with the same text encoder, which added about 12 s per image in our test; set enable_prompt_enhancer to false to send your prompt unchanged (the template's note calls it enable_prompt_upsampler).
Sources: ComfyUI PR #17095 · ComfyUI v0.42.0 · OpenMOSS ComfyUI README · docs.comfy.org
Which MOSS-Image files fit your GPU
Pick the model and your GPU memory. You get the exact files, the folder each one goes in, and a download command for each.
The template set: int8 model, w4a8 text encoder, small VAE. When VRAM runs short, ComfyUI moves parts to system RAM, so 6–8 GB cards also run, more slowly.
moss_image_sft_int8_convrot.safetensors
hf download Comfy-Org/MOSS-Image diffusion_models/moss_image_sft_int8_convrot.safetensors --local-dir ComfyUI/models
hf download Comfy-Org/MOSS-Image text_encoders/qwen3.5_9b_w4a8_gptq.safetensors --local-dir ComfyUI/models
hf download Comfy-Org/MOSS-Image vae/flux2-vae_small.safetensors --local-dir ComfyUI/modelsRun them in the folder that contains ComfyUI. They need the Hugging Face CLI: pip install -U huggingface_hub.
If huggingface.co is slow or blocked where you are, use the ModelScope links (same files) or point the HF_ENDPOINT environment variable at a mirror before running the commands.
Official VRAM requirements are not published. These picks follow the file sizes and ComfyUI's automatic offloading.
Recommended files by GPU memory
| GPU memory | Diffusion model | Text encoder | VAE | Total download |
|---|---|---|---|---|
| Under 16 GB | int8 · 5.41 GBmoss_ | w4a8 · 7.34 GBqwen3. | small · 0.25 GBflux2- | 13.01 GB |
| 16–23 GB | bf16 · 10.16 GBmoss_ | w4a8 · 7.34 GBqwen3. | small · 0.25 GBflux2- | 17.76 GB |
| 24 GB or more | bf16 · 10.16 GBmoss_ | int8 · 9.75 GBqwen3. | full · 0.34 GBflux2- | 20.25 GB |
Files shown are for the SFT model. The Base files are the same size: replace sft with base in the file name.
How long one image takes: our test
| Setup | Size | Steps | Time per image |
|---|---|---|---|
| Template, prompt upsampler off | 1024×1024 | 25 | 32 s |
| Template, prompt upsampler on (default) | 1024×1024 | 25 | 44 s |
| Template, prompt upsampler off | 1024×1024 | 50 | 64 s |
| Template, prompt upsampler off | 1920×1088 | 25 | 73 s |
| DeBand Fast (community) | 1024×1024 | 10 | 13 s |
Measured by us on Nov 12, 2026: RTX 3080 Laptop GPU (16 GB), 32 GB RAM, Windows 11, ComfyUI 0.44.0 with PyTorch 2.12.1 and CUDA 13.0. Template rows use the official text-to-image template with the SFT int8 model; DeBand Fast uses MATLOWAI's int8 file with its card's settings; every run used the w4a8 text encoder and the small VAE. Times are ComfyUI's “Prompt executed in” with the models already loaded; the first run after starting ComfyUI also reads them from disk and takes longer.
GPU memory in use peaked at 13.4 GB of 16 GB, or 15.2 GB with the prompt upsampler on; about 2.5 GB of that was already in use before the first run. ComfyUI fills free VRAM and keeps the rest in system RAM, so these are not minimums.
All Comfy-Org files
| File | Size | ComfyUI folder |
|---|---|---|
| moss_ | 5.41 GB | ComfyUI/models/diffusion_models/ |
| moss_ | 10.16 GB | ComfyUI/models/diffusion_models/ |
| moss_ | 5.41 GB | ComfyUI/models/diffusion_models/ |
| moss_ | 10.16 GB | ComfyUI/models/diffusion_models/ |
| qwen3. | 7.34 GB | ComfyUI/models/text_encoders/ |
| qwen3. | 9.75 GB | ComfyUI/models/text_encoders/ |
| qwen3. | 19.31 GB | ComfyUI/models/text_encoders/ |
| flux2- | 0.25 GB | ComfyUI/models/vae/ |
| flux2- | 0.34 GB | ComfyUI/models/vae/ |
| moss_ | 0.31 GB | ComfyUI/models/loras/ |
Sources: Comfy-Org/MOSS-Image · docs.comfy.org · Comfy-Org discussion #4
Official MOSS-Image workflows and settings
All four MOSS-Image templates run the same subgraph. Copy them into ComfyUI from our workflow page, or open them from the Template Library.
MOSS-Image: Text to Imageimage_moss_image_t2i.json
MOSS-Image Base: Text to Imageimage_moss_image_base_t2i.json
MOSS-Image: Layout-Guided Text to Imageimage_moss_image_t2i_bboxes.json
MOSS-Image Base: Layout-Guided Text to Imageimage_moss_image_base_t2i_bboxes.json
Workflows and preview images © 2023-present Comfy Org, MIT License. License and changes
Recommended settings
| Setting | ComfyUI template | OpenMOSS reference |
|---|---|---|
| Steps | 25 | 50 or more |
| CFG | 2.5 | 3 (3–6; higher for short prompts) |
| Sampler | er_sde | Euler (flow matching) |
| Shift | 5 (model default) | 5 |
| Skip-layer guidance | On, layer 22 | Layer 22 |
| Resolution | 1 MP by default | 1–2 MP, sides in multiples of 16 |
- To change shift, use ModelSamplingAuraFlow. ModelSamplingSD3 causes dtype errors with the int8 model.
- Turning skip-layer guidance off can look more realistic but may collapse detail.
Sources: docs.comfy.org · OpenMOSS ComfyUI README · OpenMOSS user guide
MOSS-Image layout JSON, explained
MOSS-Image can place text and objects inside boxes you define. In ComfyUI, draw boxes with Create Bounding Boxes and the MOSS-Image Layout Prompt node turns them into this JSON.
bbox is [y_min, x_min, y_max, x_max] in pixels, measured from the center of the canvas (bbox_coord_space “abs_centralized”). On a 1024×1024 canvas each axis runs from −512 to 512; x grows to the right and y grows down. To convert ordinary top-left coordinates, subtract half the width from x and half the height from y.
Each item has a label (text, character or object), a caption and a bbox; text items also carry the text to render. Box coordinates must match the output size.
{
"summary": {
"meta": ["poster"],
"canvas": "single",
"caption": "A minimalist travel poster with a cream background, a blue mountain illustration, and the title EXPLORE at the top."
},
"items": [
{
"label": "text",
"caption": "Large dark-blue uppercase title centered at the top.",
"text": "EXPLORE",
"bbox": [-416, -384, -288, 384]
},
{
"label": "object",
"caption": "A flat blue mountain illustration in the lower center.",
"bbox": [-192, -288, 384, 288]
}
],
"bbox_coord_space": "abs_centralized",
"bbox_format": "yxyx"
}Sources: OpenMOSS/MOSS-Image README · OpenMOSS user guide · docs.comfy.org
MOSS-Image errors and fixes
Collected from the Comfy-Org and OpenMOSS discussion threads and issues.
“Could not detect model type”, or moss_image is an invalid CLIP type
ComfyUI is older than v0.42.0; 0.41.3 has no MOSS-Image support. Update to v0.42.0 or later, or to nightly. Don't switch the CLIP type to Flux 2.
The MOSS-Image layout template downloads the wrong model
In the official SFT layout template, the download link for moss_image_sft_int8_convrot.safetensors points to the Base file. If you downloaded through it, get moss_image_sft_int8_convrot.safetensors directly instead. Our copy of the workflow has the corrected link.
KSampler dtype error with the MOSS-Image int8 model
There is a ModelSamplingSD3 node in the graph. Replace it with ModelSamplingAuraFlow or ModelSamplingFlux.
Black image or pure noise
In fp16 (--fp16-unet), MOSS-Image's values sit close to fp16's limit, so very large images or LoRAs overflow; the official weights first go black at 2560×2560. Use the default bf16, or KBlueLeaf's FP16-fixed weights if you need fp16, for example on a GPU without bf16. With a 4- or 8-step rapid-moss adapter, update the rapid-moss node.
Fast-generation guideWhich custom nodes do I need?
None. The Comfy-Org files run on core nodes. The OpenMOSS plugin is only for loading a Hugging Face/Diffusers folder.
AttributeError: 'NoneType' object has no attribute 'dtype'
The OpenMOSS plugin's loader fails on the Comfy-Org single files. Load them with the core Load Diffusion Model node instead.
Is there a GGUF version?
Not from Comfy-Org, which recommends int8 with automatic offloading instead. Community GGUFs exist, such as realrebelai/MOSS-Image_GGUFs.
Vertical color stripes in MOSS-Image SFT images
An SFT artifact; Base doesn't draw them. Load a fix with LoraLoaderModelOnly after the SFT model: nynxz's 1.9 MB Destripe LoRA (strength 1.0 at 768 px wide, 1.5 at 1024) or MATLOWAI's DeBand, which also comes merged into ready-to-load int8 models.
SFT vs Base and every fixTorchCompileModel breaks the workflow
It conflicts with the skip-layer guidance patches. Run without torch.compile.
Same seed, different image from the Python pipeline
Expected. ComfyUI snaps the scheduler differently, so seeds don't reproduce the standalone pipeline exactly.
Sources: Comfy-Org discussion #6 · Comfy-Org discussion #4 · OpenMOSS issue #10 · OpenMOSS ComfyUI README · OpenMOSS/MOSS-Image README · nynxz/MOSS-Image (Destripe) · MATLOWAI/MOSS-Image-SFT-DeBand · KBlueLeaf/MOSS-Image-FP16-fixed · darask0/MOSS-Image_4-step_adapter_lora
More MOSS-Image guides
Step-by-step pages for installing MOSS-Image, choosing a model, generating faster and editing results.
Update ComfyUI to v0.42+, download the three files, load a workflow.
Workflow JSONThe four official workflows, ready to paste into ComfyUI.
SFT vs BaseWhich model to download, the settings, and the fix for SFT's color stripes.
Faster generationNo official Turbo yet: community options in 4 to 14 steps, and Spectrum.
Editing resultsChange text, boxes and descriptions, edit from reference images, or keep a scene's structure.
MOSS-Image FAQ
Short answers, each based on the sources linked on this page.
Ready to run MOSS-Image?
Update ComfyUI to v0.42.0 or newer, download the three files, and open a MOSS-Image template.