Choose one installation path
The two paths use different model layouts, loader nodes, and sampling graphs. Start with native ComfyUI for a new installation. Choose MOSSImageHFLoader only when you already have a complete local Diffusers repository or an existing plugin workflow.
| Path | Model files | Use it when | First thing to check |
|---|---|---|---|
| Native ComfyUI | Separate diffusion model, text encoder, and VAE files | You are starting a new installation or use a current ComfyUI setup | Your ComfyUI build includes native MOSS-Image support |
| MOSSImageHFLoader | A complete Diffusers directory with transformer/, text_encoder/, tokenizer/, and vae/ | You already have the Diffusers repository on disk | model_path points to the complete local directory |
Import the workflow that belongs to the path you choose. Replacing only the loader can change sampling behavior or leave the graph incomplete.
If you only want to test SFT without managing model files or hardware, use the browser-based MOSS-Image generator.
Native ComfyUI is the recommended path
The four official text-to-image templates require ComfyUI 0.42.0+. Image Edit and Color/Depth Control require 0.43.0+. Use a current build and install its matching dependencies. Updating only to 0.42 is not sufficient for the edit templates or their Text Encode MOSS-Image Edit node.
These are native-template requirements, not a shared version minimum for every optional HF-directory plugin. Keep your loader and complete workflow matched.
Place the model components
Download matching components from the Comfy-Org MOSS-Image repository.
| Component | Folder |
|---|---|
| Diffusion model | ComfyUI/models/diffusion_models/ |
| Text encoder | ComfyUI/models/text_encoders/ |
| VAE | ComfyUI/models/vae/ |
Use the matching native workflow
The documented manual graph uses Load Diffusion Model, CLIP Loader with type moss_image, Load VAE, and the MOSS-Image Layout Prompt node. The model defaults to shift 5; when manually adjusting shift, the official guide specifies ModelSamplingAuraFlow with multiplier 1.
Download the native workflow and import it as a complete graph. Current official templates may choose faster sampling settings than the OpenMOSS reference settings, so begin with the values stored in the workflow you downloaded instead of mixing settings from another graph.
Run a first test
- Start with a 1024 × 1024 canvas and one image.
- Use a fixed seed and the workflow's included sampler settings.
- Queue the workflow before adding extensions or changing precision.
- Save the working graph and record the model filenames.
Use the HF-directory plugin for Diffusers folders
This optional path is useful when you already have a plugin workflow or want to load a complete local Hugging Face Diffusers directory. Download either the Base or SFT repository without flattening its structure.
your-model-directory/
├── transformer/
├── text_encoder/
├── tokenizer/
└── vae/Install the official plugin
From an OpenMOSS MOSS-Image checkout, either copy the node directory or run the repository installer:
cp -r comfyui/moss-image/ /path/to/ComfyUI/custom_nodes/moss-image/
python comfyui/install.py --comfy-root /path/to/ComfyUIThe installer creates a link in custom_nodes and copies the example workflow into user/default/workflows only when a file with the same name does not already exist. Restart ComfyUI after installation.
Set model_path
In mossimagehfloader, point model_path at the directory containing the four component folders. An absolute path is the clearest choice. Relative paths are resolved by the ComfyUI process and therefore depend on how it was launched.
/home/user/models/MOSS-Image-SFTImport the official HF-directory workflow and keep its included 50 steps, CFG 3, shift 5, Euler sampler, and sgm_uniform scheduler for the first test.
Manage memory by changing one variable at a time
Runtime memory depends on model format, precision, offloading, resolution, and which components remain resident. Download size is not a VRAM requirement, so use a working 1024 × 1024 graph to measure your own peak rather than relying on a universal GPU number.
| Situation | Try this |
|---|---|
| Tight VRAM | Use an official quantized native model, lower the canvas size, and enable supported CPU or sequential offloading. |
| More VRAM available | Use the BF16 native model components when the hardware and ComfyUI build support them. |
| Unsure | Load the official 1024 × 1024 workflow and monitor peak memory during the first run. |
| Frequent out-of-memory errors | Reduce dimensions and confirm that two copies of the model or text encoder are not loaded by separate nodes. |
In the HF-directory node, weight_dtype currently offers default, BF16, FP32, and several FP8 modes. It does not expose an INT8 or FP16 option. text_device offers the default device or CPU, and the plugin loads the VAE in FP32.
For checkpoint-specific CFG, steps, sampler, shift, and precision guidance, use the settings reference. If you selected the foundation checkpoint, continue with the Base guide.
Switch between Base and SFT without mixing formats
For native ComfyUI, select the matching Base or SFT diffusion model while keeping compatible text-encoder and VAE files in their documented folders. For the plugin path, point model_path at the complete Base or SFT Diffusers directory. Keep the workflow type consistent and run a fixed-seed test after switching.
Troubleshooting
MOSSImageHFLoader does not appear
Confirm that the plugin is linked or copied to ComfyUI/custom_nodes/moss-image/, then fully restart a current ComfyUI build and inspect the startup log for import errors.
model_path is invalid
Point at the directory containing transformer/, text_encoder/, tokenizer/, and vae/. Do not point at a single safetensors file.
The native workflow shows unknown nodes
Update ComfyUI to a build with native MOSS-Image support and install that build's current dependencies. Confirm that the workflow is native rather than an HF-directory plugin graph.
The workflow runs out of memory
Reduce canvas dimensions, use a supported quantized native model, or move supported components to CPU. Check that the graph does not load the same component twice.
The output differs from the hosted studio
The online studio uses the hosted SFT endpoint with 50 inference steps. Provider precision and runtime details are not exposed by this site, and the plugin scheduler does not use the standalone pipeline's training-grid snapping. Matching a seed and visible settings does not guarantee a pixel-identical result.
Official sources
Installation details checked October 26, 2026.
Native templates and version requirements (checked November 22, 2026)OpenMOSS ComfyUI guideOfficial plugin installerComfyUI-format model files