{
 "id": "989d19a0-ffb0-47bb-b76f-16e2942aa060",
 "revision": 0,
 "last_node_id": 24,
 "last_link_id": 21,
 "nodes": [
  {
   "id": 3,
   "type": "UNETLoader",
   "pos": [
    0,
    300
   ],
   "size": [
    330,
    82
   ],
   "flags": {},
   "order": 0,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "unet_name",
     "name": "unet_name",
     "type": "COMBO",
     "widget": {
      "name": "unet_name"
     },
     "link": null
    },
    {
     "localized_name": "weight_dtype",
     "name": "weight_dtype",
     "type": "COMBO",
     "widget": {
      "name": "weight_dtype"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "localized_name": "MODEL",
     "name": "MODEL",
     "type": "MODEL",
     "links": [
      12,
      13
     ]
    }
   ],
   "properties": {
    "cnr_id": "comfy-core",
    "ver": "0.42.1",
    "Node name for S&R": "UNETLoader"
   },
   "widgets_values": [
    "z-image\\z_image_turbo_int8_convrot.safetensors",
    "default"
   ],
   "widgets_values_named": {
    "unet_name": "z-image\\z_image_turbo_int8_convrot.safetensors",
    "weight_dtype": "default"
   },
   "color": "#223",
   "bgcolor": "#335"
  },
  {
   "id": 4,
   "type": "CLIPLoader",
   "pos": [
    0,
    420
   ],
   "size": [
    330,
    106
   ],
   "flags": {},
   "order": 1,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "clip_name",
     "name": "clip_name",
     "type": "COMBO",
     "widget": {
      "name": "clip_name"
     },
     "link": null
    },
    {
     "localized_name": "type",
     "name": "type",
     "type": "COMBO",
     "widget": {
      "name": "type"
     },
     "link": null
    },
    {
     "localized_name": "device",
     "name": "device",
     "shape": 7,
     "type": "COMBO",
     "widget": {
      "name": "device"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "localized_name": "CLIP",
     "name": "CLIP",
     "type": "CLIP",
     "links": [
      2,
      10
     ]
    }
   ],
   "properties": {
    "cnr_id": "comfy-core",
    "ver": "0.42.1",
    "Node name for S&R": "CLIPLoader"
   },
   "widgets_values": [
    "qwen_3_4b_fp8_mixed.safetensors",
    "lumina2",
    "default"
   ],
   "widgets_values_named": {
    "clip_name": "qwen_3_4b_fp8_mixed.safetensors",
    "type": "lumina2",
    "device": "default"
   },
   "color": "#223",
   "bgcolor": "#335"
  },
  {
   "id": 5,
   "type": "VAELoader",
   "pos": [
    0,
    570
   ],
   "size": [
    330,
    58
   ],
   "flags": {},
   "order": 2,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "vae_name",
     "name": "vae_name",
     "type": "COMBO",
     "widget": {
      "name": "vae_name"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "localized_name": "VAE",
     "name": "VAE",
     "type": "VAE",
     "links": [
      9
     ]
    }
   ],
   "properties": {
    "cnr_id": "comfy-core",
    "ver": "0.42.1",
    "Node name for S&R": "VAELoader"
   },
   "widgets_values": [
    "ae.safetensors"
   ],
   "widgets_values_named": {
    "vae_name": "ae.safetensors"
   },
   "color": "#223",
   "bgcolor": "#335"
  },
  {
   "id": 6,
   "type": "CLIPTextEncode",
   "pos": [
    380,
    250
   ],
   "size": [
    520,
    330
   ],
   "flags": {},
   "order": 3,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "clip",
     "name": "clip",
     "type": "CLIP",
     "link": 2
    },
    {
     "localized_name": "text",
     "name": "text",
     "type": "STRING",
     "widget": {
      "name": "text"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "localized_name": "CONDITIONING",
     "name": "CONDITIONING",
     "type": "CONDITIONING",
     "links": [
      14
     ]
    }
   ],
   "properties": {
    "cnr_id": "comfy-core",
    "ver": "0.42.1",
    "Node name for S&R": "CLIPTextEncode"
   },
   "widgets_values": [
    "A stylized 3D animated film still of a cute chubby panda painter in a cozy artist's studio. Its fur pattern is a giant panda's, but in orange and white: bright orange round ears, orange patches around its eyes, orange arms and legs, an orange band across its shoulders, and soft white fur everywhere else. It stands on its hind legs at a wooden easel, wearing a navy beret and a cream apron with a few paint stains. Its right paw holds a thin paintbrush touching the canvas, its left paw rests relaxed at its side. Beside the easel, a small wooden stool holds three open paint pots, orange, blue and yellow. Big shiny dark eyes, soft rounded shapes, fur made of fine soft strands. Warm afternoon sunlight comes from a tall window on camera-left, a beam of light with floating dust, shelves of paint jars behind. Medium shot at the panda's eye level, 50mm, the background softly blurred. A palette of warm orange, navy and cream."
   ],
   "widgets_values_named": {
    "text": "A stylized 3D animated film still of a cute chubby panda painter in a cozy artist's studio. Its fur pattern is a giant panda's, but in orange and white: bright orange round ears, orange patches around its eyes, orange arms and legs, an orange band across its shoulders, and soft white fur everywhere else. It stands on its hind legs at a wooden easel, wearing a navy beret and a cream apron with a few paint stains. Its right paw holds a thin paintbrush touching the canvas, its left paw rests relaxed at its side. Beside the easel, a small wooden stool holds three open paint pots, orange, blue and yellow. Big shiny dark eyes, soft rounded shapes, fur made of fine soft strands. Warm afternoon sunlight comes from a tall window on camera-left, a beam of light with floating dust, shelves of paint jars behind. Medium shot at the panda's eye level, 50mm, the background softly blurred. A palette of warm orange, navy and cream."
   },
   "color": "#232",
   "bgcolor": "#353"
  },
  {
   "id": 8,
   "type": "EmptySD3LatentImage",
   "pos": [
    950,
    340
   ],
   "size": [
    300,
    106
   ],
   "flags": {},
   "order": 4,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "width",
     "name": "width",
     "type": "INT",
     "widget": {
      "name": "width"
     },
     "link": null
    },
    {
     "localized_name": "height",
     "name": "height",
     "type": "INT",
     "widget": {
      "name": "height"
     },
     "link": null
    },
    {
     "localized_name": "batch_size",
     "name": "batch_size",
     "type": "INT",
     "widget": {
      "name": "batch_size"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "localized_name": "LATENT",
     "name": "LATENT",
     "type": "LATENT",
     "links": [
      20
     ]
    }
   ],
   "properties": {
    "cnr_id": "comfy-core",
    "ver": "0.42.1",
    "Node name for S&R": "EmptySD3LatentImage"
   },
   "widgets_values": [
    1024,
    1024,
    1
   ],
   "widgets_values_named": {
    "width": 832,
    "height": 1216,
    "batch_size": 1
   }
  },
  {
   "id": 10,
   "type": "VAEDecode",
   "pos": [
    1290,
    250
   ],
   "size": [
    210,
    46
   ],
   "flags": {},
   "order": 5,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "samples",
     "name": "samples",
     "type": "LATENT",
     "link": 21
    },
    {
     "localized_name": "vae",
     "name": "vae",
     "type": "VAE",
     "link": 9
    }
   ],
   "outputs": [
    {
     "localized_name": "IMAGE",
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      8
     ]
    }
   ],
   "properties": {
    "cnr_id": "comfy-core",
    "ver": "0.42.1",
    "Node name for S&R": "VAEDecode"
   }
  },
  {
   "id": 11,
   "type": "SaveImage",
   "pos": [
    1290,
    340
   ],
   "size": [
    380,
    440
   ],
   "flags": {},
   "order": 6,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "images",
     "name": "images",
     "type": "IMAGE",
     "link": 8
    },
    {
     "localized_name": "filename_prefix",
     "name": "filename_prefix",
     "type": "STRING",
     "widget": {
      "name": "filename_prefix"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "localized_name": "images",
     "name": "images",
     "type": "IMAGE",
     "links": null
    }
   ],
   "properties": {
    "cnr_id": "comfy-core",
    "ver": "0.42.1",
    "Node name for S&R": "SaveImage"
   },
   "widgets_values": [
    "Nodes Explained/Samplers"
   ],
   "widgets_values_named": {
    "filename_prefix": "Nodes Explained/Image Size"
   }
  },
  {
   "id": 12,
   "type": "CLIPTextEncode",
   "pos": [
    380,
    640
   ],
   "size": [
    520,
    140
   ],
   "flags": {},
   "order": 7,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "clip",
     "name": "clip",
     "type": "CLIP",
     "link": 10
    },
    {
     "localized_name": "text",
     "name": "text",
     "type": "STRING",
     "widget": {
      "name": "text"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "localized_name": "CONDITIONING",
     "name": "CONDITIONING",
     "type": "CONDITIONING",
     "links": [
      15
     ]
    }
   ],
   "properties": {
    "cnr_id": "comfy-core",
    "ver": "0.42.3",
    "Node name for S&R": "CLIPTextEncode"
   },
   "widgets_values": [
    "blurry, ugly, bad hands, low quality"
   ],
   "widgets_values_named": {
    "text": "blurry, ugly, bad hands, low quality"
   },
   "color": "#322",
   "bgcolor": "#533"
  },
  {
   "id": 20,
   "type": "RandomNoise",
   "pos": [
    0,
    690
   ],
   "size": [
    270,
    82
   ],
   "flags": {},
   "order": 8,
   "mode": 0,
   "inputs": [
    {
     "name": "noise_seed",
     "type": "INT",
     "link": null,
     "widget": {
      "name": "noise_seed"
     }
    }
   ],
   "outputs": [
    {
     "name": "NOISE",
     "type": "NOISE",
     "links": [
      16
     ],
     "slot_index": 0
    }
   ],
   "properties": {
    "Node name for S&R": "RandomNoise"
   },
   "widgets_values": [
    2026,
    "fixed"
   ]
  },
  {
   "id": 21,
   "type": "KSamplerSelect",
   "pos": [
    0,
    830
   ],
   "size": [
    270,
    58
   ],
   "flags": {},
   "order": 9,
   "mode": 0,
   "inputs": [
    {
     "name": "sampler_name",
     "type": "COMBO",
     "link": null,
     "widget": {
      "name": "sampler_name"
     }
    }
   ],
   "outputs": [
    {
     "name": "SAMPLER",
     "type": "SAMPLER",
     "links": [
      18
     ],
     "slot_index": 0
    }
   ],
   "properties": {
    "Node name for S&R": "KSamplerSelect"
   },
   "widgets_values": [
    "res_multistep"
   ]
  },
  {
   "id": 22,
   "type": "BasicScheduler",
   "pos": [
    380,
    830
   ],
   "size": [
    270,
    106
   ],
   "flags": {},
   "order": 10,
   "mode": 0,
   "inputs": [
    {
     "name": "model",
     "type": "MODEL",
     "link": 12
    },
    {
     "name": "scheduler",
     "type": "COMBO",
     "link": null,
     "widget": {
      "name": "scheduler"
     }
    },
    {
     "name": "steps",
     "type": "INT",
     "link": null,
     "widget": {
      "name": "steps"
     }
    },
    {
     "name": "denoise",
     "type": "FLOAT",
     "link": null,
     "widget": {
      "name": "denoise"
     }
    }
   ],
   "outputs": [
    {
     "name": "SIGMAS",
     "type": "SIGMAS",
     "links": [
      19
     ],
     "slot_index": 0
    }
   ],
   "properties": {
    "Node name for S&R": "BasicScheduler"
   },
   "widgets_values": [
    "simple",
    8,
    1
   ]
  },
  {
   "id": 23,
   "type": "CFGGuider",
   "pos": [
    700,
    830
   ],
   "size": [
    270,
    98
   ],
   "flags": {},
   "order": 11,
   "mode": 0,
   "inputs": [
    {
     "name": "model",
     "type": "MODEL",
     "link": 13
    },
    {
     "name": "positive",
     "type": "CONDITIONING",
     "link": 14
    },
    {
     "name": "negative",
     "type": "CONDITIONING",
     "link": 15
    },
    {
     "name": "cfg",
     "type": "FLOAT",
     "link": null,
     "widget": {
      "name": "cfg"
     }
    }
   ],
   "outputs": [
    {
     "name": "GUIDER",
     "type": "GUIDER",
     "links": [
      17
     ],
     "slot_index": 0
    }
   ],
   "properties": {
    "Node name for S&R": "CFGGuider"
   },
   "widgets_values": [
    1
   ]
  },
  {
   "id": 24,
   "type": "SamplerCustomAdvanced",
   "pos": [
    1040,
    830
   ],
   "size": [
    230,
    106
   ],
   "flags": {},
   "order": 12,
   "mode": 0,
   "inputs": [
    {
     "name": "noise",
     "type": "NOISE",
     "link": 16
    },
    {
     "name": "guider",
     "type": "GUIDER",
     "link": 17
    },
    {
     "name": "sampler",
     "type": "SAMPLER",
     "link": 18
    },
    {
     "name": "sigmas",
     "type": "SIGMAS",
     "link": 19
    },
    {
     "name": "latent_image",
     "type": "LATENT",
     "link": 20
    }
   ],
   "outputs": [
    {
     "name": "output",
     "type": "LATENT",
     "links": [
      21
     ],
     "slot_index": 0
    },
    {
     "name": "denoised_output",
     "type": "LATENT",
     "links": [],
     "slot_index": 1
    }
   ],
   "properties": {
    "Node name for S&R": "SamplerCustomAdvanced"
   },
   "widgets_values": []
  },
  {
   "id": 1,
   "type": "MarkdownNote",
   "pos": [
    -470,
    -10
   ],
   "size": [
    430,
    269
   ],
   "flags": {},
   "order": 13,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "properties": {},
   "widgets_values": [
    "## ComfyUI Nodes Explained: Samplers\n\n**Finished workflow** = the answer to the Practice tasks: the **custom sampler**, five nodes that do the job of one **KSampler**, with the **Z-Image Turbo recipe**. Press **Run** to generate the orange panda painter.\n\nThe video and the Practice workflow:\nhttps://workflows.pixaroma.com/comfyui-nodes-explained/5/\n\n**The 3 model files (Z-Image Turbo, free, the same files as in Videos 1 to 4):**\n\n- [z_image_turbo_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_int8_convrot.safetensors) (6.2 GB)\n  goes in **ComfyUI/models/diffusion_models/z-image**\n- [qwen_3_4b_fp8_mixed.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b_fp8_mixed.safetensors) (5.6 GB)\n  goes in **ComfyUI/models/text_encoders**\n- [ae.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors) (0.3 GB)\n  goes in **ComfyUI/models/vae**\n\nAfter you add files while ComfyUI is open, click an empty spot on the canvas and press **R**, so the lists refresh."
   ],
   "color": "#432",
   "bgcolor": "#653"
  },
  {
   "id": 2,
   "type": "MarkdownNote",
   "pos": [
    -470,
    329
   ],
   "size": [
    430,
    301
   ],
   "flags": {},
   "order": 14,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "properties": {},
   "widgets_values": [
    "### How the custom sampler works\n\nA **KSampler** is five jobs in one box, and the custom sampler is the same five jobs as five nodes:\n\n**RandomNoise** = the seed. **KSamplerSelect** = the sampler, the technique. **BasicScheduler** = the plan. **CFG Guider** = the model, your prompts, and cfg. **SamplerCustomAdvanced** = the node that runs them.\n\n**sigmas** = the plan: a list of numbers, from **1** (all noise) to **0** (no noise). 8 steps give 9 numbers. The model helps to make it, so BasicScheduler needs the **model** wire.\n\nWith the same values, the five nodes gave the same image as a KSampler, pixel for pixel. **dpm_2**, **dpm_2_ancestral**, **uni_pc**, and **uni_pc_bh2** are the exception: a KSampler adds a step and removes the next to last number.\n\n**Basic Guider** works like cfg 1. **Keep the five nodes** when the plan comes from **Flux2Scheduler**, **Manual Sigmas**, or **Split Sigmas**. For everything else, a KSampler is easier to read.\n\n**Which pair?** Start with the recipe of your model. No recipe? Try **euler** with **simple**: it gave a clean image on all three models we tested."
   ],
   "color": "#232",
   "bgcolor": "#353",
   "title": "What you learned"
  }
 ],
 "links": [
  [
   2,
   4,
   0,
   6,
   0,
   "CLIP"
  ],
  [
   8,
   10,
   0,
   11,
   0,
   "IMAGE"
  ],
  [
   9,
   5,
   0,
   10,
   1,
   "VAE"
  ],
  [
   10,
   4,
   0,
   12,
   0,
   "CLIP"
  ],
  [
   12,
   3,
   0,
   22,
   0,
   "MODEL"
  ],
  [
   13,
   3,
   0,
   23,
   0,
   "MODEL"
  ],
  [
   14,
   6,
   0,
   23,
   1,
   "CONDITIONING"
  ],
  [
   15,
   12,
   0,
   23,
   2,
   "CONDITIONING"
  ],
  [
   16,
   20,
   0,
   24,
   0,
   "NOISE"
  ],
  [
   17,
   23,
   0,
   24,
   1,
   "GUIDER"
  ],
  [
   18,
   21,
   0,
   24,
   2,
   "SAMPLER"
  ],
  [
   19,
   22,
   0,
   24,
   3,
   "SIGMAS"
  ],
  [
   20,
   8,
   0,
   24,
   4,
   "LATENT"
  ],
  [
   21,
   24,
   0,
   10,
   0,
   "LATENT"
  ]
 ],
 "groups": [],
 "config": {},
 "extra": {
  "ds": {
   "scale": 0.55,
   "offset": [
    600,
    220
   ]
  }
 },
 "version": 0.4
}