MOSS BASIC WORKFLOW
The Hex Protocol - free download from episode 1
===============================================

WHAT THIS IS
A ComfyUI text-to-image workflow for MOSS Image (SFT), built from ComfyUI
core nodes only. No custom nodes, no LoRAs, no models included.

In this folder:
  MOSS_basic_workflow.json   the workflow (drag it into ComfyUI)
  settings_card.png          all settings on one card
  README.txt                 this file


THE THREE MODEL FILES
Download them yourself and put each one in the folder shown, inside your
ComfyUI install:

  1. Diffusion model  ->  ComfyUI/models/diffusion_models/
     https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/diffusion_models/moss_image_sft_int8_convrot.safetensors

  2. Text encoder     ->  ComfyUI/models/text_encoders/
     https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/text_encoders/qwen3.5_9b_w4a8_gptq.safetensors

  3. VAE              ->  ComfyUI/models/vae/
     https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/vae/flux2-vae_small.safetensors

You need a recent ComfyUI. An old install will not know this model.


LOCAL INSTALL (macOS / Linux, as shown in the episode)
Run these in a folder of your choice. Not tested in exactly this form on
every system; check your Python version first.

  mkdir -p comfy_demo && cd comfy_demo
  git clone https://github.com/comfyanonymous/ComfyUI
  cd ComfyUI
  python3 -m venv venv && source venv/bin/activate
  pip install -r requirements.txt

  HF=https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main
  curl -L -o models/diffusion_models/moss_image_sft_int8_convrot.safetensors $HF/diffusion_models/moss_image_sft_int8_convrot.safetensors
  curl -L -o models/text_encoders/qwen3.5_9b_w4a8_gptq.safetensors $HF/text_encoders/qwen3.5_9b_w4a8_gptq.safetensors
  curl -L -o models/vae/flux2-vae_small.safetensors $HF/vae/flux2-vae_small.safetensors

  python main.py --port 8190

Then open http://127.0.0.1:8190 in your browser.

On Windows with an NVIDIA card, the portable build of ComfyUI does the same
job: unzip it and put the same three files in the same folders.


RENTED GPU (models on a network volume)
1. Create a network volume.
2. Start the GPU machine in the same data centre, with the volume attached
   (it mounts at /workspace).
3. Clone the current ComfyUI and run pip install -r requirements.txt.
4. Download the three files to the volume (same three curl lines, with the
   volume folders as targets).
5. Put this file in the ComfyUI folder and restart ComfyUI:

     # extra_model_paths.yaml
     moss:
       base_path: /workspace/demo_models
       diffusion_models: diffusion_models
       text_encoders: text_encoders
       vae: vae
       loras: loras

6. Open ComfyUI through the machine's HTTP port or an SSH tunnel.


HOW TO LOAD THE WORKFLOW
1. Start ComfyUI and open it in your browser.
2. Drag MOSS_basic_workflow.json onto the canvas (or use Workflow > Open).
3. Check the three loaders: each should show the file name above. If a
   loader is red, the file is missing or in the wrong folder.
4. Replace the placeholder in the positive prompt with your own paragraph.
5. Press Run (Queue). The image is saved with the prefix "moss_basic".


THE SETTINGS IN THIS WORKFLOW
  Load Diffusion Model   moss_image_sft_int8_convrot.safetensors, weight_dtype default
  Load CLIP              qwen3.5_9b_w4a8_gptq.safetensors, type moss_image
                         (the type is the setting people miss)
  Load VAE               flux2-vae_small.safetensors
  Skip Layer Guidance    double_layers empty, single_layers 22,
  DiT Simple             start 0.0, end 0.5
  Empty Flux 2 Latent    1152 x 1536 (3:4), batch 1
  KSampler               seed 1 (fixed), 25 steps, CFG 2.5,
                         er_sde / simple, denoise 1.0
                         model input comes from the guidance node, not the loader
  Negative prompt        worst quality, bad anatomy, watermark, jpeg artifact

There is no model sampling node: the model's default shift of 5 is used.

Official settings on the MOSS Image SFT model card, for comparison:
  Euler, 50 steps, CFG 3, shift 5, skip layer guidance on layer 22.
  The card does not name a scheduler, and its default negative prompt is
  empty. Our 4 negative terms come from the MOSS Base user guide.

Our settings were tuned with a friend from the community.
Turbo / 8-step setups shown in the episodes are for previews only.


HONEST NOTES
- These settings were tested by us on a Mac (M3 Max) and on rented Linux
  GPUs. This workflow file was checked against ComfyUI's own node list
  and loaded in ComfyUI 0.46 with no missing nodes; if a node shows red
  for you, tell us in the comments. Not
  tested on Windows. Tell us how it runs for you.
- On Apple silicon it works but it is slow: about eleven minutes per image
  at these settings on our M3 Max (64 GB). Measured at 1152x1440 on our
  production setup, not on the plain checkpoint at 1152x1536.
- Our comparison of official versus our settings was our own eye on a small
  number of seeds, not a benchmark. Run both on your own prompts.
- If you run out of memory at the end of a render, swap VAE Decode for
  VAE Decode (Tiled).


LICENCE NOTES
- MOSS Image weights and inference code: Apache 2.0, according to the model
  card. Read the card yourself before commercial use.
- The VAE licence was not checked by us. Check it before you sell anything.
- This workflow file and settings card: free to use, share and change.
