1. moss-image.com
  2. ComfyUI guide

MOSS-Image in ComfyUI

Native support and six built-in templates: text-to-image, layout boxes, image edit and depth control. Where each file goes, which settings to start from, and how to fix the usual problems.

MOSS-Image runs natively in ComfyUI 0.42.0 and later — no custom nodes required. Download three files, open the built-in MOSS-Image template, write a prompt and queue. ComfyUI 0.43.0 added templates for editing a photo and for depth control. This guide follows the official ComfyUI documentation and the OpenMOSS user guide, and adds the settings and fixes people ask about most.

No GPU? The MOSS-Image generator on this site runs the same model in your browser with no setup.

1. Update ComfyUI

The four text-to-image templates need ComfyUI 0.42.0 or later (released 18 October 2026). The image edit and color/depth control templates need 0.43.0 or later (released 27 October 2026). The latest stable is 0.46.0, from 18 November 2026. Update through ComfyUI Manager or git pull in your install, then restart. If the templates are still missing after a git pull, run pip install -r requirements.txt so the separate comfyui-workflow-templates package updates too.

2. Download the model files

All files are in Comfy-Org/MOSS-Image on Hugging Face.

FileFolderRole
moss_image_sft_int8_convrot.safetensorsmodels/diffusion_modelsSFT diffusion model (used by the SFT templates)
moss_image_base_int8_convrot.safetensorsmodels/diffusion_modelsBase diffusion model (optional)
qwen3.5_9b_w4a8_gptq.safetensorsmodels/text_encodersQwen3.5-9B text encoder, 4-bit weights
flux2-vae_small.safetensorsmodels/vaeFLUX.2 VAE
ComfyUI/
└── models/
    ├── diffusion_models/
    │   ├── moss_image_sft_int8_convrot.safetensors
    │   └── moss_image_base_int8_convrot.safetensors
    ├── text_encoders/
    │   └── qwen3.5_9b_w4a8_gptq.safetensors
    └── vae/
        └── flux2-vae_small.safetensors

Extra files for image edit and depth control (ComfyUI 0.43.0+):

FileFolderUsed by
moss_image_edit_lora_rank_64_bf16.safetensors (297 MB)models/lorasImage Edit template
moss_image_color_depth_control.safetensors (313 MB)models/lorasColor & Depth Control template
qwen3.5_9b_int8_convrot.safetensors (9.7 GB)models/text_encodersColor & Depth Control template (the others use the w4a8 encoder)
moge_3_vitg_fp16.safetensors from Comfy-Org/MoGe (2.5 GB)models/geometry_estimationColor & Depth Control template

The templates load the int8 diffusion models, which are the lightest option. If you have more VRAM, bf16 builds (moss_image_sft_bf16.safetensors, moss_image_base_bf16.safetensors) are in the same repository — swap them in the UNET Loader. Load the text encoder with CLIPLoader set to type moss_image.

3. Pick a template

Open Template Library and search MOSS-Image. The four text-to-image templates run the same subgraph; open it to reach the loaders, sampler and canvas size. The edit and depth templates use their own graphs.

TemplateUse it for
MOSS-Image: Text to ImageEveryday prompts. The prompt enhancer is on, so a one-line idea works.
MOSS-Image Base: Text to ImageComparing raw Base output, tag prompts, LoRA testing.
MOSS-Image: Layout-Guided Text to ImageDrawing a box for each element.
MOSS-Image Base: Layout-Guided Text to ImageThe same, with the Base checkpoint.
MOSS-Image: Image Edit LoRAChanging one thing in a photo from a short instruction (0.43+).
MOSS-Image: Color & Depth ControlRe-posing or re-styling a photo while its geometry stays put (0.43+).

4. Settings that matter

SettingTemplate defaultOfficial recommendation
Steps2550 or more
CFG2.53.0 (raise to 5–6 for short prompts on Base)
Samplerer_sdeeuler
Shift55
SLGOn, layer 22Layer 22 (24 and 26 also help)
Resolution1 MP1–2 MP; any ratio, multiples of 16
NegativeEmpty (labelled “empty = reference default”)nsfw, worst quality, bad anatomy, watermark, jpeg artifact

The template defaults favor speed. If a result looks undercooked, switch to 50 steps, CFG 3 and euler. Turning SLG off can look more photographic but may collapse fine detail.

5. The prompt enhancer

The text-to-image templates include a prompt enhancer that rewrites a short request into a full caption using the Qwen3.5 text encoder the model already loads. The rewritten caption appears in the Preview Any node, and prompt_enhancer_seed reproduces it.

  • Keep it on for short ideas such as “a poster for a jazz night”.
  • Turn it off (enable_prompt_enhancer = false) when the exact wording matters, when you paste a long prompt, or when you use tags on Base.
  • The optional ref_image (for llm) input only informs the enhancer’s caption; the text-to-image model never sees the pixels. To change an existing photo, use the Image Edit template instead.

6. Layout boxes

In the layout templates, open Create Bounding Boxes and drag one box per element. Each box has its own caption; boxes marked as text render the text you type. MOSS-Image Layout Prompt converts them into the JSON the model reads.

  • Draw the background first and foreground last — boxes are emitted in drawing order.
  • To mark a person, list the box number in character_boxes (for example 1, 3). The SFT template ships 2, the Base template 1; check them against your boxes.
  • The layout templates keep the prompt enhancer off so the JSON reaches the model unchanged. Turning it on can drop the boxes.
  • Set the layout node’s width and height to the size you will generate.

Prefer drawing in the browser? Our layout editor exports the same JSON; paste it into the positive prompt with the enhancer off and the same canvas size.

7. Image edit and depth control

Both templates arrived in ComfyUI 0.43.0. They load community LoRAs that Comfy-Org repackaged; they are not OpenMOSS releases.

Image Edit loads the MOSS Image Edit LoRA on top of SFT and encodes your instruction together with the source photo, which it scales to 1 MP. Only the described change is applied, so colour, material, outfit and background swaps keep the face, pose and framing. Keep edit_format on Moss-Image-Edit and CFG at 4.0. The MOSS-Image edit guide covers instructions, references and licensing.

Color & Depth Control estimates the reference photo’s geometry with MoGe 3 and passes it to the model through a control adapter LoRA. The pose and silhouette follow the map; the prompt decides character, wardrobe, setting and light.

  • Render MoGe Geometry uses the mask by default, which only holds the silhouette. Switch it to depth when the face profile, shoulders and background should follow the reference too.
  • end_percent sets how long the map is held: at 0.6 the last steps render surface and light freely, at 1.0 geometry stays pinned to the end.
  • The control node does nothing without the adapter LoRA loaded before it.
  • If the estimate is wrong, paint a map in the built-in Painter node (white near, black far) and connect it to depth_map.

8. Going above 2 MP

The recommended range is 1–2 MP and the model extrapolates to about 4 MP. For larger images, render in passes: generate at 1–2 MP, decode, upscale in pixel space, re-encode, then sample again at about 0.6 denoise for each 1.5× step. Upscaling the latent directly loses detail. For very large canvases use VAE Decode (Tiled).

Community add-ons

  • 8-step DMD LoRA — a work-in-progress distillation of SFT to 8 steps without CFG. Load lora.safetensors at strength 1 (or lora_latest at 0.7).
  • SFT DeBand LoRA — reduces vertical color banding on SFT, with preset workflows. It can change fine detail.
  • FP16-fixed weights — for GPUs without good bf16 support.
  • ComfyUI-Spectrum-MOSS — experimental sampling acceleration nodes.

These are community projects, not official releases; check each model card for settings and trade-offs.

Troubleshooting

  • “Missing nodes” when loading a workflow — ComfyUI is older than 0.42 (0.43 for the edit and depth templates) or some core nodes failed to import. Update and check the console.
  • Out of memory — use the int8 diffusion model and the w4a8 text encoder, lower the resolution to 1 MP, or enable ComfyUI’s lowvram mode.
  • Text is misspelled — turn the enhancer off, quote the exact words, add line breaks, try SFT, and use 50 steps at CFG 3.
  • Boxes ignored — enhancer off, canvas size matches, no overlapping text boxes.
  • Vertical stripes — try the DeBand LoRA or Base.

Pure noise, black images, 'NoneType' object has no attribute 'dtype' and Mac errors are covered with sourced fixes in the full troubleshooting guide.

The older plugin route

Before native support, OpenMOSS published a ComfyUI plugin that loads a Hugging Face / Diffusers directory. It still exists in the official repository for existing workflows, but new users should use the native templates above.

How we checked this guide: file names, folders, template names and settings were verified against the ComfyUI documentation and the OpenMOSS user guide on 26 October 2026. Version requirements, release dates, the edit and depth templates and file sizes were re-checked against the ComfyUI docs, ComfyUI releases and the Comfy-Org Hugging Face file list on 19 November 2026. Our own outputs on this site were generated through the official Space and API, not on a local GPU.

Questions

Do I need a custom node or plugin for MOSS-Image in ComfyUI?

No. ComfyUI supports MOSS-Image natively from version 0.42.0, and the image edit and depth control templates from 0.43.0. Update ComfyUI, open the Template Library and search for MOSS-Image. The OpenMOSS plugin is only needed if you want to load a Hugging Face / Diffusers directory directly.

Which MOSS-Image files does ComfyUI need?

For text-to-image, three files from the Comfy-Org/MOSS-Image repository: moss_image_sft_int8_convrot.safetensors (and optionally the Base equivalent) in models/diffusion_models, qwen3.5_9b_w4a8_gptq.safetensors in models/text_encoders, and flux2-vae_small.safetensors in models/vae. Image edit adds moss_image_edit_lora_rank_64_bf16.safetensors in models/loras; depth control adds its own LoRA, the int8 text encoder and the MoGe 3 estimator.

What sampler settings should I use?

The templates ship 25 steps, CFG 2.5 and the er_sde sampler for speed. For the official look, use 50 steps, CFG 3 and the euler sampler, keep shift at 5 and SLG at layer 22. Raise CFG toward 5–6 for short prompts on Base.

Why does my layout get ignored?

Usually because the prompt enhancer is on. It rewrites the layout JSON into prose and can drop the boxes. Keep enable_prompt_enhancer off in the layout templates and make sure the canvas size in the layout node matches the latent size.

Can MOSS-Image edit a photo in ComfyUI?

Yes, from ComfyUI 0.43.0. The MOSS-Image: Image Edit LoRA template loads a community edit LoRA on top of the SFT checkpoint and changes only what your instruction describes. The ref_image input in the text-to-image templates is different: it only feeds the prompt enhancer, which describes the picture in words.

Sources