{
 "id": "989d19a0-ffb0-47bb-b76f-16e2942aa060",
 "revision": 0,
 "last_node_id": 25,
 "last_link_id": 11,
 "nodes": [
  {
   "id": 3,
   "type": "UNETLoader",
   "pos": [
    0,
    340
   ],
   "size": [
    270,
    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": [
      1
     ]
    }
   ],
   "properties": {
    "cnr_id": "comfy-core",
    "ver": "0.42.1",
    "Node name for S&R": "UNETLoader",
    "models": [
     {
      "name": "z_image_turbo_int8_convrot.safetensors",
      "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_int8_convrot.safetensors",
      "directory": "diffusion_models"
     }
    ]
   },
   "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,
    540
   ],
   "size": [
    270,
    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",
    "models": [
     {
      "name": "qwen_3_4b_fp8_mixed.safetensors",
      "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b_fp8_mixed.safetensors",
      "directory": "text_encoders"
     }
    ]
   },
   "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,
    730
   ],
   "size": [
    270,
    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",
    "models": [
     {
      "name": "ae.safetensors",
      "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors",
      "directory": "vae"
     }
    ]
   },
   "widgets_values": [
    "ae.safetensors"
   ],
   "widgets_values_named": {
    "vae_name": "ae.safetensors"
   },
   "color": "#223",
   "bgcolor": "#335"
  },
  {
   "id": 6,
   "type": "CLIPTextEncode",
   "pos": [
    400,
    340
   ],
   "size": [
    420,
    270
   ],
   "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": [
      3
     ]
    }
   ],
   "title": "CLIP Text Encode (Positive Prompt)",
   "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": [
    400,
    920
   ],
   "size": [
    270,
    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": [
      6
     ]
    }
   ],
   "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": 9,
   "type": "KSampler",
   "pos": [
    860,
    340
   ],
   "size": [
    320,
    262
   ],
   "flags": {},
   "order": 5,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "model",
     "name": "model",
     "type": "MODEL",
     "link": 1
    },
    {
     "localized_name": "positive",
     "name": "positive",
     "type": "CONDITIONING",
     "link": 3
    },
    {
     "localized_name": "negative",
     "name": "negative",
     "type": "CONDITIONING",
     "link": 11
    },
    {
     "localized_name": "latent_image",
     "name": "latent_image",
     "type": "LATENT",
     "link": 6
    },
    {
     "localized_name": "seed",
     "name": "seed",
     "type": "INT",
     "widget": {
      "name": "seed"
     },
     "link": null
    },
    {
     "localized_name": "steps",
     "name": "steps",
     "type": "INT",
     "widget": {
      "name": "steps"
     },
     "link": null
    },
    {
     "localized_name": "cfg",
     "name": "cfg",
     "type": "FLOAT",
     "widget": {
      "name": "cfg"
     },
     "link": null
    },
    {
     "localized_name": "sampler_name",
     "name": "sampler_name",
     "type": "COMBO",
     "widget": {
      "name": "sampler_name"
     },
     "link": null
    },
    {
     "localized_name": "scheduler",
     "name": "scheduler",
     "type": "COMBO",
     "widget": {
      "name": "scheduler"
     },
     "link": null
    },
    {
     "localized_name": "denoise",
     "name": "denoise",
     "type": "FLOAT",
     "widget": {
      "name": "denoise"
     },
     "link": null
    }
   ],
   "outputs": [
    {
     "localized_name": "LATENT",
     "name": "LATENT",
     "type": "LATENT",
     "links": [
      7
     ]
    }
   ],
   "properties": {
    "cnr_id": "comfy-core",
    "ver": "0.42.1",
    "Node name for S&R": "KSampler"
   },
   "widgets_values": [
    2026,
    "fixed",
    20,
    8,
    "euler",
    "simple",
    1
   ],
   "widgets_values_named": {
    "seed": 2026,
    "control_after_generate": "fixed",
    "steps": 8,
    "cfg": 1,
    "sampler_name": "res_multistep",
    "scheduler": "simple",
    "denoise": 1
   }
  },
  {
   "id": 10,
   "type": "VAEDecode",
   "pos": [
    1220,
    340
   ],
   "size": [
    210,
    46
   ],
   "flags": {},
   "order": 6,
   "mode": 0,
   "inputs": [
    {
     "localized_name": "samples",
     "name": "samples",
     "type": "LATENT",
     "link": 7
    },
    {
     "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": [
    1220,
    440
   ],
   "size": [
    520,
    600
   ],
   "flags": {},
   "order": 7,
   "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/KSampler"
   ],
   "widgets_values_named": {
    "filename_prefix": "Nodes Explained/Image Size"
   }
  },
  {
   "id": 12,
   "type": "CLIPTextEncode",
   "pos": [
    400,
    660
   ],
   "size": [
    420,
    200
   ],
   "flags": {},
   "order": 8,
   "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": [
      11
     ]
    }
   ],
   "title": "CLIP Text Encode (Negative Prompt)",
   "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": 1,
   "type": "MarkdownNote",
   "pos": [
    -470,
    -10
   ],
   "size": [
    430,
    256
   ],
   "flags": {},
   "order": 9,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "properties": {},
   "widgets_values": [
    "## ComfyUI Nodes Explained: KSampler\n\n**Practice workflow.** Do the tasks in order. Each task note says what to do, and how you know it worked.\n\nThe **Finished** workflow shows the answer. Both are on the page for this video:\nhttps://workflows.pixaroma.com/comfyui-nodes-explained/4/\n\n**The 3 model files (Z-Image Turbo, free, the same files as in Videos 1, 2 and 3):**\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": 20,
   "type": "MarkdownNote",
   "pos": [
    -470,
    316
   ],
   "size": [
    430,
    108
   ],
   "flags": {},
   "order": 10,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "properties": {},
   "widgets_values": [
    "The **KSampler** still has the settings of a **new** KSampler: **steps 20** and **cfg 8**. Press **Run**.\n\nThen set **steps** to **8** and **cfg** to **1**, the **Z-Image Turbo recipe**, and press **Run** again.\n\n**You know it worked when** the flat, broken image turns back into the soft 3D panda."
   ],
   "color": "#232",
   "bgcolor": "#353",
   "title": "Task 1 (Fix it): a new KSampler"
  },
  {
   "id": 21,
   "type": "MarkdownNote",
   "pos": [
    -470,
    494
   ],
   "size": [
    430,
    132
   ],
   "flags": {},
   "order": 11,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "properties": {},
   "widgets_values": [
    "Set **control after generate** to **randomize**, and press **Run** two times. Watch the **seed** number.\n\nThen set it back to **fixed**.\n\n**You know it worked when** the number changes after each Run on randomize, and stays the same on fixed. The image you see was made with the number shown **before** that Run."
   ],
   "color": "#232",
   "bgcolor": "#353",
   "title": "Task 2 (Experiment): the seed modes"
  },
  {
   "id": 22,
   "type": "MarkdownNote",
   "pos": [
    -470,
    696
   ],
   "size": [
    430,
    84
   ],
   "flags": {},
   "order": 12,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "properties": {},
   "widgets_values": [
    "Set **steps** to **4**, press **Run**, then try **12** and press **Run**. Set it back to **8**.\n\n**You know it worked when** 4 looks a little softer, and 12 takes longer without looking better than 8."
   ],
   "color": "#232",
   "bgcolor": "#353",
   "title": "Task 3 (Experiment): steps"
  },
  {
   "id": 23,
   "type": "MarkdownNote",
   "pos": [
    -470,
    850
   ],
   "size": [
    430,
    84
   ],
   "flags": {},
   "order": 13,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "properties": {},
   "widgets_values": [
    "Set **cfg** to **3**, and press **Run**. Then set it back to **1**.\n\n**You know it worked when** the image turns flat and harsh at 3: **Z-Image Turbo** is made for **cfg 1**."
   ],
   "color": "#232",
   "bgcolor": "#353",
   "title": "Task 4 (Experiment): cfg"
  },
  {
   "id": 24,
   "type": "MarkdownNote",
   "pos": [
    -470,
    1004
   ],
   "size": [
    430,
    84
   ],
   "flags": {},
   "order": 14,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "properties": {},
   "widgets_values": [
    "Set **denoise** to **0.5**, and press **Run**. Then set it back to **1**.\n\n**You know it worked when** the image turns grey and muddy at 0.5: an **empty latent** has nothing to keep, so **denoise** stays at **1** in text to image."
   ],
   "color": "#232",
   "bgcolor": "#353",
   "title": "Task 5 (Experiment): denoise"
  },
  {
   "id": 25,
   "type": "MarkdownNote",
   "pos": [
    -470,
    1158
   ],
   "size": [
    430,
    72
   ],
   "flags": {},
   "order": 15,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "properties": {},
   "widgets_values": [
    "Press **Ctrl + S**, type a name like **My KSampler practice**, and press **Enter**.\n\n**You know it worked when** your workflow shows in the **Workflows** panel on the left."
   ],
   "color": "#232",
   "bgcolor": "#353",
   "title": "Task 6 (Save): your workflow"
  }
 ],
 "links": [
  [
   1,
   3,
   0,
   9,
   0,
   "MODEL"
  ],
  [
   2,
   4,
   0,
   6,
   0,
   "CLIP"
  ],
  [
   3,
   6,
   0,
   9,
   1,
   "CONDITIONING"
  ],
  [
   6,
   8,
   0,
   9,
   3,
   "LATENT"
  ],
  [
   7,
   9,
   0,
   10,
   0,
   "LATENT"
  ],
  [
   8,
   10,
   0,
   11,
   0,
   "IMAGE"
  ],
  [
   9,
   5,
   0,
   10,
   1,
   "VAE"
  ],
  [
   10,
   4,
   0,
   12,
   0,
   "CLIP"
  ],
  [
   11,
   12,
   0,
   9,
   2,
   "CONDITIONING"
  ]
 ],
 "groups": [],
 "config": {},
 "extra": {
  "ds": {
   "scale": 0.55,
   "offset": [
    560,
    80
   ]
  }
 },
 "version": 0.4
}