{
  "id": "69ea8d60-1219-4c1b-a2fb-d092986fd8c8",
  "revision": 0,
  "last_node_id": 80,
  "last_link_id": 155,
  "nodes": [
    {
      "id": 1,
      "type": "CheckpointLoaderSimple",
      "pos": [
        -2140,
        -2180
      ],
      "size": [
        510,
        130
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            40,
            61
          ]
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "slot_index": 1,
          "links": [
            2,
            3,
            14,
            34
          ]
        },
        {
          "name": "VAE",
          "type": "VAE",
          "slot_index": 2,
          "links": [
            119
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple",
        "models": [
          {
            "name": "sensenova_u1.6_8b_mot_int8_convrot.safetensors",
            "url": "https://huggingface.co/Comfy-Org/SenseNova-U1/resolve/main/checkpoints/sensenova_u1.6_8b_mot_int8_convrot.safetensors",
            "directory": "checkpoints"
          }
        ]
      },
      "widgets_values": [
        "sensenova_u1.6_8b_mot_int8_convrot.safetensors"
      ],
      "widgets_values_named": {
        "ckpt_name": "sensenova_u1.6_8b_mot_int8_convrot.safetensors"
      },
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 4,
      "type": "CLIPTextEncode",
      "pos": [
        -580,
        -1500
      ],
      "size": [
        560,
        390
      ],
      "flags": {
        "collapsed": false
      },
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 2
        },
        {
          "name": "text",
          "type": "STRING",
          "widget": {
            "name": "text"
          },
          "link": 97
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            43,
            153
          ]
        }
      ],
      "title": "CLIP Text Encode (Positive)",
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "1girl"
      ],
      "widgets_values_named": {
        "text": "1girl"
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 5,
      "type": "CLIPTextEncode",
      "pos": [
        -580,
        -1050
      ],
      "size": [
        560,
        130
      ],
      "flags": {
        "collapsed": false
      },
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 3
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            44,
            154
          ]
        }
      ],
      "title": "CLIP Text Encode (Negative)",
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        ""
      ],
      "widgets_values_named": {
        "text": ""
      },
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 6,
      "type": "EmptyHiDreamO1LatentImage",
      "pos": [
        -870,
        -1940
      ],
      "size": [
        370,
        140
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 68
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 69
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            21,
            115
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "EmptyHiDreamO1LatentImage"
      },
      "widgets_values": [
        2048,
        1152,
        1
      ],
      "widgets_values_named": {
        "width": 2048,
        "height": 1152,
        "batch_size": 1
      },
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 7,
      "type": "PrimitiveInt",
      "pos": [
        720,
        -1500
      ],
      "size": [
        320,
        90
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "slot_index": 0,
          "links": [
            17,
            147
          ]
        }
      ],
      "title": "Int (Seed)",
      "properties": {
        "Node name for S&R": "PrimitiveInt"
      },
      "widgets_values": [
        42,
        "fixed"
      ],
      "widgets_values_named": {
        "value": 42,
        "control_after_generate": "fixed"
      }
    },
    {
      "id": 9,
      "type": "StartLoop",
      "pos": [
        230,
        -990
      ],
      "size": [
        300,
        190
      ],
      "flags": {},
      "order": 29,
      "mode": 0,
      "showAdvanced": true,
      "inputs": [
        {
          "name": "parent_iteration",
          "shape": 7,
          "type": "INT",
          "link": null
        },
        {
          "name": "initial_iteration_value",
          "shape": 7,
          "type": "*",
          "link": 70
        }
      ],
      "outputs": [
        {
          "name": "iteration_index",
          "type": "INT",
          "slot_index": 0,
          "links": [
            16
          ]
        },
        {
          "name": "is_first",
          "type": "BOOLEAN",
          "slot_index": 1,
          "links": [
            86
          ]
        },
        {
          "name": "is_last",
          "type": "BOOLEAN",
          "slot_index": 2,
          "links": []
        },
        {
          "name": "list_item",
          "type": "*",
          "slot_index": 3,
          "links": []
        },
        {
          "name": "current_iteration_value",
          "type": "*",
          "slot_index": 4,
          "links": [
            7,
            8,
            9
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "StartLoop"
      },
      "widgets_values": [
        "simple",
        5,
        false
      ],
      "widgets_values_named": {
        "mode": "simple",
        "mode.num_iterations": 5,
        "cache_iterations": false
      },
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 10,
      "type": "GetItemFromList",
      "pos": [
        720,
        -1320
      ],
      "size": [
        320,
        90
      ],
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [
        {
          "name": "list",
          "type": "*",
          "link": 7
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "slot_index": 0,
          "links": [
            12
          ]
        }
      ],
      "title": "Get Item From List (Positive)",
      "properties": {
        "Node name for S&R": "GetItemFromList"
      },
      "widgets_values": [
        0
      ],
      "widgets_values_named": {
        "index": 0
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 11,
      "type": "GetItemFromList",
      "pos": [
        720,
        -1160
      ],
      "size": [
        320,
        90
      ],
      "flags": {},
      "order": 32,
      "mode": 0,
      "inputs": [
        {
          "name": "list",
          "type": "*",
          "link": 8
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "slot_index": 0,
          "links": [
            15
          ]
        }
      ],
      "title": "Get Item From List (Negative)",
      "properties": {
        "Node name for S&R": "GetItemFromList"
      },
      "widgets_values": [
        1
      ],
      "widgets_values_named": {
        "index": 1
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 12,
      "type": "GetItemFromList",
      "pos": [
        720,
        -1000
      ],
      "size": [
        320,
        90
      ],
      "flags": {},
      "order": 33,
      "mode": 0,
      "inputs": [
        {
          "name": "list",
          "type": "*",
          "link": 9
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "slot_index": 0,
          "links": [
            85
          ]
        }
      ],
      "title": "Get Item From List (Previous latent)",
      "properties": {
        "Node name for S&R": "GetItemFromList"
      },
      "widgets_values": [
        2
      ],
      "widgets_values_named": {
        "index": 2
      },
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 14,
      "type": "SenseNovaConditioning",
      "pos": [
        1250,
        -1140
      ],
      "size": [
        340,
        150
      ],
      "flags": {},
      "order": 35,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 12
        },
        {
          "name": "clip",
          "shape": 7,
          "type": "CLIP",
          "link": 14
        },
        {
          "name": "negative",
          "shape": 7,
          "type": "CONDITIONING",
          "link": 15
        },
        {
          "name": "task.samples",
          "shape": 7,
          "type": "LATENT",
          "link": 87
        }
      ],
      "outputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            19,
            76
          ]
        },
        {
          "name": "generated_text",
          "type": "STRING",
          "slot_index": 1,
          "links": [
            28
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "slot_index": 2,
          "links": [
            20,
            77
          ]
        },
        {
          "name": "image_requested",
          "type": "BOOLEAN",
          "slot_index": 3,
          "links": [
            74
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "SenseNovaConditioning"
      },
      "widgets_values": [
        "self-correction",
        1024
      ],
      "widgets_values_named": {
        "task": "self-correction",
        "max_tokens": 1024
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 15,
      "type": "ComfyMathExpression",
      "pos": [
        1250,
        -1480
      ],
      "size": [
        350,
        170
      ],
      "flags": {
        "collapsed": false
      },
      "order": 30,
      "mode": 0,
      "inputs": [
        {
          "name": "values.a",
          "type": "FLOAT,INT,BOOLEAN",
          "link": 16
        },
        {
          "name": "values.b",
          "shape": 7,
          "type": "FLOAT,INT,BOOLEAN",
          "link": 17
        },
        {
          "name": "values.c",
          "shape": 7,
          "type": "FLOAT,INT,BOOLEAN",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "slot_index": 0,
          "links": []
        },
        {
          "name": "INT",
          "type": "INT",
          "slot_index": 1,
          "links": [
            22
          ]
        },
        {
          "name": "BOOL",
          "type": "BOOLEAN",
          "slot_index": 2,
          "links": []
        }
      ],
      "title": "Seed per iteration",
      "properties": {
        "Node name for S&R": "ComfyMathExpression"
      },
      "widgets_values": [
        "a + b"
      ],
      "widgets_values_named": {
        "expression": "a + b"
      }
    },
    {
      "id": 16,
      "type": "KSampler",
      "pos": [
        1760,
        -1520
      ],
      "size": [
        290,
        480
      ],
      "flags": {},
      "order": 37,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 151
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 19
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 20
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 21
        },
        {
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          },
          "link": 22
        },
        {
          "name": "steps",
          "type": "INT",
          "widget": {
            "name": "steps"
          },
          "link": 84
        },
        {
          "name": "cfg",
          "type": "FLOAT",
          "widget": {
            "name": "cfg"
          },
          "link": 65
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            73
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        42,
        "fixed",
        8,
        1,
        "euler",
        "simple",
        1
      ],
      "widgets_values_named": {
        "seed": 42,
        "control_after_generate": "fixed",
        "steps": 8,
        "cfg": 1,
        "sampler_name": "euler",
        "scheduler": "simple",
        "denoise": 1
      }
    },
    {
      "id": 19,
      "type": "PreviewAny",
      "pos": [
        1250,
        -880
      ],
      "size": [
        340,
        180
      ],
      "flags": {},
      "order": 36,
      "mode": 4,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 28
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "slot_index": 0,
          "links": [
            31
          ]
        }
      ],
      "title": "Stage text",
      "properties": {
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 20,
      "type": "EndLoop",
      "pos": [
        2390,
        -1460
      ],
      "size": [
        300,
        140
      ],
      "flags": {},
      "order": 40,
      "mode": 0,
      "inputs": [
        {
          "name": "output_value",
          "shape": 7,
          "type": "*",
          "link": 79
        },
        {
          "name": "next_iteration_value",
          "shape": 7,
          "type": "*",
          "link": 80
        },
        {
          "name": "terminations.termination0",
          "shape": 7,
          "type": "*",
          "link": 31
        },
        {
          "name": "terminations.termination1",
          "shape": 7,
          "type": "*",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "outputs",
          "shape": 6,
          "type": "*",
          "slot_index": 0,
          "links": [
            32,
            33
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "EndLoop"
      },
      "widgets_values": [
        false
      ],
      "widgets_values_named": {
        "accumulate": false
      },
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 21,
      "type": "GetItemFromList",
      "pos": [
        2390,
        -1250
      ],
      "size": [
        300,
        90
      ],
      "flags": {},
      "order": 41,
      "mode": 0,
      "inputs": [
        {
          "name": "list",
          "type": "*",
          "link": 32
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "slot_index": 0,
          "links": [
            35
          ]
        }
      ],
      "title": "Final conditioning",
      "properties": {
        "Node name for S&R": "GetItemFromList"
      },
      "widgets_values": [
        0
      ],
      "widgets_values_named": {
        "index": 0
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 22,
      "type": "GetItemFromList",
      "pos": [
        2390,
        -1090
      ],
      "size": [
        300,
        90
      ],
      "flags": {},
      "order": 42,
      "mode": 0,
      "inputs": [
        {
          "name": "list",
          "type": "*",
          "link": 33
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "slot_index": 0,
          "links": [
            36
          ]
        }
      ],
      "title": "Final latent",
      "properties": {
        "Node name for S&R": "GetItemFromList"
      },
      "widgets_values": [
        2
      ],
      "widgets_values_named": {
        "index": 2
      },
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 23,
      "type": "SenseNovaInterleaveDecode",
      "pos": [
        2390,
        -920
      ],
      "size": [
        300,
        90
      ],
      "flags": {},
      "order": 43,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 34
        },
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 35
        },
        {
          "name": "samples",
          "shape": 7,
          "type": "LATENT",
          "link": 36
        }
      ],
      "outputs": [
        {
          "name": "text",
          "type": "STRING",
          "slot_index": 0,
          "links": []
        },
        {
          "name": "images",
          "shape": 6,
          "type": "IMAGE",
          "slot_index": 1,
          "links": [
            149
          ]
        },
        {
          "name": "thinking",
          "type": "STRING",
          "slot_index": 2,
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "SenseNovaInterleaveDecode"
      }
    },
    {
      "id": 24,
      "type": "SaveImage",
      "pos": [
        2880,
        -2090
      ],
      "size": [
        1540,
        1540
      ],
      "flags": {},
      "order": 45,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 128
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "SaveImage"
      },
      "widgets_values": [
        "image_sensenova_u16_t2i"
      ],
      "widgets_values_named": {
        "filename_prefix": "image_sensenova_u16_t2i"
      }
    },
    {
      "id": 27,
      "type": "LoraLoaderModelOnly",
      "pos": [
        -2140,
        -1970
      ],
      "size": [
        510,
        120
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 40
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            62
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "LoraLoaderModelOnly",
        "models": [
          {
            "name": "sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors",
            "url": "https://huggingface.co/Comfy-Org/SenseNova-U1/resolve/main/loras/sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors",
            "directory": "loras"
          }
        ]
      },
      "widgets_values": [
        "sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors",
        1
      ],
      "widgets_values_named": {
        "lora_name": "sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors",
        "strength_model": 1
      },
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 29,
      "type": "HiDreamO1ReferenceImages",
      "pos": [
        240,
        -1470
      ],
      "size": [
        300,
        70
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 43
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 44
        },
        {
          "name": "images.image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            71
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            72
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "HiDreamO1ReferenceImages"
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 34,
      "type": "PrimitiveBoolean",
      "pos": [
        -360,
        -2160
      ],
      "size": [
        270,
        60
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "BOOLEAN",
          "type": "BOOLEAN",
          "links": [
            59,
            60,
            83
          ]
        }
      ],
      "title": "Turbo Mode?",
      "properties": {
        "Node name for S&R": "PrimitiveBoolean"
      },
      "widgets_values": [
        false
      ],
      "widgets_values_named": {
        "value": false
      }
    },
    {
      "id": 35,
      "type": "PrimitiveInt",
      "pos": [
        720,
        -2240
      ],
      "size": [
        270,
        90
      ],
      "flags": {
        "collapsed": false
      },
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            82
          ]
        }
      ],
      "title": "Int (Steps)",
      "properties": {
        "Node name for S&R": "PrimitiveInt"
      },
      "widgets_values": [
        8,
        "fixed"
      ],
      "widgets_values_named": {
        "value": 8,
        "control_after_generate": "fixed"
      }
    },
    {
      "id": 36,
      "type": "PrimitiveInt",
      "pos": [
        210,
        -2240
      ],
      "size": [
        270,
        90
      ],
      "flags": {
        "collapsed": false
      },
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            81
          ]
        }
      ],
      "title": "Int (Setps)",
      "properties": {
        "Node name for S&R": "PrimitiveInt"
      },
      "widgets_values": [
        50,
        "fixed"
      ],
      "widgets_values_named": {
        "value": 50,
        "control_after_generate": "fixed"
      }
    },
    {
      "id": 37,
      "type": "PrimitiveFloat",
      "pos": [
        210,
        -2080
      ],
      "size": [
        270,
        60
      ],
      "flags": {
        "collapsed": false
      },
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            57
          ]
        }
      ],
      "title": "Float (CFG)",
      "properties": {
        "Node name for S&R": "PrimitiveFloat"
      },
      "widgets_values": [
        4
      ],
      "widgets_values_named": {
        "value": 4
      }
    },
    {
      "id": 38,
      "type": "PrimitiveFloat",
      "pos": [
        720,
        -2080
      ],
      "size": [
        270,
        60
      ],
      "flags": {
        "collapsed": false
      },
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            58
          ]
        }
      ],
      "title": "Float (CFG)",
      "properties": {
        "Node name for S&R": "PrimitiveFloat"
      },
      "widgets_values": [
        1
      ],
      "widgets_values_named": {
        "value": 1
      }
    },
    {
      "id": 40,
      "type": "ComfySwitchNode",
      "pos": [
        1190,
        -2080
      ],
      "size": [
        310,
        110
      ],
      "flags": {
        "collapsed": false
      },
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "on_false",
          "shape": 7,
          "type": "FLOAT",
          "link": 57
        },
        {
          "name": "on_true",
          "shape": 7,
          "type": "FLOAT",
          "link": 58
        },
        {
          "name": "switch",
          "type": "BOOLEAN",
          "widget": {
            "name": "switch"
          },
          "link": 59
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "FLOAT",
          "links": [
            65,
            113
          ]
        }
      ],
      "title": "If/Else Switch (cfg)",
      "properties": {
        "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
        false
      ],
      "widgets_values_named": {
        "switch": false
      }
    },
    {
      "id": 41,
      "type": "ComfySwitchNode",
      "pos": [
        1200,
        -1880
      ],
      "size": [
        300,
        110
      ],
      "flags": {
        "collapsed": false
      },
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "on_false",
          "shape": 7,
          "type": "MODEL",
          "link": 61
        },
        {
          "name": "on_true",
          "shape": 7,
          "type": "MODEL",
          "link": 62
        },
        {
          "name": "switch",
          "type": "BOOLEAN",
          "widget": {
            "name": "switch"
          },
          "link": 60
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "MODEL",
          "links": [
            151,
            152
          ]
        }
      ],
      "title": "If/Else Switch (Model)",
      "properties": {
        "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
        false
      ],
      "widgets_values_named": {
        "switch": false
      },
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 42,
      "type": "ResolutionSelector",
      "pos": [
        -880,
        -2260
      ],
      "size": [
        330,
        220
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "showAdvanced": true,
      "inputs": [],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": [
            68
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            69
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ResolutionSelector"
      },
      "widgets_values": [
        "4:3 (Standard)",
        4,
        32
      ],
      "widgets_values_named": {
        "aspect_ratio": "16:9 (Widescreen)",
        "megapixels": 4,
        "multiple": 32
      }
    },
    {
      "id": 44,
      "type": "CreateList",
      "pos": [
        230,
        -1160
      ],
      "size": [
        300,
        100
      ],
      "flags": {},
      "order": 27,
      "mode": 0,
      "inputs": [
        {
          "name": "inputs.input0",
          "type": "*",
          "link": 71
        },
        {
          "name": "inputs.input1",
          "shape": 7,
          "type": "*",
          "link": 72
        },
        {
          "name": "inputs.input2",
          "shape": 7,
          "type": "*",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "list",
          "shape": 6,
          "type": "*",
          "links": [
            70
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CreateList"
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 45,
      "type": "ComfySwitchNode",
      "pos": [
        1760,
        -980
      ],
      "size": [
        290,
        80
      ],
      "flags": {},
      "order": 38,
      "mode": 0,
      "inputs": [
        {
          "name": "on_false",
          "shape": 7,
          "type": "LATENT",
          "link": null
        },
        {
          "name": "on_true",
          "shape": 7,
          "type": "*",
          "link": 73
        },
        {
          "name": "switch",
          "type": "BOOLEAN",
          "widget": {
            "name": "switch"
          },
          "link": 74
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "LATENT",
          "links": [
            78
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
        false
      ],
      "widgets_values_named": {
        "switch": false
      },
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 46,
      "type": "CreateList",
      "pos": [
        1760,
        -830
      ],
      "size": [
        290,
        110
      ],
      "flags": {},
      "order": 39,
      "mode": 0,
      "inputs": [
        {
          "name": "inputs.input0",
          "type": "*",
          "link": 76
        },
        {
          "name": "inputs.input1",
          "shape": 7,
          "type": "*",
          "link": 77
        },
        {
          "name": "inputs.input2",
          "shape": 7,
          "type": "*",
          "link": 78
        },
        {
          "name": "inputs.input3",
          "shape": 7,
          "type": "*",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "list",
          "shape": 6,
          "type": "*",
          "links": [
            79,
            80
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CreateList"
      }
    },
    {
      "id": 47,
      "type": "ComfySwitchNode",
      "pos": [
        1190,
        -2240
      ],
      "size": [
        310,
        110
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "on_false",
          "shape": 7,
          "type": "INT",
          "link": 81
        },
        {
          "name": "on_true",
          "shape": 7,
          "type": "INT",
          "link": 82
        },
        {
          "name": "switch",
          "type": "BOOLEAN",
          "widget": {
            "name": "switch"
          },
          "link": 83
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "INT",
          "links": [
            84,
            112
          ]
        }
      ],
      "title": "If/Else Switch (steps)",
      "properties": {
        "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
        false
      ],
      "widgets_values_named": {
        "switch": false
      }
    },
    {
      "id": 48,
      "type": "ComfySwitchNode",
      "pos": [
        720,
        -840
      ],
      "size": [
        320,
        80
      ],
      "flags": {},
      "order": 34,
      "mode": 0,
      "inputs": [
        {
          "name": "on_false",
          "shape": 7,
          "type": "*",
          "link": 85
        },
        {
          "name": "on_true",
          "shape": 7,
          "type": "*",
          "link": null
        },
        {
          "name": "switch",
          "type": "BOOLEAN",
          "widget": {
            "name": "switch"
          },
          "link": 86
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "*",
          "links": [
            87
          ]
        }
      ],
      "title": "If/Else Switch (Previous latent)",
      "properties": {
        "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
        false
      ],
      "widgets_values_named": {
        "switch": false
      },
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 53,
      "type": "PrimitiveStringMultiline",
      "pos": [
        -2120,
        -1330
      ],
      "size": [
        520,
        490
      ],
      "flags": {
        "collapsed": false
      },
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            134
          ]
        }
      ],
      "title": "Text (System Prompt - Text to Image)",
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
        "## 1. Task and scope\n\nYou are an expert in expanding text-to-image prompts. You will receive a user's original image request. Develop it into a detailed description ready for image generation, preserving the user's explicit requirements and adding visible details consistent with their intent.\n\nBuild on the user's visual concept. Preserve specified subjects, counts, actions, positions, relationships, composition, medium, style, colors, on-image text, and other explicit requirements. Respect explicit exclusions. Refine the existing content and fill in visual information needed to render the scene. Added details should fit the original concept and make the image more specific and coherent.\n\n## 2. Structure of the expanded description\n\nBegin with an overview, then develop the image in a natural viewing order. Use the following structure, adapting it to the image's visual flow.\n\n- Open with the image type, central subject, or visual concept. Include the viewpoint, medium, style, palette, or mood when it defines the first impression. For a Chinese description, usually begin with “这是一张……” or “这是一幅……”. In English, “This is a…” or “This is an…” is suitable. Use a natural opening in other languages.\n- Describe the main elements, their appearance, state, actions, and relationships, then the surrounding setting, regions, and spatial layers. A scene can progress from foreground to background, a flat or abstract composition from its main shapes outward, and a designed layout in reading order.\n- When describing an object or region, select suitable treatments from the relevant parts of Section 3, guided by the user's request and the image's focus. Describe how those treatments take form in this image: their location, extent, and expression on the subjects or surroundings, and the resulting appearance, spatial relationships, or atmosphere. Combine treatments where useful and integrate their effects into the scene description.\n\n## 3. Visual details to consider\n\nThe following directions are references that may be selected, combined, or varied to suit the subject and content relationships. Follow the user's explicit visual requirements. For choices left open, select the most suitable treatment rather than favoring options listed first. Each reference connects a method with a possible visible result. In the final description, develop the selected treatment as it appears in this particular image, with concrete forms, surfaces, spatial relationships, and light or color effects. Let mood emerge from how these choices work together in the scene; their emotional meaning depends on the content.\n\n### 3.1 Subjects and actions\n\n#### 3.1.1 What is in the image\n\nIdentify the main subjects, their location, count, and appearance. Add scale, orientation, or state when it helps identify them. Give abstract ideas a concrete visual form.\n\nPossible details include a person's silhouette, clothing, or expression, an object's shape, joints, or signs of use, or the point where a repeating abstract pattern changes.\n\n#### 3.1.2 Actions and interactions\n\nWhen people appear, describe their specific poses and what they are doing at that moment. If the user provides only an identity or appearance, choose a natural pose that fits the scene. For a facial close-up, describe the direction of the head and gaze. When people or objects interact, make the interaction visually explicit.\n\n### 3.2 Composition and viewpoint\n\n#### 3.2.1 Placement\n\nDescribe where the main elements sit, their front-to-back order, how much space they occupy, and where space is left open. Preserve the user's specified directions and layout.\n\n- Centered and balanced arrangements. Use central placement, symmetry, or balanced masses to establish a clear visual anchor and organize the surrounding space.\n- Offset and asymmetric arrangements. Place the main subject away from the center and balance it with other forms or open space, creating direction or a sense of movement where appropriate.\n- Depth and overlapping layers. Use foreground, middle-ground, and background elements, overlap, and changes in scale to clarify distance and the subject's relationship to its setting.\n- Lines and visual paths. Use edges, curves, diagonals, or repeated forms to guide the eye toward the subject or connect important parts of the image.\n- Repetition and variation. Repeat shapes, intervals, or proportions, then vary a relevant element to create rhythm or draw attention to a difference.\n- Grouping and hierarchy. Use proximity, alignment, relative size, or separated regions to show which elements belong together and which carry the main emphasis.\n- Open and dense space. Adjust spacing, cropping, and the distribution of detail to give the subject room or make the frame feel concentrated, as the content requires.\n\n#### 3.2.2 Viewing angle and framing\n\nDescribe the viewing angle and distance, and which parts of the subject are visible. Where cropping or blur matters, specify what is cut off and what is sharpest.\n\n- Views from above. Use top-down or oblique views to show the arrangement of elements; an oblique angle can also reveal their sides, height, and depth.\n- Eye-level and side views. Present the subject at its own level or in profile to make its shape, posture, and relationship to nearby elements easy to read.\n- Views from below. Use a low viewpoint and upward-extending forms to emphasize height or relative scale when these matter to the scene.\n- Wider framing. Include the surroundings and distances between elements to show where an event takes place and how the subject occupies that space.\n- Close-ups and macro views. Bring an expression, action, object part, or surface into prominence so that the relevant gesture, structure, or texture can be seen clearly.\n- Wide-angle perspective. Use differences between near and distant scale and converging lines to develop the extent and depth of the space.\n- Focus and depth of field. Use selective focus to distinguish a subject from softer surroundings, or deep focus to keep relevant elements at different distances readable.\n\n### 3.3 Light and its effects\n\nWhen lighting matters, identify the source, direction, and illuminated areas. Choose suitable qualities and describe their visible effects on the subjects and surroundings. Preserve the user's lighting requirements and keep the light, shadows, and material response consistent.\n\n- Soft and even light. Use overcast daylight, diffused window light, or broad studio light to create gradual tonal transitions and keep surface details readable.\n- Directional and grazing light. Use sunlight, side lighting, or a low light angle to shape illuminated and shaded areas, bringing out volume, edges, or surface texture.\n- Backlighting and transmitted light. Use light from behind or through a material to form rim light, silhouettes, or translucent color, separating contours or revealing the material's thickness.\n- Brightness and fill. Adjust subject-background contrast and reflected fill to direct attention and control how much detail remains visible in darker regions.\n- Atmospheric light and particles. Use mist, haze, or illuminated dust to reveal light shafts and depth; self-luminous particles can appear as scattered points or trails within the scene.\n- Patterned light and caustics. Use foliage, openings, water, or glass to break light into patches, bands, or concentrated bright patterns on particular surfaces.\n- Light sources within the scene. Use windows, lamps, headlights, streetlights, or luminous objects to illuminate nearby forms, with mixed-color lighting where different sources meet.\n- Optical highlights and glow. Use reflections, halation, lens flare, starbursts, glow, or bokeh to shape the appearance of bright areas and defocused light sources in a way consistent with the image's medium.\n\nFor flat graphic images, tonal differences and color-block boundaries can establish layers.\n\n### 3.4 Palette and color relationships\n\nStart with the dominant colors, then describe the colors of the subjects and key regions. Preserve specified palettes, object colors, and light colors. Select color relationships that suit the content and show where their contrasts or visual echoes appear.\n\n- Natural and local colors. Develop colors from the subjects and materials, then vary their lightness or temperature across illuminated and shaded areas to keep objects recognizable within the scene.\n- Black and white or monochrome. Use differences in lightness, texture, and small tonal shifts to distinguish forms and layers within a restricted color range.\n- Analogous and limited palettes. Use related hues or a small set of recurring colors across subjects and regions, linking the image while retaining differences between important elements.\n- Pale, muted, and vintage tones. Use pastels, lowered saturation, or restrained film-like color shifts to soften color transitions or suggest a period treatment when appropriate to the subject.\n- Vivid colors and strong contrasts. Use saturated or fluorescent hues, complementary colors, or distinct color blocks to separate forms or establish an emphasis.\n- Warm-cool relationships and accents. Distribute warmer and cooler areas across the image, or place a contrasting or metallic accent on a relevant detail to establish depth or a focal point.\n- Gradients, iridescence, and alternating colors. Use gradual color changes, shifting surface hues, or repeated color sequences to develop transitions, material appearance, or visual rhythm.\n- Color coding. Assign consistent colors to categories, stages, or states and identify which graphics, labels, or legend entries they represent.\n\n### 3.5 Medium, style, and surface texture\n\nPreserve the requested medium or style and describe how it appears on specific subjects. When style is open, choose from the references below or another treatment appropriate to the concept. For mixed media, explain which regions use each treatment and how they join.\n\n- Photography. Use documentary, macro, long-exposure, or film treatments to develop a captured moment, a small detail, visible motion, or a particular grain and tonal character.\n- Drawing and painting. Use watercolor, gouache, oil paint, ink, or line drawing to construct subjects through transparent washes, opaque color areas, layered strokes, or contours, making the chosen edges and surface texture visible.\n- Comics and animation. Use expressive outlines, cross-hatching, simplified silhouettes, or cel shading to clarify forms and actions or establish a stylized narrative treatment.\n- Graphic and technical imagery. Use flat geometry, typographic organization, blueprint lines, or technical diagrams to make shapes, information, or structural relationships clear.\n- Printmaking and printing. Use woodcut marks, screen-printed layers, stencil edges, or halftone dots to construct forms and tonal differences with a distinct printed texture.\n- Paper art and collage. Use cut or torn paper, layered fragments, or photomontage to combine subjects and regions through visible edges, overlaps, and material contrasts.\n- Three-dimensional and miniature scenes. Use isometric views, clay, or miniature construction to give forms clear volume, scale, and material character within a coherent space.\n- Digital and surreal imagery. Use pixels, low-poly facets, abstraction, or deliberate changes in scale and form to build the requested scene or visual concept with a consistent visual language.\n- Surface texture. Use grain, fibers, brushstrokes, ink bleed, cut edges, or matte, glossy, metallic, glass, and translucent finishes on relevant surfaces to make their material character visible.\n\n### 3.6 Atmosphere and emotion\n\nPreserve the requested mood and develop it through the subjects, actions, framing, light, color, and materials in this particular scene. When mood is unspecified, let it follow naturally from the content. The following are possible ways to support a feeling; choose and adapt them to the scene rather than applying a fixed technique-to-emotion formula.\n\n- Quiet and spacious. Use still subjects, open intervals, or restrained visual changes to give the eye room to pause and make the surrounding space perceptible.\n- Warm, welcoming, and everyday. Use appropriate proximity, familiar activities, or signs of ordinary use to make the relationships and setting feel approachable or lived-in.\n- Relaxed, fresh, and airy. Use an unhurried action, open framing, or light visual transitions where these suit the scene, giving the image a sense of ease or openness.\n- Lively, bustling, and playful. Use varied movement, repeated accents, or an unexpected but fitting change in shape or scale to establish energy, interaction, or a childlike quality.\n- Austere, detached, lonely, or wistful. Use separation, restrained interactions, or meaningful empty space to show distance or absence when supported by the subject and situation.\n- Solemn and monumental. Use scale relationships, stable arrangements, or extended forms to give the subject a sense of weight, presence, or occasion.\n- Tense and oppressive. Use the scene's approaching actions, close spacing, constricted framing, or pronounced divisions to make pressure or uncertainty visible.\n- Dreamlike and mysterious. Use partial visibility, reflections, translucent layers, or altered spatial relationships to create ambiguity or an unfamiliar sense of space.\n- Retro and nostalgic. Use period-appropriate objects, materials, image treatment, or signs of wear to suggest a particular time or the traces it has left.\n\n### 3.7 On-image text and lettering\n\nFor every place that needs text, specify the actual words to be rendered and put them in quotation marks. Whenever you mention a headline, label, caption, or other visible text, include its complete wording in the description. Do not merely say that a title or text appears, leave placeholders, or defer writing the copy.\n\n- Posters. When the user provides little detail, first decide what readers should remember, know, or do. Keep the copy brief when the main visual conveys the theme on its own. When words are needed to state the theme, write one headline, then add a subtitle, key selling points, or a call to action as the poster's purpose requires. Use only user-provided details for specifics such as dates, venues, prices, or cast members.\n- Infographics. When the user gives only a topic or little detail, first decide what readers should understand or be able to do after viewing the infographic. Use drawings, diagrams, or step illustrations to show the relevant objects, structures, or processes. Add text wherever readers need a name, a distinction, an instruction, or an explanation that the visuals alone do not convey. Follow any explicit limits on text, including requests for no text, minimal text, or only the user's supplied wording. In reading order, describe each area's graphic together with its corresponding labels, step names, or brief explanations, and quote the exact words to be rendered. Preserve a user-provided main title, and leave it unspecified when none is given.\n\nChoose letterforms to suit the purpose and mood, specifying whether they belong to a title, keyword, explanation, or text on an object. Important words can receive more expressive shaping while keeping their recognizable character structure.\n\nWhen titles or keywords need emphasis, optional treatments include brush lettering, handwriting, graffiti lettering, pixel lettering, dimensional lettering, and other display styles. Adjust color, type size, stroke weight, and brushwork as appropriate, for example through a contrasting color, an enlarged word, or dry-brush gaps at the ends of strokes.\n\n## 4. Language of the description and on-image text\n\nUse the output language explicitly requested by the user. Otherwise, use the main language in which the original request describes the image and gives instructions. For mixed-language input, determine the language from those descriptive and instructional passages.\n\nThe language of visible text is independent of the description's language. Preserve user-supplied copy, brand names, and proper names exactly in their specified locations, including language, capitalization, numbers, and punctuation. Follow explicit requests for translation or bilingual copy.\n\nWhen expanding source wording into new on-image copy, use the language explicitly requested by the user. If none is specified, keep the new copy in the same language as the wording it is derived from. For copy with no source wording, use the description's language.\n\n## 5. Response format\n\n- Return the description and nothing else: one continuous paragraph, in a single line starting on the very first character of your reply. Use the description language specified in Section 4.\n\nYour whole reply is used as the image prompt, so every extra word you add becomes part of the image.\n"
      ],
      "widgets_values_named": {
        "value": "## 1. Task and scope\n\nYou are an expert in expanding text-to-image prompts. You will receive a user's original image request. Develop it into a detailed description ready for image generation, preserving the user's explicit requirements and adding visible details consistent with their intent.\n\nBuild on the user's visual concept. Preserve specified subjects, counts, actions, positions, relationships, composition, medium, style, colors, on-image text, and other explicit requirements. Respect explicit exclusions. Refine the existing content and fill in visual information needed to render the scene. Added details should fit the original concept and make the image more specific and coherent.\n\n## 2. Structure of the expanded description\n\nBegin with an overview, then develop the image in a natural viewing order. Use the following structure, adapting it to the image's visual flow.\n\n- Open with the image type, central subject, or visual concept. Include the viewpoint, medium, style, palette, or mood when it defines the first impression. For a Chinese description, usually begin with “这是一张……” or “这是一幅……”. In English, “This is a…” or “This is an…” is suitable. Use a natural opening in other languages.\n- Describe the main elements, their appearance, state, actions, and relationships, then the surrounding setting, regions, and spatial layers. A scene can progress from foreground to background, a flat or abstract composition from its main shapes outward, and a designed layout in reading order.\n- When describing an object or region, select suitable treatments from the relevant parts of Section 3, guided by the user's request and the image's focus. Describe how those treatments take form in this image: their location, extent, and expression on the subjects or surroundings, and the resulting appearance, spatial relationships, or atmosphere. Combine treatments where useful and integrate their effects into the scene description.\n\n## 3. Visual details to consider\n\nThe following directions are references that may be selected, combined, or varied to suit the subject and content relationships. Follow the user's explicit visual requirements. For choices left open, select the most suitable treatment rather than favoring options listed first. Each reference connects a method with a possible visible result. In the final description, develop the selected treatment as it appears in this particular image, with concrete forms, surfaces, spatial relationships, and light or color effects. Let mood emerge from how these choices work together in the scene; their emotional meaning depends on the content.\n\n### 3.1 Subjects and actions\n\n#### 3.1.1 What is in the image\n\nIdentify the main subjects, their location, count, and appearance. Add scale, orientation, or state when it helps identify them. Give abstract ideas a concrete visual form.\n\nPossible details include a person's silhouette, clothing, or expression, an object's shape, joints, or signs of use, or the point where a repeating abstract pattern changes.\n\n#### 3.1.2 Actions and interactions\n\nWhen people appear, describe their specific poses and what they are doing at that moment. If the user provides only an identity or appearance, choose a natural pose that fits the scene. For a facial close-up, describe the direction of the head and gaze. When people or objects interact, make the interaction visually explicit.\n\n### 3.2 Composition and viewpoint\n\n#### 3.2.1 Placement\n\nDescribe where the main elements sit, their front-to-back order, how much space they occupy, and where space is left open. Preserve the user's specified directions and layout.\n\n- Centered and balanced arrangements. Use central placement, symmetry, or balanced masses to establish a clear visual anchor and organize the surrounding space.\n- Offset and asymmetric arrangements. Place the main subject away from the center and balance it with other forms or open space, creating direction or a sense of movement where appropriate.\n- Depth and overlapping layers. Use foreground, middle-ground, and background elements, overlap, and changes in scale to clarify distance and the subject's relationship to its setting.\n- Lines and visual paths. Use edges, curves, diagonals, or repeated forms to guide the eye toward the subject or connect important parts of the image.\n- Repetition and variation. Repeat shapes, intervals, or proportions, then vary a relevant element to create rhythm or draw attention to a difference.\n- Grouping and hierarchy. Use proximity, alignment, relative size, or separated regions to show which elements belong together and which carry the main emphasis.\n- Open and dense space. Adjust spacing, cropping, and the distribution of detail to give the subject room or make the frame feel concentrated, as the content requires.\n\n#### 3.2.2 Viewing angle and framing\n\nDescribe the viewing angle and distance, and which parts of the subject are visible. Where cropping or blur matters, specify what is cut off and what is sharpest.\n\n- Views from above. Use top-down or oblique views to show the arrangement of elements; an oblique angle can also reveal their sides, height, and depth.\n- Eye-level and side views. Present the subject at its own level or in profile to make its shape, posture, and relationship to nearby elements easy to read.\n- Views from below. Use a low viewpoint and upward-extending forms to emphasize height or relative scale when these matter to the scene.\n- Wider framing. Include the surroundings and distances between elements to show where an event takes place and how the subject occupies that space.\n- Close-ups and macro views. Bring an expression, action, object part, or surface into prominence so that the relevant gesture, structure, or texture can be seen clearly.\n- Wide-angle perspective. Use differences between near and distant scale and converging lines to develop the extent and depth of the space.\n- Focus and depth of field. Use selective focus to distinguish a subject from softer surroundings, or deep focus to keep relevant elements at different distances readable.\n\n### 3.3 Light and its effects\n\nWhen lighting matters, identify the source, direction, and illuminated areas. Choose suitable qualities and describe their visible effects on the subjects and surroundings. Preserve the user's lighting requirements and keep the light, shadows, and material response consistent.\n\n- Soft and even light. Use overcast daylight, diffused window light, or broad studio light to create gradual tonal transitions and keep surface details readable.\n- Directional and grazing light. Use sunlight, side lighting, or a low light angle to shape illuminated and shaded areas, bringing out volume, edges, or surface texture.\n- Backlighting and transmitted light. Use light from behind or through a material to form rim light, silhouettes, or translucent color, separating contours or revealing the material's thickness.\n- Brightness and fill. Adjust subject-background contrast and reflected fill to direct attention and control how much detail remains visible in darker regions.\n- Atmospheric light and particles. Use mist, haze, or illuminated dust to reveal light shafts and depth; self-luminous particles can appear as scattered points or trails within the scene.\n- Patterned light and caustics. Use foliage, openings, water, or glass to break light into patches, bands, or concentrated bright patterns on particular surfaces.\n- Light sources within the scene. Use windows, lamps, headlights, streetlights, or luminous objects to illuminate nearby forms, with mixed-color lighting where different sources meet.\n- Optical highlights and glow. Use reflections, halation, lens flare, starbursts, glow, or bokeh to shape the appearance of bright areas and defocused light sources in a way consistent with the image's medium.\n\nFor flat graphic images, tonal differences and color-block boundaries can establish layers.\n\n### 3.4 Palette and color relationships\n\nStart with the dominant colors, then describe the colors of the subjects and key regions. Preserve specified palettes, object colors, and light colors. Select color relationships that suit the content and show where their contrasts or visual echoes appear.\n\n- Natural and local colors. Develop colors from the subjects and materials, then vary their lightness or temperature across illuminated and shaded areas to keep objects recognizable within the scene.\n- Black and white or monochrome. Use differences in lightness, texture, and small tonal shifts to distinguish forms and layers within a restricted color range.\n- Analogous and limited palettes. Use related hues or a small set of recurring colors across subjects and regions, linking the image while retaining differences between important elements.\n- Pale, muted, and vintage tones. Use pastels, lowered saturation, or restrained film-like color shifts to soften color transitions or suggest a period treatment when appropriate to the subject.\n- Vivid colors and strong contrasts. Use saturated or fluorescent hues, complementary colors, or distinct color blocks to separate forms or establish an emphasis.\n- Warm-cool relationships and accents. Distribute warmer and cooler areas across the image, or place a contrasting or metallic accent on a relevant detail to establish depth or a focal point.\n- Gradients, iridescence, and alternating colors. Use gradual color changes, shifting surface hues, or repeated color sequences to develop transitions, material appearance, or visual rhythm.\n- Color coding. Assign consistent colors to categories, stages, or states and identify which graphics, labels, or legend entries they represent.\n\n### 3.5 Medium, style, and surface texture\n\nPreserve the requested medium or style and describe how it appears on specific subjects. When style is open, choose from the references below or another treatment appropriate to the concept. For mixed media, explain which regions use each treatment and how they join.\n\n- Photography. Use documentary, macro, long-exposure, or film treatments to develop a captured moment, a small detail, visible motion, or a particular grain and tonal character.\n- Drawing and painting. Use watercolor, gouache, oil paint, ink, or line drawing to construct subjects through transparent washes, opaque color areas, layered strokes, or contours, making the chosen edges and surface texture visible.\n- Comics and animation. Use expressive outlines, cross-hatching, simplified silhouettes, or cel shading to clarify forms and actions or establish a stylized narrative treatment.\n- Graphic and technical imagery. Use flat geometry, typographic organization, blueprint lines, or technical diagrams to make shapes, information, or structural relationships clear.\n- Printmaking and printing. Use woodcut marks, screen-printed layers, stencil edges, or halftone dots to construct forms and tonal differences with a distinct printed texture.\n- Paper art and collage. Use cut or torn paper, layered fragments, or photomontage to combine subjects and regions through visible edges, overlaps, and material contrasts.\n- Three-dimensional and miniature scenes. Use isometric views, clay, or miniature construction to give forms clear volume, scale, and material character within a coherent space.\n- Digital and surreal imagery. Use pixels, low-poly facets, abstraction, or deliberate changes in scale and form to build the requested scene or visual concept with a consistent visual language.\n- Surface texture. Use grain, fibers, brushstrokes, ink bleed, cut edges, or matte, glossy, metallic, glass, and translucent finishes on relevant surfaces to make their material character visible.\n\n### 3.6 Atmosphere and emotion\n\nPreserve the requested mood and develop it through the subjects, actions, framing, light, color, and materials in this particular scene. When mood is unspecified, let it follow naturally from the content. The following are possible ways to support a feeling; choose and adapt them to the scene rather than applying a fixed technique-to-emotion formula.\n\n- Quiet and spacious. Use still subjects, open intervals, or restrained visual changes to give the eye room to pause and make the surrounding space perceptible.\n- Warm, welcoming, and everyday. Use appropriate proximity, familiar activities, or signs of ordinary use to make the relationships and setting feel approachable or lived-in.\n- Relaxed, fresh, and airy. Use an unhurried action, open framing, or light visual transitions where these suit the scene, giving the image a sense of ease or openness.\n- Lively, bustling, and playful. Use varied movement, repeated accents, or an unexpected but fitting change in shape or scale to establish energy, interaction, or a childlike quality.\n- Austere, detached, lonely, or wistful. Use separation, restrained interactions, or meaningful empty space to show distance or absence when supported by the subject and situation.\n- Solemn and monumental. Use scale relationships, stable arrangements, or extended forms to give the subject a sense of weight, presence, or occasion.\n- Tense and oppressive. Use the scene's approaching actions, close spacing, constricted framing, or pronounced divisions to make pressure or uncertainty visible.\n- Dreamlike and mysterious. Use partial visibility, reflections, translucent layers, or altered spatial relationships to create ambiguity or an unfamiliar sense of space.\n- Retro and nostalgic. Use period-appropriate objects, materials, image treatment, or signs of wear to suggest a particular time or the traces it has left.\n\n### 3.7 On-image text and lettering\n\nFor every place that needs text, specify the actual words to be rendered and put them in quotation marks. Whenever you mention a headline, label, caption, or other visible text, include its complete wording in the description. Do not merely say that a title or text appears, leave placeholders, or defer writing the copy.\n\n- Posters. When the user provides little detail, first decide what readers should remember, know, or do. Keep the copy brief when the main visual conveys the theme on its own. When words are needed to state the theme, write one headline, then add a subtitle, key selling points, or a call to action as the poster's purpose requires. Use only user-provided details for specifics such as dates, venues, prices, or cast members.\n- Infographics. When the user gives only a topic or little detail, first decide what readers should understand or be able to do after viewing the infographic. Use drawings, diagrams, or step illustrations to show the relevant objects, structures, or processes. Add text wherever readers need a name, a distinction, an instruction, or an explanation that the visuals alone do not convey. Follow any explicit limits on text, including requests for no text, minimal text, or only the user's supplied wording. In reading order, describe each area's graphic together with its corresponding labels, step names, or brief explanations, and quote the exact words to be rendered. Preserve a user-provided main title, and leave it unspecified when none is given.\n\nChoose letterforms to suit the purpose and mood, specifying whether they belong to a title, keyword, explanation, or text on an object. Important words can receive more expressive shaping while keeping their recognizable character structure.\n\nWhen titles or keywords need emphasis, optional treatments include brush lettering, handwriting, graffiti lettering, pixel lettering, dimensional lettering, and other display styles. Adjust color, type size, stroke weight, and brushwork as appropriate, for example through a contrasting color, an enlarged word, or dry-brush gaps at the ends of strokes.\n\n## 4. Language of the description and on-image text\n\nUse the output language explicitly requested by the user. Otherwise, use the main language in which the original request describes the image and gives instructions. For mixed-language input, determine the language from those descriptive and instructional passages.\n\nThe language of visible text is independent of the description's language. Preserve user-supplied copy, brand names, and proper names exactly in their specified locations, including language, capitalization, numbers, and punctuation. Follow explicit requests for translation or bilingual copy.\n\nWhen expanding source wording into new on-image copy, use the language explicitly requested by the user. If none is specified, keep the new copy in the same language as the wording it is derived from. For copy with no source wording, use the description's language.\n\n## 5. Response format\n\n- Return the description and nothing else: one continuous paragraph, in a single line starting on the very first character of your reply. Use the description language specified in Section 4.\n\nYour whole reply is used as the image prompt, so every extra word you add becomes part of the image.\n"
      }
    },
    {
      "id": 54,
      "type": "PreviewAny",
      "pos": [
        -1100,
        -1540
      ],
      "size": [
        410,
        520
      ],
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 109
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            97
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    },
    {
      "id": 55,
      "type": "CLIPLoader",
      "pos": [
        -2120,
        -1540
      ],
      "size": [
        520,
        140
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            100
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader",
        "models": [
          {
            "name": "qwen3.5_9b_qwen_image_2.1_pe_t2i.int8_convrot.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/text_encoders/qwen3.5_9b_qwen_image_2.1_pe_t2i.int8_convrot.safetensors",
            "directory": "text_encoders"
          }
        ]
      },
      "widgets_values": [
        "qwen3.5_9b_qwen_image_2.1_pe_t2i.int8_convrot.safetensors",
        "stable_diffusion",
        "default"
      ],
      "widgets_values_named": {
        "clip_name": "qwen3.5_9b_qwen_image_2.1_pe_t2i.int8_convrot.safetensors",
        "type": "stable_diffusion",
        "device": "default"
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 57,
      "type": "TextGenerateV2",
      "pos": [
        -1540,
        -1540
      ],
      "size": [
        400,
        460
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "showAdvanced": true,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 100
        },
        {
          "name": "images.image1",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "videos.video1",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "audios.audio1",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "system_prompt",
          "shape": 7,
          "type": "STRING",
          "link": 134
        },
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 110
        }
      ],
      "outputs": [
        {
          "name": "generated_text",
          "type": "STRING",
          "links": [
            108
          ]
        },
        {
          "name": "thinking",
          "type": "STRING",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "TextGenerateV2"
      },
      "widgets_values": [
        "",
        4096,
        "on",
        1,
        20,
        0.95,
        0,
        1,
        1.5,
        0,
        true,
        true,
        "auto"
      ],
      "widgets_values_named": {
        "prompt": "",
        "max_length": 4096,
        "sampling_mode": "on",
        "sampling_mode.temperature": 1,
        "sampling_mode.top_k": 20,
        "sampling_mode.top_p": 0.95,
        "sampling_mode.min_p": 0,
        "sampling_mode.repetition_penalty": 1,
        "sampling_mode.presence_penalty": 1.5,
        "sampling_mode.seed": 0,
        "thinking": true,
        "use_default_template": true,
        "mtp": "auto"
      }
    },
    {
      "id": 60,
      "type": "PrimitiveBoolean",
      "pos": [
        -360,
        -2020
      ],
      "size": [
        270,
        60
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "BOOLEAN",
          "type": "BOOLEAN",
          "links": [
            106
          ]
        }
      ],
      "title": "Boolean(Enable PE)",
      "properties": {
        "Node name for S&R": "PrimitiveBoolean"
      },
      "widgets_values": [
        true
      ],
      "widgets_values_named": {
        "value": true
      }
    },
    {
      "id": 61,
      "type": "ComfySwitchNode",
      "pos": [
        -1420,
        -950
      ],
      "size": [
        270,
        80
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "on_false",
          "shape": 7,
          "type": "STRING",
          "link": 107
        },
        {
          "name": "on_true",
          "shape": 7,
          "type": "STRING",
          "link": 108
        },
        {
          "name": "switch",
          "type": "BOOLEAN",
          "widget": {
            "name": "switch"
          },
          "link": 106
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "STRING",
          "links": [
            109
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
        false
      ],
      "widgets_values_named": {
        "switch": false
      }
    },
    {
      "id": 64,
      "type": "PrimitiveStringMultiline",
      "pos": [
        -1470,
        -2270
      ],
      "size": [
        480,
        570
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            107,
            110
          ]
        }
      ],
      "title": "Text (User Prompt)",
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
        "Landscape-format slow-shutter street portrait in a city. A woman with light brown hair tied back stands in the middle of a crowd, in a white suit turned slightly to the side, her face turned back to the camera with a calm, alert expression. She sits slightly right of center, framed to around the hips: her small gold earrings, her eyes and the lapels of the suit stay sharp, while everything below the chest is partly hidden by pedestrians passing across her.\n\nThe people around her are dark-clothed figures smeared horizontally in motion blur — a light coat in the lower left drags a patch of warm gray haze, a dark body close on the right blocks the background — and the figures keep clear front-to-back separation from each other. Warm light falls from high above onto the crown of her hair and the side of her cheek, and the white suit reads as the most complete bright mass against dark brown, ink black and a little olive gray.\n\nFocus is locked on the still figure; the motion streaking belongs only to the crowd moving in front of and behind her."
      ],
      "widgets_values_named": {
        "value": "Landscape-format slow-shutter street portrait in a city. A woman with light brown hair tied back stands in the middle of a crowd, in a white suit turned slightly to the side, her face turned back to the camera with a calm, alert expression. She sits slightly right of center, framed to around the hips: her small gold earrings, her eyes and the lapels of the suit stay sharp, while everything below the chest is partly hidden by pedestrians passing across her.\n\nThe people around her are dark-clothed figures smeared horizontally in motion blur — a light coat in the lower left drags a patch of warm gray haze, a dark body close on the right blocks the background — and the figures keep clear front-to-back separation from each other. Warm light falls from high above onto the crown of her hair and the side of her cheek, and the white suit reads as the most complete bright mass against dark brown, ink black and a little olive gray.\n\nFocus is locked on the still figure; the motion streaking belongs only to the crowd moving in front of and behind her."
      },
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 65,
      "type": "MarkdownNote",
      "pos": [
        -3470,
        -2330
      ],
      "size": [
        610,
        880
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "## Model Links\n\n- [Hugging Face:Comfy-Org/SenseNova-U1](https://huggingface.co/Comfy-Org/SenseNova-U1)\n- [Hugging Face:Comfy-Org/Qwen-Image-2.1](https://huggingface.co/Comfy-Org/Qwen-Image-2.1) PE Model\n\n**checkpoints**\n\n- [sensenova_u1.6_8b_mot_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/SenseNova-U1/resolve/main/checkpoints/sensenova_u1.6_8b_mot_int8_convrot.safetensors)\n\n**loras**\n\n- [sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors](https://huggingface.co/Comfy-Org/SenseNova-U1/resolve/main/loras/sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors)\n\n**text_encoders**\n\n- PE Model: [qwen3.5_9b_qwen_image_2.1_pe_t2i.int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/text_encoders/qwen3.5_9b_qwen_image_2.1_pe_t2i.int8_convrot.safetensors) (8.82 GB)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 checkpoints/\n│   │   └── sensenova_u1.6_8b_mot_int8_convrot.safetensors\n│   ├── 📂 loras/\n│   │   └── sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors\n│   └── 📂 text_encoders/\n│       └── qwen3.5_9b_qwen_image_2.1_pe_t2i.int8_convrot.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
      ],
      "widgets_values_named": {
        "text": "## Model Links\n\n- [Hugging Face:Comfy-Org/SenseNova-U1](https://huggingface.co/Comfy-Org/SenseNova-U1)\n- [Hugging Face:Comfy-Org/Qwen-Image-2.1](https://huggingface.co/Comfy-Org/Qwen-Image-2.1) PE Model\n\n**checkpoints**\n\n- [sensenova_u1.6_8b_mot_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/SenseNova-U1/resolve/main/checkpoints/sensenova_u1.6_8b_mot_int8_convrot.safetensors)\n\n**loras**\n\n- [sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors](https://huggingface.co/Comfy-Org/SenseNova-U1/resolve/main/loras/sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors)\n\n**text_encoders**\n\n- PE Model: [qwen3.5_9b_qwen_image_2.1_pe_t2i.int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/text_encoders/qwen3.5_9b_qwen_image_2.1_pe_t2i.int8_convrot.safetensors) (8.82 GB)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 checkpoints/\n│   │   └── sensenova_u1.6_8b_mot_int8_convrot.safetensors\n│   ├── 📂 loras/\n│   │   └── sensenova_u1.6_8b_mot_8step_lora_bf16.safetensors\n│   └── 📂 text_encoders/\n│       └── qwen3.5_9b_qwen_image_2.1_pe_t2i.int8_convrot.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
      },
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 66,
      "type": "MarkdownNote",
      "pos": [
        -2810,
        -2330
      ],
      "size": [
        580,
        870
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "# SenseNova-U1.6 · Text to Image\n\nSenseNova-U1.6 is a unified multimodal model that combines visual understanding with image generation in a single 8B `mot` backbone. It targets the work where accuracy and beauty both matter — portraits, posters, illustrations and infographics — and it can review its own output and fix text errors before returning the final image.\n\n## Highlights\n\n- **Refined aesthetics** — genre-specific aesthetic reward models drive feedback for portraits and photoreal scenes (realism, texture, lighting), artistic work (creativity, style) and infographics (text, layout, composition). **+10% overall aesthetic quality over U1.5** in subjective user evaluations.\n- **Autonomous self-correction** — after the first pass the model checks the image against the prompt, flags blurred or garbled text, typos, misspellings and wrong numbering, then regenerates from the original prompt plus the current image as context. **+7% average relative improvement over single-pass generation** on dense infographic tasks (UltraTextBench).\n- **Scaled multi-expert RL** — aesthetic reward models, interleaved self-correction and multiple reward signals across content-specific experts, consolidated into one model through multi-expert on-policy distillation (MOPD).\n\n## Two pipelines in this workflow\n\n| Pipeline | What it does | Best for |\n| --- | --- | --- |\n| **Option 1 · Base pipeline** | Single generation pass. | Portraits, photography, posters, general illustration |\n| **Option 2 · Self-correction pipeline** | Generate → review → refine loop (up to 5 passes), then decode. | Infographics, dense text, charts, step diagrams, numbering |\n\n## Sampling settings\n\n| Mode | Steps | CFG |\n| --- | --- | --- |\n| **Turbo** (8-step LoRA) | 8 | 1.0 |\n| **Quality** (no LoRA) | 50 | 4.0 |\n\n- **Turbo Mode?** — toggles the 8-step LoRA. Keep it on for iteration speed; turn it off for maximum text fidelity and fine detail.\n- **Self-Correction** — adds the review/refine loop. On for text-heavy layouts, off for portraits and photoreal work, since every pass is another sampling run.\n- **Enable PE** — optional prompt rewriter: a Qwen3.5-9B PE text encoder expands short prompts into full visual descriptions and fills in the exact on-image copy.\n- **Resolution** — presets from 1:1 to 21:9, default **4:3 (Standard) at 4 megapixels (2368 × 1760)**.\n\n## Prompting tips\n\n- Quote every word that should appear in the image — quoted copy is rendered verbatim, and unquoted text is where errors come from.\n- Self-correction was trained on infographics but generalizes to some other image types; it pays off most on dense layouts with numbers, labels and small type.\n- With PE off, write the full visual description yourself. A one-line prompt will not reach the model's typography and layout strengths."
      ],
      "widgets_values_named": {
        "text": "# SenseNova-U1.6 · Text to Image\n\nSenseNova-U1.6 is a unified multimodal model that combines visual understanding with image generation in a single 8B `mot` backbone. It targets the work where accuracy and beauty both matter — portraits, posters, illustrations and infographics — and it can review its own output and fix text errors before returning the final image.\n\n## Highlights\n\n- **Refined aesthetics** — genre-specific aesthetic reward models drive feedback for portraits and photoreal scenes (realism, texture, lighting), artistic work (creativity, style) and infographics (text, layout, composition). **+10% overall aesthetic quality over U1.5** in subjective user evaluations.\n- **Autonomous self-correction** — after the first pass the model checks the image against the prompt, flags blurred or garbled text, typos, misspellings and wrong numbering, then regenerates from the original prompt plus the current image as context. **+7% average relative improvement over single-pass generation** on dense infographic tasks (UltraTextBench).\n- **Scaled multi-expert RL** — aesthetic reward models, interleaved self-correction and multiple reward signals across content-specific experts, consolidated into one model through multi-expert on-policy distillation (MOPD).\n\n## Two pipelines in this workflow\n\n| Pipeline | What it does | Best for |\n| --- | --- | --- |\n| **Option 1 · Base pipeline** | Single generation pass. | Portraits, photography, posters, general illustration |\n| **Option 2 · Self-correction pipeline** | Generate → review → refine loop (up to 5 passes), then decode. | Infographics, dense text, charts, step diagrams, numbering |\n\n## Sampling settings\n\n| Mode | Steps | CFG |\n| --- | --- | --- |\n| **Turbo** (8-step LoRA) | 8 | 1.0 |\n| **Quality** (no LoRA) | 50 | 4.0 |\n\n- **Turbo Mode?** — toggles the 8-step LoRA. Keep it on for iteration speed; turn it off for maximum text fidelity and fine detail.\n- **Self-Correction** — adds the review/refine loop. On for text-heavy layouts, off for portraits and photoreal work, since every pass is another sampling run.\n- **Enable PE** — optional prompt rewriter: a Qwen3.5-9B PE text encoder expands short prompts into full visual descriptions and fills in the exact on-image copy.\n- **Resolution** — presets from 1:1 to 21:9, default **4:3 (Standard) at 4 megapixels (2368 × 1760)**.\n\n## Prompting tips\n\n- Quote every word that should appear in the image — quoted copy is rendered verbatim, and unquoted text is where errors come from.\n- Self-correction was trained on infographics but generalizes to some other image types; it pays off most on dense layouts with numbers, labels and small type.\n- With PE off, write the full visual description yourself. A one-line prompt will not reach the model's typography and layout strengths."
      },
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 67,
      "type": "KSampler",
      "pos": [
        1770,
        -2240
      ],
      "size": [
        290,
        480
      ],
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 152
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 153
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 154
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 115
        },
        {
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          },
          "link": 147
        },
        {
          "name": "steps",
          "type": "INT",
          "widget": {
            "name": "steps"
          },
          "link": 112
        },
        {
          "name": "cfg",
          "type": "FLOAT",
          "widget": {
            "name": "cfg"
          },
          "link": 113
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            118
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        42,
        "fixed",
        8,
        1,
        "euler",
        "simple",
        1
      ],
      "widgets_values_named": {
        "seed": 42,
        "control_after_generate": "fixed",
        "steps": 8,
        "cfg": 1,
        "sampler_name": "euler",
        "scheduler": "simple",
        "denoise": 1
      }
    },
    {
      "id": 69,
      "type": "VAEDecode",
      "pos": [
        2380,
        -2250
      ],
      "size": [
        140,
        50
      ],
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 118
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 119
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            150
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 74,
      "type": "ComfySwitchNode",
      "pos": [
        2870,
        -2280
      ],
      "size": [
        270,
        80
      ],
      "flags": {},
      "order": 44,
      "mode": 0,
      "inputs": [
        {
          "name": "on_false",
          "shape": 7,
          "type": "IMAGE",
          "link": 149
        },
        {
          "name": "on_true",
          "shape": 7,
          "type": "IMAGE",
          "link": 150
        },
        {
          "name": "switch",
          "type": "BOOLEAN",
          "widget": {
            "name": "switch"
          },
          "link": 155
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "IMAGE",
          "links": [
            128
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ComfySwitchNode"
      },
      "widgets_values": [
        false
      ],
      "widgets_values_named": {
        "switch": false
      }
    },
    {
      "id": 75,
      "type": "PrimitiveBoolean",
      "pos": [
        -360,
        -1850
      ],
      "size": [
        270,
        60
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "BOOLEAN",
          "type": "BOOLEAN",
          "links": [
            155
          ]
        }
      ],
      "title": "Boolean (Self-Correction)",
      "properties": {
        "Node name for S&R": "PrimitiveBoolean"
      },
      "widgets_values": [
        true
      ],
      "widgets_values_named": {
        "value": true
      }
    }
  ],
  "links": [
    [
      2,
      1,
      1,
      4,
      0,
      "CLIP"
    ],
    [
      3,
      1,
      1,
      5,
      0,
      "CLIP"
    ],
    [
      7,
      9,
      4,
      10,
      0,
      "*"
    ],
    [
      8,
      9,
      4,
      11,
      0,
      "*"
    ],
    [
      9,
      9,
      4,
      12,
      0,
      "*"
    ],
    [
      19,
      14,
      0,
      16,
      1,
      "CONDITIONING"
    ],
    [
      20,
      14,
      2,
      16,
      2,
      "CONDITIONING"
    ],
    [
      21,
      6,
      0,
      16,
      3,
      "LATENT"
    ],
    [
      22,
      15,
      1,
      16,
      4,
      "INT"
    ],
    [
      28,
      14,
      1,
      19,
      0,
      "*"
    ],
    [
      32,
      20,
      0,
      21,
      0,
      "*"
    ],
    [
      33,
      20,
      0,
      22,
      0,
      "*"
    ],
    [
      34,
      1,
      1,
      23,
      0,
      "CLIP"
    ],
    [
      35,
      21,
      0,
      23,
      1,
      "CONDITIONING"
    ],
    [
      36,
      22,
      0,
      23,
      2,
      "LATENT"
    ],
    [
      40,
      1,
      0,
      27,
      0,
      "MODEL"
    ],
    [
      57,
      37,
      0,
      40,
      0,
      "FLOAT"
    ],
    [
      58,
      38,
      0,
      40,
      1,
      "FLOAT"
    ],
    [
      59,
      34,
      0,
      40,
      2,
      "BOOLEAN"
    ],
    [
      60,
      34,
      0,
      41,
      2,
      "BOOLEAN"
    ],
    [
      61,
      1,
      0,
      41,
      0,
      "MODEL"
    ],
    [
      62,
      27,
      0,
      41,
      1,
      "MODEL"
    ],
    [
      65,
      40,
      0,
      16,
      6,
      "FLOAT"
    ],
    [
      68,
      42,
      0,
      6,
      0,
      "INT"
    ],
    [
      69,
      42,
      1,
      6,
      1,
      "INT"
    ],
    [
      73,
      16,
      0,
      45,
      1,
      "LATENT"
    ],
    [
      74,
      14,
      3,
      45,
      2,
      "BOOLEAN"
    ],
    [
      81,
      36,
      0,
      47,
      0,
      "INT"
    ],
    [
      82,
      35,
      0,
      47,
      1,
      "INT"
    ],
    [
      83,
      34,
      0,
      47,
      2,
      "BOOLEAN"
    ],
    [
      84,
      47,
      0,
      16,
      5,
      "INT"
    ],
    [
      85,
      12,
      0,
      48,
      0,
      "*"
    ],
    [
      86,
      9,
      1,
      48,
      2,
      "BOOLEAN"
    ],
    [
      43,
      4,
      0,
      29,
      0,
      "CONDITIONING"
    ],
    [
      44,
      5,
      0,
      29,
      1,
      "CONDITIONING"
    ],
    [
      97,
      54,
      0,
      4,
      1,
      "STRING"
    ],
    [
      106,
      60,
      0,
      61,
      2,
      "BOOLEAN"
    ],
    [
      107,
      64,
      0,
      61,
      0,
      "STRING"
    ],
    [
      108,
      57,
      0,
      61,
      1,
      "STRING"
    ],
    [
      109,
      61,
      0,
      54,
      0,
      "STRING"
    ],
    [
      115,
      6,
      0,
      67,
      3,
      "LATENT"
    ],
    [
      118,
      67,
      0,
      69,
      0,
      "LATENT"
    ],
    [
      119,
      1,
      2,
      69,
      1,
      "VAE"
    ],
    [
      128,
      74,
      0,
      24,
      0,
      "IMAGE"
    ],
    [
      112,
      47,
      0,
      67,
      5,
      "INT"
    ],
    [
      113,
      40,
      0,
      67,
      6,
      "FLOAT"
    ],
    [
      147,
      7,
      0,
      67,
      4,
      "INT"
    ],
    [
      149,
      23,
      1,
      74,
      0,
      "IMAGE"
    ],
    [
      150,
      69,
      0,
      74,
      1,
      "IMAGE"
    ],
    [
      151,
      41,
      0,
      16,
      0,
      "MODEL"
    ],
    [
      152,
      41,
      0,
      67,
      0,
      "MODEL"
    ],
    [
      153,
      4,
      0,
      67,
      1,
      "CONDITIONING"
    ],
    [
      154,
      5,
      0,
      67,
      2,
      "CONDITIONING"
    ],
    [
      70,
      44,
      0,
      9,
      1,
      "*"
    ],
    [
      12,
      10,
      0,
      14,
      0,
      "CONDITIONING"
    ],
    [
      14,
      1,
      1,
      14,
      1,
      "CLIP"
    ],
    [
      15,
      11,
      0,
      14,
      2,
      "CONDITIONING"
    ],
    [
      87,
      48,
      0,
      14,
      3,
      "LATENT"
    ],
    [
      16,
      9,
      0,
      15,
      0,
      "FLOAT,INT,BOOLEAN"
    ],
    [
      17,
      7,
      0,
      15,
      1,
      "FLOAT,INT,BOOLEAN"
    ],
    [
      79,
      46,
      0,
      20,
      0,
      "*"
    ],
    [
      80,
      46,
      0,
      20,
      1,
      "*"
    ],
    [
      31,
      19,
      0,
      20,
      2,
      "*"
    ],
    [
      71,
      29,
      0,
      44,
      0,
      "CONDITIONING"
    ],
    [
      72,
      29,
      1,
      44,
      1,
      "CONDITIONING"
    ],
    [
      76,
      14,
      0,
      46,
      0,
      "CONDITIONING"
    ],
    [
      77,
      14,
      2,
      46,
      1,
      "CONDITIONING"
    ],
    [
      78,
      45,
      0,
      46,
      2,
      "LATENT"
    ],
    [
      100,
      55,
      0,
      57,
      0,
      "CLIP"
    ],
    [
      134,
      53,
      0,
      57,
      4,
      "STRING"
    ],
    [
      110,
      64,
      0,
      57,
      5,
      "STRING"
    ],
    [
      155,
      75,
      0,
      74,
      2,
      "BOOLEAN"
    ]
  ],
  "groups": [
    {
      "id": 2,
      "title": "Models",
      "bounding": [
        -2180,
        -2360,
        660,
        680
      ],
      "color": "#A88",
      "flags": {}
    },
    {
      "id": 3,
      "title": "Prompt",
      "bounding": [
        -620,
        -1640,
        630,
        820
      ],
      "color": "#444",
      "flags": {}
    },
    {
      "id": 6,
      "title": "Sampling Settings",
      "bounding": [
        110,
        -2360,
        1500,
        680
      ],
      "color": "#444",
      "flags": {}
    },
    {
      "id": 4,
      "title": "Normal Settings",
      "bounding": [
        160,
        -2310,
        400,
        350
      ],
      "color": "#444",
      "flags": {}
    },
    {
      "id": 5,
      "title": "Turbo Settings",
      "bounding": [
        680,
        -2310,
        370,
        350
      ],
      "color": "#444",
      "flags": {}
    },
    {
      "id": 7,
      "title": "User Inputs",
      "bounding": [
        -1490,
        -2360,
        1500,
        680
      ],
      "color": "#A88",
      "flags": {}
    },
    {
      "id": 15,
      "title": "Option 2 · Self-Correction  Pipeline",
      "bounding": [
        110,
        -1640,
        2700,
        1150
      ],
      "color": "#444",
      "flags": {}
    },
    {
      "id": 8,
      "title": "Loop Setup >>>",
      "bounding": [
        120,
        -1600,
        520,
        1100
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 9,
      "title": "Self-Correction Loop",
      "bounding": [
        670,
        -1600,
        1580,
        1100
      ],
      "color": "#444",
      "flags": {}
    },
    {
      "id": 10,
      "title": "<<< Loop End & Output",
      "bounding": [
        2280,
        -1600,
        520,
        1100
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 11,
      "title": "Prompt Rewriter",
      "bounding": [
        -2190,
        -1640,
        1530,
        820
      ],
      "color": "#444",
      "flags": {}
    },
    {
      "id": 12,
      "title": "Option 1: Base Pipeline",
      "bounding": [
        1650,
        -2360,
        1150,
        670
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 16,
      "title": "Output",
      "bounding": [
        2840,
        -2360,
        1610,
        1860
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 17,
      "title": "Feature flags",
      "bounding": [
        -400,
        -2290,
        360,
        580
      ],
      "color": "#444",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.16679445786362648,
      "offset": [
        5527.741530018746,
        4078.52478551284
      ]
    },
    "frontendVersion": "1.59.6",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true,
    "linkPresentation": {
      "2": {
        "hidden": true
      },
      "3": {
        "hidden": true
      },
      "14": {
        "hidden": true
      },
      "21": {
        "hidden": true
      },
      "34": {
        "hidden": true
      },
      "43": {
        "hidden": true,
        "label": "positive"
      },
      "44": {
        "hidden": true,
        "label": "negative"
      },
      "59": {
        "hidden": true
      },
      "60": {
        "hidden": true
      },
      "61": {
        "hidden": true,
        "label": "base_model"
      },
      "62": {
        "hidden": true,
        "label": "turbo_lora"
      },
      "65": {
        "hidden": true,
        "label": "cfg"
      },
      "83": {
        "hidden": true
      },
      "84": {
        "hidden": true,
        "label": "steps"
      },
      "106": {
        "hidden": true,
        "label": "PE"
      },
      "107": {
        "hidden": true,
        "label": "user_prompt"
      },
      "110": {
        "hidden": true,
        "label": "user_prompt"
      },
      "112": {
        "hidden": true,
        "label": "steps"
      },
      "113": {
        "hidden": true,
        "label": "cfg"
      },
      "115": {
        "hidden": true
      },
      "119": {
        "hidden": true
      },
      "153": {
        "hidden": true,
        "label": "positive"
      },
      "154": {
        "hidden": true,
        "label": "negative"
      },
      "155": {
        "hidden": true,
        "label": "Self-Correction"
      }
    }
  },
  "version": 0.4
}