{
   "config": { },
   "extra": {
      "ds": {
         "offset": [
            100,
            100
         ],
         "scale": 0.5
      }
   },
   "groups": [ ],
   "last_link_id": 36,
   "last_node_id": 25,
   "links": [
      [
         1,
         4,
         0,
         5,
         0,
         "IMAGE"
      ],
      [
         2,
         5,
         0,
         6,
         0,
         "IMAGE"
      ],
      [
         3,
         3,
         0,
         6,
         1,
         "VAE"
      ],
      [
         4,
         2,
         0,
         7,
         0,
         "CLIP"
      ],
      [
         5,
         2,
         0,
         8,
         0,
         "CLIP"
      ],
      [
         6,
         7,
         0,
         9,
         0,
         "CONDITIONING"
      ],
      [
         7,
         6,
         0,
         9,
         1,
         "LATENT"
      ],
      [
         8,
         8,
         0,
         10,
         0,
         "CONDITIONING"
      ],
      [
         9,
         6,
         0,
         10,
         1,
         "LATENT"
      ],
      [
         10,
         11,
         0,
         12,
         0,
         "IMAGE"
      ],
      [
         11,
         12,
         0,
         13,
         0,
         "IMAGE"
      ],
      [
         12,
         3,
         0,
         13,
         1,
         "VAE"
      ],
      [
         13,
         9,
         0,
         14,
         0,
         "CONDITIONING"
      ],
      [
         14,
         13,
         0,
         14,
         1,
         "LATENT"
      ],
      [
         15,
         10,
         0,
         15,
         0,
         "CONDITIONING"
      ],
      [
         16,
         13,
         0,
         15,
         1,
         "LATENT"
      ],
      [
         18,
         14,
         0,
         19,
         1,
         "CONDITIONING"
      ],
      [
         19,
         15,
         0,
         19,
         2,
         "CONDITIONING"
      ],
      [
         20,
         17,
         0,
         21,
         0,
         "NOISE"
      ],
      [
         21,
         19,
         0,
         21,
         1,
         "GUIDER"
      ],
      [
         22,
         20,
         0,
         21,
         2,
         "SAMPLER"
      ],
      [
         23,
         18,
         0,
         21,
         3,
         "SIGMAS"
      ],
      [
         24,
         16,
         0,
         21,
         4,
         "LATENT"
      ],
      [
         25,
         21,
         0,
         22,
         0,
         "LATENT"
      ],
      [
         26,
         3,
         0,
         22,
         1,
         "VAE"
      ],
      [
         27,
         22,
         0,
         23,
         0,
         "IMAGE"
      ],
      [
         28,
         5,
         0,
         24,
         0,
         "IMAGE"
      ],
      [
         29,
         24,
         0,
         16,
         0,
         "INT"
      ],
      [
         30,
         24,
         1,
         16,
         1,
         "INT"
      ],
      [
         31,
         24,
         0,
         18,
         0,
         "INT"
      ],
      [
         32,
         24,
         1,
         18,
         1,
         "INT"
      ],
      [
         17,
         1,
         0,
         25,
         0,
         "MODEL"
      ],
      [
         36,
         25,
         3,
         19,
         0,
         "MODEL"
      ],
      [
         33,
         25,
         0,
         7,
         1,
         "STRING"
      ],
      [
         34,
         25,
         1,
         23,
         1,
         "STRING"
      ],
      [
         35,
         25,
         2,
         8,
         1,
         "STRING"
      ]
   ],
   "nodes": [
      {
         "flags": { },
         "id": 1,
         "inputs": [ ],
         "mode": 0,
         "order": 0,
         "outputs": [
            {
               "links": [
                  17
               ],
               "name": "MODEL",
               "type": "MODEL"
            }
         ],
         "pos": [
            0,
            0
         ],
         "properties": {
            "Node name for S&R": "UNETLoader"
         },
         "size": [
            320,
            180
         ],
         "title": "FLUX.2 klein Base 9B FP8",
         "type": "UNETLoader",
         "widgets_values": [
            "flux-2-klein-base-9b-fp8.safetensors",
            "default"
         ]
      },
      {
         "flags": { },
         "id": 2,
         "inputs": [ ],
         "mode": 0,
         "order": 1,
         "outputs": [
            {
               "links": [
                  4,
                  5
               ],
               "name": "CLIP",
               "type": "CLIP"
            }
         ],
         "pos": [
            0,
            230
         ],
         "properties": {
            "Node name for S&R": "CLIPLoader"
         },
         "size": [
            320,
            180
         ],
         "title": "Qwen3 8B text encoder",
         "type": "CLIPLoader",
         "widgets_values": [
            "qwen_3_8b_fp8mixed.safetensors",
            "flux2",
            "default"
         ]
      },
      {
         "flags": { },
         "id": 3,
         "inputs": [ ],
         "mode": 0,
         "order": 2,
         "outputs": [
            {
               "links": [
                  3,
                  12,
                  26
               ],
               "name": "VAE",
               "type": "VAE"
            }
         ],
         "pos": [
            0,
            460
         ],
         "properties": {
            "Node name for S&R": "VAELoader"
         },
         "size": [
            320,
            180
         ],
         "title": "Flux encoder and small decoder",
         "type": "VAELoader",
         "widgets_values": [
            "full_encoder_small_decoder.safetensors"
         ]
      },
      {
         "flags": { },
         "id": 4,
         "inputs": [ ],
         "mode": 0,
         "order": 3,
         "outputs": [
            {
               "links": [
                  1
               ],
               "name": "IMAGE",
               "type": "IMAGE"
            },
            {
               "links": [ ],
               "name": "MASK",
               "type": "MASK"
            }
         ],
         "pos": [
            0,
            690
         ],
         "properties": {
            "Node name for S&R": "LoadImage"
         },
         "size": [
            320,
            180
         ],
         "title": "Image 1: character",
         "type": "LoadImage",
         "widgets_values": [
            "character-reference.png",
            "image"
         ]
      },
      {
         "flags": { },
         "id": 5,
         "inputs": [
            {
               "link": 1,
               "name": "image",
               "type": "IMAGE"
            }
         ],
         "mode": 0,
         "order": 4,
         "outputs": [
            {
               "links": [
                  2,
                  28
               ],
               "name": "IMAGE",
               "type": "IMAGE"
            }
         ],
         "pos": [
            370,
            690
         ],
         "properties": {
            "Node name for S&R": "ImageScaleToTotalPixels"
         },
         "size": [
            320,
            180
         ],
         "title": "Scale reference to one megapixel",
         "type": "ImageScaleToTotalPixels",
         "widgets_values": [
            "lanczos",
            1,
            1
         ]
      },
      {
         "flags": { },
         "id": 6,
         "inputs": [
            {
               "link": 2,
               "name": "pixels",
               "type": "IMAGE"
            },
            {
               "link": 3,
               "name": "vae",
               "type": "VAE"
            }
         ],
         "mode": 0,
         "order": 5,
         "outputs": [
            {
               "links": [
                  7,
                  9
               ],
               "name": "LATENT",
               "type": "LATENT"
            }
         ],
         "pos": [
            740,
            690
         ],
         "properties": {
            "Node name for S&R": "VAEEncode"
         },
         "size": [
            320,
            180
         ],
         "title": "Encode character reference",
         "type": "VAEEncode",
         "widgets_values": [ ]
      },
      {
         "flags": { },
         "id": 7,
         "inputs": [
            {
               "link": 4,
               "name": "clip",
               "type": "CLIP"
            },
            {
               "link": 33,
               "name": "text",
               "type": "STRING",
               "widget": {
                  "name": "text"
               }
            }
         ],
         "mode": 0,
         "order": 6,
         "outputs": [
            {
               "links": [
                  6
               ],
               "name": "CONDITIONING",
               "type": "CONDITIONING"
            }
         ],
         "pos": [
            370,
            0
         ],
         "properties": {
            "Node name for S&R": "CLIPTextEncode"
         },
         "size": [
            320,
            180
         ],
         "title": "Describe the new scene and reference roles",
         "type": "CLIPTextEncode",
         "widgets_values": [
            "Create a comic panel of the white robot character from image 1 riding a bicycle through a snowy park. Use the illustration style, colors and linework of image 2. Show the new action and setting; do not reproduce the reference composition."
         ]
      },
      {
         "flags": { },
         "id": 8,
         "inputs": [
            {
               "link": 5,
               "name": "clip",
               "type": "CLIP"
            },
            {
               "link": 35,
               "name": "text",
               "type": "STRING",
               "widget": {
                  "name": "text"
               }
            }
         ],
         "mode": 0,
         "order": 7,
         "outputs": [
            {
               "links": [
                  8
               ],
               "name": "CONDITIONING",
               "type": "CONDITIONING"
            }
         ],
         "pos": [
            740,
            230
         ],
         "properties": {
            "Node name for S&R": "CLIPTextEncode"
         },
         "size": [
            320,
            180
         ],
         "title": "Encode shared negative prompt",
         "type": "CLIPTextEncode",
         "widgets_values": [
            ""
         ]
      },
      {
         "flags": { },
         "id": 9,
         "inputs": [
            {
               "link": 6,
               "name": "conditioning",
               "type": "CONDITIONING"
            },
            {
               "link": 7,
               "name": "latent",
               "type": "LATENT"
            }
         ],
         "mode": 0,
         "order": 8,
         "outputs": [
            {
               "links": [
                  13
               ],
               "name": "CONDITIONING",
               "type": "CONDITIONING"
            }
         ],
         "pos": [
            1110,
            0
         ],
         "properties": {
            "Node name for S&R": "ReferenceLatent"
         },
         "size": [
            320,
            180
         ],
         "title": "Positive character reference",
         "type": "ReferenceLatent",
         "widgets_values": [ ]
      },
      {
         "flags": { },
         "id": 10,
         "inputs": [
            {
               "link": 8,
               "name": "conditioning",
               "type": "CONDITIONING"
            },
            {
               "link": 9,
               "name": "latent",
               "type": "LATENT"
            }
         ],
         "mode": 0,
         "order": 9,
         "outputs": [
            {
               "links": [
                  15
               ],
               "name": "CONDITIONING",
               "type": "CONDITIONING"
            }
         ],
         "pos": [
            1110,
            230
         ],
         "properties": {
            "Node name for S&R": "ReferenceLatent"
         },
         "size": [
            320,
            180
         ],
         "title": "Negative character reference",
         "type": "ReferenceLatent",
         "widgets_values": [ ]
      },
      {
         "flags": { },
         "id": 11,
         "inputs": [ ],
         "mode": 0,
         "order": 10,
         "outputs": [
            {
               "links": [
                  10
               ],
               "name": "IMAGE",
               "type": "IMAGE"
            },
            {
               "links": [ ],
               "name": "MASK",
               "type": "MASK"
            }
         ],
         "pos": [
            0,
            980
         ],
         "properties": {
            "Node name for S&R": "LoadImage"
         },
         "size": [
            320,
            180
         ],
         "title": "Image 2: style",
         "type": "LoadImage",
         "widgets_values": [
            "style-reference.png",
            "image"
         ]
      },
      {
         "flags": { },
         "id": 12,
         "inputs": [
            {
               "link": 10,
               "name": "image",
               "type": "IMAGE"
            }
         ],
         "mode": 0,
         "order": 11,
         "outputs": [
            {
               "links": [
                  11
               ],
               "name": "IMAGE",
               "type": "IMAGE"
            }
         ],
         "pos": [
            370,
            980
         ],
         "properties": {
            "Node name for S&R": "ImageScaleToTotalPixels"
         },
         "size": [
            320,
            180
         ],
         "title": "Scale style reference",
         "type": "ImageScaleToTotalPixels",
         "widgets_values": [
            "lanczos",
            1,
            1
         ]
      },
      {
         "flags": { },
         "id": 13,
         "inputs": [
            {
               "link": 11,
               "name": "pixels",
               "type": "IMAGE"
            },
            {
               "link": 12,
               "name": "vae",
               "type": "VAE"
            }
         ],
         "mode": 0,
         "order": 12,
         "outputs": [
            {
               "links": [
                  14,
                  16
               ],
               "name": "LATENT",
               "type": "LATENT"
            }
         ],
         "pos": [
            740,
            980
         ],
         "properties": {
            "Node name for S&R": "VAEEncode"
         },
         "size": [
            320,
            180
         ],
         "title": "Encode style reference",
         "type": "VAEEncode",
         "widgets_values": [ ]
      },
      {
         "flags": { },
         "id": 14,
         "inputs": [
            {
               "link": 13,
               "name": "conditioning",
               "type": "CONDITIONING"
            },
            {
               "link": 14,
               "name": "latent",
               "type": "LATENT"
            }
         ],
         "mode": 0,
         "order": 13,
         "outputs": [
            {
               "links": [
                  18
               ],
               "name": "CONDITIONING",
               "type": "CONDITIONING"
            }
         ],
         "pos": [
            1480,
            0
         ],
         "properties": {
            "Node name for S&R": "ReferenceLatent"
         },
         "size": [
            320,
            180
         ],
         "title": "Positive style reference",
         "type": "ReferenceLatent",
         "widgets_values": [ ]
      },
      {
         "flags": { },
         "id": 15,
         "inputs": [
            {
               "link": 15,
               "name": "conditioning",
               "type": "CONDITIONING"
            },
            {
               "link": 16,
               "name": "latent",
               "type": "LATENT"
            }
         ],
         "mode": 0,
         "order": 14,
         "outputs": [
            {
               "links": [
                  19
               ],
               "name": "CONDITIONING",
               "type": "CONDITIONING"
            }
         ],
         "pos": [
            1480,
            230
         ],
         "properties": {
            "Node name for S&R": "ReferenceLatent"
         },
         "size": [
            320,
            180
         ],
         "title": "Negative style reference",
         "type": "ReferenceLatent",
         "widgets_values": [ ]
      },
      {
         "flags": { },
         "id": 16,
         "inputs": [
            {
               "link": 29,
               "name": "width",
               "type": "INT",
               "widget": {
                  "name": "width"
               }
            },
            {
               "link": 30,
               "name": "height",
               "type": "INT",
               "widget": {
                  "name": "height"
               }
            }
         ],
         "mode": 0,
         "order": 15,
         "outputs": [
            {
               "links": [
                  24
               ],
               "name": "LATENT",
               "type": "LATENT"
            }
         ],
         "pos": [
            1110,
            980
         ],
         "properties": {
            "Node name for S&R": "EmptyFlux2LatentImage"
         },
         "size": [
            320,
            180
         ],
         "title": "Fresh scene canvas",
         "type": "EmptyFlux2LatentImage",
         "widgets_values": [
            1024,
            1024,
            1
         ]
      },
      {
         "flags": { },
         "id": 17,
         "inputs": [ ],
         "mode": 0,
         "order": 16,
         "outputs": [
            {
               "links": [
                  20
               ],
               "name": "NOISE",
               "type": "NOISE"
            }
         ],
         "pos": [
            1480,
            690
         ],
         "properties": {
            "Node name for S&R": "RandomNoise"
         },
         "size": [
            320,
            180
         ],
         "title": "Noise seed",
         "type": "RandomNoise",
         "widgets_values": [
            184463,
            "fixed"
         ]
      },
      {
         "flags": { },
         "id": 18,
         "inputs": [
            {
               "link": 31,
               "name": "width",
               "type": "INT",
               "widget": {
                  "name": "width"
               }
            },
            {
               "link": 32,
               "name": "height",
               "type": "INT",
               "widget": {
                  "name": "height"
               }
            }
         ],
         "mode": 0,
         "order": 17,
         "outputs": [
            {
               "links": [
                  23
               ],
               "name": "SIGMAS",
               "type": "SIGMAS"
            }
         ],
         "pos": [
            1480,
            980
         ],
         "properties": {
            "Node name for S&R": "Flux2Scheduler"
         },
         "size": [
            320,
            180
         ],
         "title": "Base schedule: 50 steps",
         "type": "Flux2Scheduler",
         "widgets_values": [
            50,
            1024,
            1024
         ]
      },
      {
         "flags": { },
         "id": 19,
         "inputs": [
            {
               "link": 36,
               "name": "model",
               "type": "MODEL"
            },
            {
               "link": 18,
               "name": "positive",
               "type": "CONDITIONING"
            },
            {
               "link": 19,
               "name": "negative",
               "type": "CONDITIONING"
            }
         ],
         "mode": 0,
         "order": 18,
         "outputs": [
            {
               "links": [
                  21
               ],
               "name": "GUIDER",
               "type": "GUIDER"
            }
         ],
         "pos": [
            1850,
            0
         ],
         "properties": {
            "Node name for S&R": "CFGGuider"
         },
         "size": [
            320,
            180
         ],
         "title": "Base guidance: CFG 4",
         "type": "CFGGuider",
         "widgets_values": [
            4
         ]
      },
      {
         "flags": { },
         "id": 20,
         "inputs": [ ],
         "mode": 0,
         "order": 19,
         "outputs": [
            {
               "links": [
                  22
               ],
               "name": "SAMPLER",
               "type": "SAMPLER"
            }
         ],
         "pos": [
            1850,
            230
         ],
         "properties": {
            "Node name for S&R": "KSamplerSelect"
         },
         "size": [
            320,
            180
         ],
         "title": "Native Euler sampler",
         "type": "KSamplerSelect",
         "widgets_values": [
            "euler"
         ]
      },
      {
         "flags": { },
         "id": 21,
         "inputs": [
            {
               "link": 20,
               "name": "noise",
               "type": "NOISE"
            },
            {
               "link": 21,
               "name": "guider",
               "type": "GUIDER"
            },
            {
               "link": 22,
               "name": "sampler",
               "type": "SAMPLER"
            },
            {
               "link": 23,
               "name": "sigmas",
               "type": "SIGMAS"
            },
            {
               "link": 24,
               "name": "latent_image",
               "type": "LATENT"
            }
         ],
         "mode": 0,
         "order": 20,
         "outputs": [
            {
               "links": [
                  25
               ],
               "name": "LATENT",
               "type": "LATENT"
            },
            {
               "links": [ ],
               "name": "LATENT",
               "type": "LATENT"
            }
         ],
         "pos": [
            2220,
            0
         ],
         "properties": {
            "Node name for S&R": "SamplerCustomAdvanced"
         },
         "size": [
            320,
            180
         ],
         "title": "Generate the new scene",
         "type": "SamplerCustomAdvanced",
         "widgets_values": [ ]
      },
      {
         "flags": { },
         "id": 22,
         "inputs": [
            {
               "link": 25,
               "name": "samples",
               "type": "LATENT"
            },
            {
               "link": 26,
               "name": "vae",
               "type": "VAE"
            }
         ],
         "mode": 0,
         "order": 21,
         "outputs": [
            {
               "links": [
                  27
               ],
               "name": "IMAGE",
               "type": "IMAGE"
            }
         ],
         "pos": [
            2590,
            0
         ],
         "properties": {
            "Node name for S&R": "VAEDecode"
         },
         "size": [
            320,
            180
         ],
         "title": "Decode image",
         "type": "VAEDecode",
         "widgets_values": [ ]
      },
      {
         "flags": { },
         "id": 23,
         "inputs": [
            {
               "link": 27,
               "name": "images",
               "type": "IMAGE"
            },
            {
               "link": 34,
               "name": "filename_prefix",
               "type": "STRING",
               "widget": {
                  "name": "filename_prefix"
               }
            }
         ],
         "mode": 0,
         "order": 22,
         "outputs": [ ],
         "pos": [
            2960,
            0
         ],
         "properties": {
            "Node name for S&R": "SaveImage"
         },
         "size": [
            320,
            180
         ],
         "title": "Save comic panel",
         "type": "SaveImage",
         "widgets_values": [
            "flux-klein"
         ]
      },
      {
         "flags": { },
         "id": 24,
         "inputs": [
            {
               "link": 28,
               "name": "image",
               "type": "IMAGE"
            }
         ],
         "mode": 0,
         "order": 23,
         "outputs": [
            {
               "links": [
                  29,
                  31
               ],
               "name": "INT",
               "type": "INT"
            },
            {
               "links": [
                  30,
                  32
               ],
               "name": "INT",
               "type": "INT"
            },
            {
               "links": [ ],
               "name": "INT",
               "type": "INT"
            }
         ],
         "pos": [
            740,
            1220
         ],
         "properties": {
            "Node name for S&R": "GetImageSize"
         },
         "size": [
            320,
            180
         ],
         "title": "Output aspect from character reference",
         "type": "GetImageSize",
         "widgets_values": [ ]
      },
      {
         "flags": { },
         "id": 25,
         "inputs": [
            {
               "link": 17,
               "name": "model",
               "type": "MODEL"
            }
         ],
         "mode": 0,
         "order": 0,
         "outputs": [
            {
               "links": [
                  33
               ],
               "name": "prompt",
               "type": "STRING"
            },
            {
               "links": [
                  34
               ],
               "name": "filename_prefix",
               "type": "STRING"
            },
            {
               "links": [
                  35
               ],
               "name": "negative_prompt",
               "type": "STRING"
            },
            {
               "links": [
                  36
               ],
               "name": "model",
               "type": "MODEL"
            }
         ],
         "pos": [
            400,
            -450
         ],
         "properties": {
            "Node name for S&R": "ImagegenPromptSequence"
         },
         "size": [
            560,
            500
         ],
         "title": "Prompt Sequence: one image per prompt",
         "type": "ImagegenPromptSequence",
         "widgets_values": [
            "A white robot rides a bicycle through a snowy park.\nA white robot stops beside a frozen pond.\nA white robot reads a book on a park bench.",
            "Use the character from image 1 and the illustration style, colors and linework from image 2. Create a new comic panel for this scene:",
            "line",
            "comic",
            ""
         ]
      }
   ],
   "version": 0.40000000000000002
}
