ComfyUI Workflow

Error: Invalid JSON format

{
  "last_node_id": 9,
  "last_link_id": 12,
  "nodes": [
    {
      "id": 1,
      "type": "CheckpointLoaderSimple",
      "pos": [200, 100],
      "size": { "0": 315, "1": 174 },
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [
        { "name": "ckpt_name", "type": "COMBO[STRING]", "link": null }
      ],
      "outputs": [
        { "name": "MODEL", "type": "MODEL", "links": [2], "slot_index": 0 },
        { "name": "CLIP", "type": "CLIP", "links": [3], "slot_index": 0 },
        { "name": "VAE", "type": "VAE", "links": [4], "slot_index": 0 },
        { "name": "NAME", "type": "STRING", "links": null, "slot_index": 0 }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": ["z-image-turbo.safetensors"]
    },
    {
      "id": 2,
      "type": "CLIPTextEncode",
      "pos": [600, 100],
      "size": { "0": 424.27801513671875, "1": 180.6060791015625 },
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        { "name": "clip", "type": "CLIP", "link": 2 }
      ],
      "outputs": [
        { "name": "CONDITIONING", "type": "CONDITIONING", "links": [5], "slot_index": 0 }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": ["a beautiful landscape with mountains and a lake, photorealistic, high quality"]
    },
    {
      "id": 3,
      "type": "EmptyLatentImage",
      "pos": [600, 350],
      "size": { "0": 315, "1": 106 },
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        { "name": "width", "type": "INT", "link": null },
        { "name": "height", "type": "INT", "link": null },
        { "name": "batch_size", "type": "INT", "link": null }
      ],
      "outputs": [
        { "name": "LATENT", "type": "LATENT", "links": [6], "slot_index": 0 }
      ],
      "properties": {
        "Node name for S&R": "EmptyLatentImage"
      },
      "widgets_values": [1024, 1024, 1]
    },
    {
      "id": 4,
      "type": "CLIPTextEncode",
      "pos": [600, 500],
      "size": { "0": 424.27801513671875, "1": 180.6060791015625 },
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        { "name": "clip", "type": "CLIP", "link": 3 }
      ],
      "outputs": [
        { "name": "CONDITIONING", "type": "CONDITIONING", "links": [7], "slot_index": 0 }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [""]
    },
    {
      "id": 5,
      "type": "KSampler",
      "pos": [1000, 300],
      "size": { "0": 315, "1": 262 },
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        { "name": "model", "type": "MODEL", "link": 5 },
        { "name": "seed", "type": "INT", "link": null },
        { "name": "steps", "type": "INT", "link": null },
        { "name": "cfg", "type": "FLOAT", "link": null },
        { "name": "sampler_name", "type": "COMBO[STRING]", "link": null },
        { "name": "scheduler", "type": "COMBO[STRING]", "link": null },
        { "name": "positive", "type": "CONDITIONING", "link": 6 },
        { "name": "negative", "type": "CONDITIONING", "link": 7 },
        { "name": "latent_image", "type": "LATENT", "link": 8 }
      ],
      "outputs": [
        { "name": "LATENT", "type": "LATENT", "links": [9], "slot_index": 0 }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [489238973, 20, 7, "euler", "normal"]
    },
    {
      "id": 6,
      "type": "VAEDecode",
      "pos": [1400, 300],
      "size": { "0": 210, "1": 46 },
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        { "name": "samples", "type": "LATENT", "link": 9 },
        { "name": "vae", "type": "VAE", "link": 4 }
      ],
      "outputs": [
        { "name": "IMAGE", "type": "IMAGE", "links": [10], "slot_index": 0 }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 7,
      "type": "SaveImage",
      "pos": [1700, 300],
      "size": { "0": 210, "1": 46 },
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        { "name": "images", "type": "IMAGE", "link": 10 }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "SaveImage"
      },
      "widgets_values": []
    },
    {
      "id": 8,
      "type": "PreviewImage",
      "pos": [1700, 400],
      "size": { "0": 210, "1": 46 },
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        { "name": "images", "type": "IMAGE", "link": 11 }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    },
    {
      "id": 9,
      "type": "Note",
      "pos": [200, 350],
      "size": { "0": 200, "1": 100 },
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {
        "Node name for S&R": "Note"
      },
      "widgets_values": ["Z-Image Turbo Workflow\\n\\nA 6B parameter efficient image generation model\\nwith sub-second inference latency"
      }
    }
  ],
  "links": [
    [2, 1, 0, 5, 0, 0],
    [3, 1, 1, 2, 0, 0],
    [4, 1, 2, 6, 1, 0],
    [5, 2, 0, 5, 0, 0],
    [6, 2, 0, 5, 0, 0],
    [7, 3, 0, 5, 6, 0],
    [8, 3, 0, 5, 7, 0],
    [9, 4, 0, 5, 5, 0],
    [10, 5, 0, 6, 0, 0],
    [11, 6, 0, 7, 0, 0],
    [12, 6, 0, 8, 0, 0]
  ],
  "groups": [],
  "config": {},
  "extra": {},
  "version": 0.4
}