{
 "id": "sy-moss-image-sampler-compare-v1",
 "revision": 0,
 "last_node_id": 13,
 "last_link_id": 14,
 "nodes": [
  {
   "id": 1,
   "type": "SYWorkflowHeader",
   "pos": [
    0,
    -430
   ],
   "size": [
    980,
    330
   ],
   "flags": {},
   "order": 0,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "properties": {
    "Node name for S&R": "SYWorkflowHeader",
    "sy_title": "MOSS Sampler Compare",
    "sy_subtitle": "Made with Stable Yogi Nodes (SY Nodes) by Stable Yogi",
    "sy_install": "Stable Yogi Nodes (SY Nodes): search \"SY Nodes\" in ComfyUI Manager, or use the folder sy-comfyui-nodes.\nComfyUI 0.43 or newer (the MOSS-Image nodes are built in).",
    "sy_howto": "1. Write your prompt.\n2. In Sampler Sweep SY type the pairs to compare, one per line: sampler + scheduler.\n3. Press Run. You get one sheet with every picture, its pair and its time, and a time table, fastest first.",
    "sy_info": "Sampler Sweep SY: same prompt and seed for every pair, so only the sampler and scheduler change.\nImage Grid SY: puts the pictures on one sheet with a caption under each.\nSave Result SY: saves the sheet with the time table beside it.\nMeasured on MOSS-Image at 1024 x 1024, 25 steps: most pairs take about 10 s; dpmpp_2m_sde about 15 s, dpmpp_sde about 27 s. karras and kl_optimal spoil MOSS pictures."
   },
   "widgets_values": [
    ""
   ],
   "title": "Header"
  },
  {
   "id": 2,
   "type": "SYNote",
   "pos": [
    1010,
    -430
   ],
   "size": [
    620,
    330
   ],
   "flags": {},
   "order": 1,
   "mode": 0,
   "inputs": [
    {
     "name": "text",
     "type": "STRING",
     "widget": {
      "name": "text"
     },
     "link": null
    },
    {
     "name": "style",
     "type": "COMBO",
     "widget": {
      "name": "style"
     },
     "link": null
    },
    {
     "name": "add_style_label",
     "type": "BOOLEAN",
     "widget": {
      "name": "add_style_label"
     },
     "link": null
    },
    {
     "name": "trim",
     "type": "BOOLEAN",
     "widget": {
      "name": "trim"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "name": "text",
     "type": "STRING",
     "links": null
    }
   ],
   "properties": {
    "Node name for S&R": "SYNote"
   },
   "widgets_values": [
    "Put these files in your ComfyUI models folder:\n- moss_image_sft_int8_convrot.safetensors  (diffusion_models)\n- qwen3.5_9b_w4a8_gptq.safetensors  (text_encoders)\n- flux2-vae_small.safetensors  (vae)\nThe text encoder loads with type moss_image.",
    "model",
    false,
    false
   ],
   "title": "Model files"
  },
  {
   "id": 3,
   "type": "UNETLoader",
   "pos": [
    0,
    0
   ],
   "size": [
    410,
    110
   ],
   "flags": {},
   "order": 2,
   "mode": 0,
   "inputs": [
    {
     "name": "unet_name",
     "type": "COMBO",
     "widget": {
      "name": "unet_name"
     },
     "link": null
    },
    {
     "name": "weight_dtype",
     "type": "COMBO",
     "widget": {
      "name": "weight_dtype"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "name": "MODEL",
     "type": "MODEL",
     "links": [
      1
     ]
    }
   ],
   "properties": {
    "Node name for S&R": "UNETLoader"
   },
   "widgets_values": [
    "moss_image_sft_int8_convrot.safetensors",
    "default"
   ],
   "title": "MOSS-Image model",
   "color": "#2b4a63",
   "bgcolor": "#1c3042"
  },
  {
   "id": 4,
   "type": "CLIPLoader",
   "pos": [
    0,
    150
   ],
   "size": [
    410,
    130
   ],
   "flags": {},
   "order": 3,
   "mode": 0,
   "inputs": [
    {
     "name": "clip_name",
     "type": "COMBO",
     "widget": {
      "name": "clip_name"
     },
     "link": null
    },
    {
     "name": "type",
     "type": "COMBO",
     "widget": {
      "name": "type"
     },
     "link": null
    },
    {
     "name": "device",
     "type": "COMBO",
     "widget": {
      "name": "device"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "name": "CLIP",
     "type": "CLIP",
     "links": [
      2,
      3
     ]
    }
   ],
   "properties": {
    "Node name for S&R": "CLIPLoader"
   },
   "widgets_values": [
    "qwen3.5_9b_w4a8_gptq.safetensors",
    "moss_image",
    "default"
   ],
   "title": "Text encoder",
   "color": "#2b4a63",
   "bgcolor": "#1c3042"
  },
  {
   "id": 5,
   "type": "VAELoader",
   "pos": [
    0,
    320
   ],
   "size": [
    410,
    80
   ],
   "flags": {},
   "order": 4,
   "mode": 0,
   "inputs": [
    {
     "name": "vae_name",
     "type": "COMBO",
     "widget": {
      "name": "vae_name"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "name": "VAE",
     "type": "VAE",
     "links": [
      10
     ]
    }
   ],
   "properties": {
    "Node name for S&R": "VAELoader"
   },
   "widgets_values": [
    "flux2-vae_small.safetensors"
   ],
   "title": "Decoder (VAE)",
   "color": "#2b4a63",
   "bgcolor": "#1c3042"
  },
  {
   "id": 6,
   "type": "CLIPTextEncode",
   "pos": [
    460,
    0
   ],
   "size": [
    520,
    220
   ],
   "flags": {},
   "order": 5,
   "mode": 0,
   "inputs": [
    {
     "name": "clip",
     "type": "CLIP",
     "link": 2
    },
    {
     "name": "text",
     "type": "STRING",
     "widget": {
      "name": "text"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "name": "CONDITIONING",
     "type": "CONDITIONING",
     "links": [
      6
     ]
    }
   ],
   "properties": {
    "Node name for S&R": "CLIPTextEncode"
   },
   "widgets_values": [
    "A cafe sign hanging over a shop door, painted letters, the big title reads \"MORNING BREW\" and the smaller line under it reads \"OPEN 7 AM\", flat illustration on a cream background."
   ],
   "title": "Prompt",
   "color": "#5a4210",
   "bgcolor": "#3a2c0c"
  },
  {
   "id": 7,
   "type": "CLIPTextEncode",
   "pos": [
    460,
    260
   ],
   "size": [
    520,
    120
   ],
   "flags": {},
   "order": 6,
   "mode": 0,
   "inputs": [
    {
     "name": "clip",
     "type": "CLIP",
     "link": 3
    },
    {
     "name": "text",
     "type": "STRING",
     "widget": {
      "name": "text"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "name": "CONDITIONING",
     "type": "CONDITIONING",
     "links": [
      7
     ]
    }
   ],
   "properties": {
    "Node name for S&R": "CLIPTextEncode"
   },
   "widgets_values": [
    "worst quality, bad anatomy, watermark, jpeg artifact"
   ],
   "title": "Negative prompt"
  },
  {
   "id": 8,
   "type": "EmptyFlux2LatentImage",
   "pos": [
    460,
    420
   ],
   "size": [
    320,
    130
   ],
   "flags": {},
   "order": 7,
   "mode": 0,
   "inputs": [
    {
     "name": "width",
     "type": "INT",
     "widget": {
      "name": "width"
     },
     "link": null
    },
    {
     "name": "height",
     "type": "INT",
     "widget": {
      "name": "height"
     },
     "link": null
    },
    {
     "name": "batch_size",
     "type": "INT",
     "widget": {
      "name": "batch_size"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "name": "LATENT",
     "type": "LATENT",
     "links": [
      8
     ]
    }
   ],
   "properties": {
    "Node name for S&R": "EmptyFlux2LatentImage"
   },
   "widgets_values": [
    1024,
    1024,
    1
   ],
   "title": "Size"
  },
  {
   "id": 9,
   "type": "SYSamplerSweep",
   "pos": [
    1030,
    0
   ],
   "size": [
    400,
    520
   ],
   "flags": {},
   "order": 8,
   "mode": 0,
   "inputs": [
    {
     "name": "model",
     "type": "MODEL",
     "link": 1
    },
    {
     "name": "positive",
     "type": "CONDITIONING",
     "link": 6
    },
    {
     "name": "latent",
     "type": "LATENT",
     "link": 8
    },
    {
     "name": "pairs",
     "type": "STRING",
     "widget": {
      "name": "pairs"
     },
     "link": null
    },
    {
     "name": "seed",
     "type": "INT",
     "widget": {
      "name": "seed"
     },
     "link": null
    },
    {
     "name": "steps",
     "type": "INT",
     "widget": {
      "name": "steps"
     },
     "link": null
    },
    {
     "name": "cfg",
     "type": "FLOAT",
     "widget": {
      "name": "cfg"
     },
     "link": null
    },
    {
     "name": "negative",
     "type": "CONDITIONING",
     "link": 7
    }
   ],
   "outputs": [
    {
     "name": "latents",
     "type": "LATENT",
     "links": [
      9
     ]
    },
    {
     "name": "labels",
     "type": "STRING",
     "links": [
      13
     ]
    },
    {
     "name": "time_table",
     "type": "STRING",
     "links": [
      5,
      12
     ]
    }
   ],
   "properties": {
    "Node name for S&R": "SYSamplerSweep"
   },
   "widgets_values": [
    "er_sde + simple\ner_sde + beta\neuler + simple\neuler_ancestral + simple\nuni_pc + simple\ndpmpp_2m_sde + simple",
    42,
    "fixed",
    25,
    2.5
   ],
   "title": "Sampler Sweep SY"
  },
  {
   "id": 10,
   "type": "PreviewAny",
   "pos": [
    1030,
    560
   ],
   "size": [
    400,
    260
   ],
   "flags": {},
   "order": 9,
   "mode": 0,
   "inputs": [
    {
     "name": "source",
     "type": "*",
     "link": 5
    }
   ],
   "outputs": [
    {
     "name": "STRING",
     "type": "STRING",
     "links": null
    }
   ],
   "properties": {
    "Node name for S&R": "PreviewAny"
   },
   "widgets_values": [],
   "title": "Time table, fastest first"
  },
  {
   "id": 12,
   "type": "SYDecode",
   "pos": [
    1480,
    0
   ],
   "size": [
    340,
    170
   ],
   "flags": {},
   "order": 10,
   "mode": 0,
   "inputs": [
    {
     "name": "samples",
     "type": "LATENT",
     "link": 9
    },
    {
     "name": "vae",
     "type": "VAE",
     "link": 10
    },
    {
     "name": "mode",
     "type": "COMBO",
     "widget": {
      "name": "mode"
     },
     "link": null
    },
    {
     "name": "tiles",
     "type": "COMBO",
     "widget": {
      "name": "tiles"
     },
     "link": null
    },
    {
     "name": "tile_size",
     "type": "INT",
     "widget": {
      "name": "tile_size"
     },
     "link": null
    },
    {
     "name": "overlap",
     "type": "INT",
     "widget": {
      "name": "overlap"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "name": "image",
     "type": "IMAGE",
     "links": [
      11
     ]
    },
    {
     "name": "audio",
     "type": "AUDIO",
     "links": null
    },
    {
     "name": "info",
     "type": "STRING",
     "links": null
    }
   ],
   "properties": {
    "Node name for S&R": "SYDecode"
   },
   "widgets_values": [
    "Picture or video",
    "Auto (retry in tiles)",
    512,
    64
   ],
   "title": "Decode SY"
  },
  {
   "id": 11,
   "type": "SYImageGrid",
   "pos": [
    1910,
    220
   ],
   "size": [
    340,
    330
   ],
   "flags": {},
   "order": 11,
   "mode": 0,
   "inputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "link": 11
    },
    {
     "name": "columns",
     "type": "INT",
     "widget": {
      "name": "columns"
     },
     "link": null
    },
    {
     "name": "gap",
     "type": "INT",
     "widget": {
      "name": "gap"
     },
     "link": null
    },
    {
     "name": "background",
     "type": "STRING",
     "widget": {
      "name": "background"
     },
     "link": null
    },
    {
     "name": "labels",
     "type": "STRING",
     "widget": {
      "name": "labels"
     },
     "link": 13
    },
    {
     "name": "label_size",
     "type": "INT",
     "widget": {
      "name": "label_size"
     },
     "link": null
    },
    {
     "name": "fit",
     "type": "COMBO",
     "widget": {
      "name": "fit"
     },
     "link": null
    },
    {
     "name": "auto_number",
     "type": "BOOLEAN",
     "widget": {
      "name": "auto_number"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "name": "sheet",
     "type": "IMAGE",
     "links": [
      14
     ]
    },
    {
     "name": "info",
     "type": "STRING",
     "links": null
    }
   ],
   "properties": {
    "Node name for S&R": "SYImageGrid"
   },
   "widgets_values": [
    3,
    8,
    "black",
    "",
    28,
    "stretch",
    false
   ],
   "title": "Image Grid SY"
  },
  {
   "id": 13,
   "type": "SYSaveResult",
   "pos": [
    2300,
    0
   ],
   "size": [
    560,
    600
   ],
   "flags": {},
   "order": 12,
   "mode": 0,
   "inputs": [
    {
     "name": "project",
     "type": "STRING",
     "widget": {
      "name": "project"
     },
     "link": null
    },
    {
     "name": "name",
     "type": "STRING",
     "widget": {
      "name": "name"
     },
     "link": null
    },
    {
     "name": "folder_by_date",
     "type": "BOOLEAN",
     "widget": {
      "name": "folder_by_date"
     },
     "link": null
    },
    {
     "name": "image_format",
     "type": "COMBO",
     "widget": {
      "name": "image_format"
     },
     "link": null
    },
    {
     "name": "quality",
     "type": "INT",
     "widget": {
      "name": "quality"
     },
     "link": null
    },
    {
     "name": "image",
     "type": "IMAGE",
     "link": 14
    },
    {
     "name": "video",
     "type": "VIDEO",
     "link": null
    },
    {
     "name": "audio",
     "type": "AUDIO",
     "link": null
    },
    {
     "name": "settings",
     "type": "STRING",
     "link": 12
    }
   ],
   "outputs": [
    {
     "name": "saved_path",
     "type": "STRING",
     "links": null
    }
   ],
   "properties": {
    "Node name for S&R": "SYSaveResult"
   },
   "widgets_values": [
    "SY",
    "moss_sampler_compare",
    true,
    "png",
    95
   ],
   "title": "Save Result SY",
   "color": "#2f5a3a",
   "bgcolor": "#1d3a25"
  }
 ],
 "links": [
  [
   1,
   3,
   0,
   9,
   0,
   "MODEL"
  ],
  [
   2,
   4,
   0,
   6,
   0,
   "CLIP"
  ],
  [
   3,
   4,
   0,
   7,
   0,
   "CLIP"
  ],
  [
   5,
   9,
   2,
   10,
   0,
   "STRING"
  ],
  [
   6,
   6,
   0,
   9,
   1,
   "CONDITIONING"
  ],
  [
   7,
   7,
   0,
   9,
   7,
   "CONDITIONING"
  ],
  [
   8,
   8,
   0,
   9,
   2,
   "LATENT"
  ],
  [
   9,
   9,
   0,
   12,
   0,
   "LATENT"
  ],
  [
   10,
   5,
   0,
   12,
   1,
   "VAE"
  ],
  [
   11,
   12,
   0,
   11,
   0,
   "IMAGE"
  ],
  [
   12,
   9,
   2,
   13,
   8,
   "STRING"
  ],
  [
   13,
   9,
   1,
   11,
   4,
   "STRING"
  ],
  [
   14,
   11,
   0,
   13,
   5,
   "IMAGE"
  ]
 ],
 "groups": [
  {
   "id": 1,
   "title": "1 Models",
   "bounding": [
    -20,
    -70,
    450,
    500
   ],
   "color": "#3f789e",
   "font_size": 24,
   "flags": {}
  },
  {
   "id": 2,
   "title": "2 Prompt and size",
   "bounding": [
    440,
    -70,
    560,
    640
   ],
   "color": "#d4a537",
   "font_size": 24,
   "flags": {}
  },
  {
   "id": 3,
   "title": "3 Pairs to compare",
   "bounding": [
    1010,
    -70,
    440,
    910
   ],
   "color": "#57a06b",
   "font_size": 24,
   "flags": {}
  },
  {
   "id": 4,
   "title": "4 Sheet and save",
   "bounding": [
    1460,
    -70,
    1420,
    690
   ],
   "color": "#b85c5c",
   "font_size": 24,
   "flags": {}
  }
 ],
 "config": {},
 "extra": {
  "ds": {
   "scale": 0.6,
   "offset": [
    100,
    500
   ]
  },
  "frontendVersion": "1.57.4"
 },
 "version": 0.4
}