{
  "id": "3d5eff11-6133-4768-834c-e7bc26cc6b1f",
  "revision": 0,
  "last_node_id": 120,
  "last_link_id": 84,
  "nodes": [
    {
      "id": 1,
      "type": "Checkpoint Loader with Name (Image Saver)",
      "pos": [
        30,
        80
      ],
      "size": [
        350,
        145
      ],
      "flags": {
        "pinned": true
      },
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            25
          ]
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": []
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": []
        },
        {
          "name": "model_name",
          "type": "STRING",
          "links": [
            33
          ]
        }
      ],
      "title": "Krea2 checkpoint",
      "properties": {
        "cnr_id": "comfyui-workflow-encrypt",
        "ver": "1.0.0",
        "Node name for S&R": "Checkpoint Loader with Name (Image Saver)",
        "ue_properties": {
          "widget_ue_connectable": {
            "ckpt_name": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "DaSiWa-Krea2-Turbo-UC-DarkDesire-v3_fp8_mixed_checkpoint.safetensors"
      ],
      "widgets_values_named": {
        "ckpt_name": "DaSiWa-Krea2-Turbo-UC-DarkDesire-v3_fp8_mixed_checkpoint.safetensors"
      }
    },
    {
      "id": 2,
      "type": "CLIPLoader",
      "pos": [
        30,
        260
      ],
      "size": [
        350,
        125
      ],
      "flags": {
        "pinned": true
      },
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            32
          ]
        }
      ],
      "title": "Krea2 text encoder",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "CLIPLoader",
        "ue_properties": {
          "widget_ue_connectable": {
            "clip_name": true,
            "type": true,
            "device": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "qwen3vl_4b_fp8_scaled.safetensors",
        "krea2",
        "default"
      ],
      "widgets_values_named": {
        "clip_name": "qwen3vl_4b_fp8_scaled.safetensors",
        "type": "krea2",
        "device": "default"
      }
    },
    {
      "id": 3,
      "type": "VAELoader",
      "pos": [
        30,
        540
      ],
      "size": [
        426.4380859375,
        95.94669855348548
      ],
      "flags": {
        "pinned": true
      },
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            10
          ]
        }
      ],
      "title": "Generation VAE â€” Sharp Plus BF16 (manually selectable)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "VAELoader",
        "ue_properties": {
          "widget_ue_connectable": {
            "vae_name": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "sharp_vae_plus_bf16.safetensors"
      ],
      "widgets_values_named": {
        "vae_name": "sharp_vae_plus_bf16.safetensors"
      }
    },
    {
      "id": 5,
      "type": "CLIPTextEncode",
      "pos": [
        840,
        80
      ],
      "size": [
        366.4458984375,
        175
      ],
      "flags": {
        "pinned": true
      },
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 2
        },
        {
          "name": "text",
          "type": "STRING",
          "widget": {
            "name": "text"
          },
          "link": 1
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            3,
            7,
            27
          ]
        }
      ],
      "title": "Encode prompt ONCE â€” reused by both passes",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "CLIPTextEncode",
        "ue_properties": {
          "widget_ue_connectable": {
            "text": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        ""
      ],
      "widgets_values_named": {
        "text": ""
      }
    },
    {
      "id": 6,
      "type": "ConditioningZeroOut",
      "pos": [
        840,
        295
      ],
      "size": [
        340,
        65
      ],
      "flags": {
        "pinned": true
      },
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 3
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            8,
            28
          ]
        }
      ],
      "title": "Zeroed-positive negative conditioning",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "ConditioningZeroOut",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      }
    },
    {
      "id": 7,
      "type": "ModelSamplingFlux",
      "pos": [
        834.7965622040238,
        588.0363421516627
      ],
      "size": [
        340,
        155
      ],
      "flags": {
        "pinned": true
      },
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 4
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 39
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 40
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            6,
            30
          ]
        }
      ],
      "title": "Shared sampling shift - exact preset",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "ModelSamplingFlux",
        "ue_properties": {
          "widget_ue_connectable": {
            "max_shift": true,
            "base_shift": true,
            "width": true,
            "height": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        1.15,
        0.5,
        1248,
        1824
      ],
      "widgets_values_named": {
        "max_shift": 1.15,
        "base_shift": 0.5,
        "width": 1248,
        "height": 1824
      }
    },
    {
      "id": 8,
      "type": "EmptyLatentImage",
      "pos": [
        830.3365382889094,
        787.8331340407166
      ],
      "size": [
        340,
        125
      ],
      "flags": {
        "pinned": true
      },
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            9
          ]
        }
      ],
      "title": "Generation size 1248 Ã— 1824",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "EmptyLatentImage",
        "ue_properties": {
          "widget_ue_connectable": {
            "width": true,
            "height": true,
            "batch_size": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        1248,
        1824,
        1
      ],
      "widgets_values_named": {
        "width": 1248,
        "height": 1824,
        "batch_size": 1
      }
    },
    {
      "id": 9,
      "type": "KSampler",
      "pos": [
        1230.0706435497498,
        70.33657656974792
      ],
      "size": [
        332.159904339544,
        498.53020809480404
      ],
      "flags": {
        "pinned": true
      },
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 6
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 7
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 8
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 9
        },
        {
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          },
          "link": 5
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            26
          ]
        }
      ],
      "title": "Base generation - 12 steps",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "KSampler",
        "ue_properties": {
          "widget_ue_connectable": {
            "seed": true,
            "steps": true,
            "cfg": true,
            "sampler_name": true,
            "scheduler": true,
            "denoise": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        0,
        "randomize",
        12,
        1,
        "euler",
        "simple",
        1
      ],
      "widgets_values_named": {
        "seed": 0,
        "control_after_generate": "randomize",
        "steps": 12,
        "cfg": 1,
        "sampler_name": "euler",
        "scheduler": "simple",
        "denoise": 1
      }
    },
    {
      "id": 10,
      "type": "VAEDecode",
      "pos": [
        835.3570723903006,
        957.5666268081437
      ],
      "size": [
        327.69972730107634,
        74.79663876570044
      ],
      "flags": {
        "pinned": true
      },
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 78
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 10
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            79,
            80
          ]
        }
      ],
      "title": "Decode refined 2x image",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "VAEDecode",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      }
    },
    {
      "id": 14,
      "type": "Lora Loader (LoraManager)",
      "pos": [
        410,
        80
      ],
      "size": [
        400,
        420
      ],
      "flags": {
        "pinned": true
      },
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 25
        },
        {
          "name": "clip",
          "shape": 7,
          "type": "CLIP",
          "link": 32
        },
        {
          "name": "lora_stack",
          "shape": 7,
          "type": "LORA_STACK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            4
          ]
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            2
          ]
        },
        {
          "name": "trigger_words",
          "type": "STRING",
          "links": []
        },
        {
          "name": "loaded_loras",
          "type": "STRING",
          "links": [
            24,
            74
          ]
        }
      ],
      "title": "LoRA Manager â€” shared by BOTH passes",
      "properties": {
        "cnr_id": "comfyui-workflow-encrypt",
        "ver": "1.0.0",
        "Node name for S&R": "Lora Loader (LoraManager)",
        "__lm_widget_ids": [
          "__lm_autocomplete_meta_text",
          "text",
          "loras"
        ],
        "ue_properties": {
          "widget_ue_connectable": {
            "text": true,
            "loras": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        {
          "version": 1,
          "textWidgetName": "text"
        },
        "<lora:refusal_reduction_v2_full_rank:1.00> <lora:Detailer_-_Krea2_project:1.00> <lora:DRKM4GE_Chiaroscuro_ Krea2_LoRA_step_2600:1.00>, DRKM4GE",
        [
          {
            "name": "refusal_reduction_v2_full_rank",
            "strength": 1,
            "active": true,
            "expanded": false,
            "clipStrength": 1,
            "selected": false,
            "locked": false
          },
          {
            "name": "Detailer_-_Krea2_project",
            "strength": 1,
            "active": true,
            "expanded": false,
            "clipStrength": 1,
            "selected": false,
            "locked": false
          },
          {
            "name": "DRKM4GE_Chiaroscuro_ Krea2_LoRA_step_2600",
            "strength": 1,
            "active": true,
            "expanded": false,
            "clipStrength": 1,
            "selected": false,
            "locked": false
          }
        ]
      ],
      "widgets_values_named": {
        "__lm_autocomplete_meta_text": {
          "version": 1,
          "textWidgetName": "text"
        },
        "text": "<lora:refusal_reduction_v2_full_rank:1.00> <lora:Detailer_-_Krea2_project:1.00> <lora:DRKM4GE_Chiaroscuro_ Krea2_LoRA_step_2600:1.00>, DRKM4GE",
        "loras": [
          {
            "name": "refusal_reduction_v2_full_rank",
            "strength": 1,
            "active": true,
            "expanded": false,
            "clipStrength": 1,
            "selected": false,
            "locked": false
          },
          {
            "name": "Detailer_-_Krea2_project",
            "strength": 1,
            "active": true,
            "expanded": false,
            "clipStrength": 1,
            "selected": false,
            "locked": false
          },
          {
            "name": "DRKM4GE_Chiaroscuro_ Krea2_LoRA_step_2600",
            "strength": 1,
            "active": true,
            "expanded": false,
            "clipStrength": 1,
            "selected": false,
            "locked": false
          }
        ]
      }
    },
    {
      "id": 40,
      "type": "PrimitiveStringMultiline",
      "pos": [
        30,
        710
      ],
      "size": [
        780,
        430
      ],
      "flags": {
        "pinned": true
      },
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            1,
            34
          ]
        }
      ],
      "title": "YOUR PROMPT â€” full text, no rewriting",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "PrimitiveStringMultiline",
        "ue_properties": {
          "widget_ue_connectable": {
            "value": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "DRKM4GE. An atmospheric anime portrait of an adult woman holding an ornate paper parasol in a narrow lantern-lit street. Use a wide horizontal composition cropped from the upper parasol canopy to her hips, placing her figure near the center against softly blurred architecture. Her torso angles toward the left while her face turns toward the viewer, her chin slightly raised. Her single visible teal-green eye meets the camera beneath a lowered upper lid, with a subtly lifted brow and softly closed terracotta lips conveying cool, self-assured indifference. Warm coral-red makeup surrounds her eye. Tousled deep blue-black hair forms a loose asymmetrical updo, with a heavy sweeping fringe completely concealing the eye on the left side of the image. Vivid scarlet sections and long red ribbonlike locks descend from her crown over her chest, while curled dark strands frame her cheek and jaw. Slender gold hairpins with small decorative fittings extend horizontally through her hair. Oversized flat oval gold earrings hang beside her neck, accompanied by fine narrow tassels. An intricate dark ornamental tattoo covers her throat and extends toward her collarbones. She wears a dark strapless fitted inner garment beneath an oversized deep-teal kimono robe. The robe falls loosely away from her nearer shoulder, exposing its pale curve, with broad angular lapels and long draping sleeves. Large ochre-gold koi fish and stylized cream-and-gold ocean waves decorate the sleeve on the right side of the image. Her visible hand rises beside her chest on the left, gently gripping the dark wooden parasol shaft, with naturally bent fingers emerging from the sleeve. The open parasol sits immediately behind her head like a broad circular backdrop, tilted to reveal its radial bamboo ribs. Its canopy combines weathered parchment-gold sections on the upper left, charcoal-gray painted areas and deep rust-burgundy panels across the right. Fine botanical drawings, irregular painted contours and small dangling cords decorate the paper. The street behind her recedes between tall muted blue-green buildings, with glowing amber lanterns appearing as soft circles along both sides. A luminous cream opening at the center of the alley outlines her silhouette and warms the edges of her hair and robe. Use refined anime facial linework, smooth restrained skin shading, broad graphic fabric folds and selective painterly detail in the parasol and printed motifs. Deep teal, charcoal, scarlet, antique gold and warm lantern light create an elegant urban fantasy atmosphere."
      ],
      "widgets_values_named": {
        "value": "DRKM4GE. An atmospheric anime portrait of an adult woman holding an ornate paper parasol in a narrow lantern-lit street. Use a wide horizontal composition cropped from the upper parasol canopy to her hips, placing her figure near the center against softly blurred architecture. Her torso angles toward the left while her face turns toward the viewer, her chin slightly raised. Her single visible teal-green eye meets the camera beneath a lowered upper lid, with a subtly lifted brow and softly closed terracotta lips conveying cool, self-assured indifference. Warm coral-red makeup surrounds her eye. Tousled deep blue-black hair forms a loose asymmetrical updo, with a heavy sweeping fringe completely concealing the eye on the left side of the image. Vivid scarlet sections and long red ribbonlike locks descend from her crown over her chest, while curled dark strands frame her cheek and jaw. Slender gold hairpins with small decorative fittings extend horizontally through her hair. Oversized flat oval gold earrings hang beside her neck, accompanied by fine narrow tassels. An intricate dark ornamental tattoo covers her throat and extends toward her collarbones. She wears a dark strapless fitted inner garment beneath an oversized deep-teal kimono robe. The robe falls loosely away from her nearer shoulder, exposing its pale curve, with broad angular lapels and long draping sleeves. Large ochre-gold koi fish and stylized cream-and-gold ocean waves decorate the sleeve on the right side of the image. Her visible hand rises beside her chest on the left, gently gripping the dark wooden parasol shaft, with naturally bent fingers emerging from the sleeve. The open parasol sits immediately behind her head like a broad circular backdrop, tilted to reveal its radial bamboo ribs. Its canopy combines weathered parchment-gold sections on the upper left, charcoal-gray painted areas and deep rust-burgundy panels across the right. Fine botanical drawings, irregular painted contours and small dangling cords decorate the paper. The street behind her recedes between tall muted blue-green buildings, with glowing amber lanterns appearing as soft circles along both sides. A luminous cream opening at the center of the alley outlines her silhouette and warms the edges of her hair and robe. Use refined anime facial linework, smooth restrained skin shading, broad graphic fabric folds and selective painterly detail in the parasol and printed motifs. Deep teal, charcoal, scarlet, antique gold and warm lantern light create an elegant urban fantasy atmosphere."
      }
    },
    {
      "id": 41,
      "type": "Seed Generator (Image Saver)",
      "pos": [
        480,
        540
      ],
      "size": [
        332,
        110
      ],
      "flags": {
        "pinned": true
      },
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            5,
            31,
            35,
            73
          ]
        }
      ],
      "title": "ONE SEED â€” base + refinement",
      "properties": {
        "cnr_id": "comfyui-workflow-encrypt",
        "ver": "1.0.0",
        "Node name for S&R": "Seed Generator (Image Saver)",
        "ue_properties": {
          "widget_ue_connectable": {
            "seed": true,
            "increment": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        732015864209,
        "fixed",
        0
      ],
      "widgets_values_named": {
        "seed": 732015864209,
        "control_after_generate": "fixed",
        "increment": 0
      }
    },
    {
      "id": 62,
      "type": "Image Saver",
      "pos": [
        2810,
        80
      ],
      "size": [
        430,
        1080
      ],
      "flags": {
        "pinned": true
      },
      "order": 29,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 82
        },
        {
          "name": "applied_loras",
          "shape": 7,
          "type": "STRING",
          "link": 24
        },
        {
          "name": "steps",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "steps"
          },
          "link": 65
        },
        {
          "name": "cfg",
          "shape": 7,
          "type": "FLOAT",
          "widget": {
            "name": "cfg"
          },
          "link": 66
        },
        {
          "name": "modelname",
          "shape": 7,
          "type": "STRING",
          "widget": {
            "name": "modelname"
          },
          "link": 33
        },
        {
          "name": "sampler_name",
          "shape": 7,
          "type": "STRING",
          "widget": {
            "name": "sampler_name"
          },
          "link": 67
        },
        {
          "name": "scheduler_name",
          "shape": 7,
          "type": "STRING",
          "widget": {
            "name": "scheduler_name"
          },
          "link": 68
        },
        {
          "name": "positive",
          "shape": 7,
          "type": "STRING",
          "widget": {
            "name": "positive"
          },
          "link": 34
        },
        {
          "name": "seed_value",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "seed_value"
          },
          "link": 35
        },
        {
          "name": "width",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 36
        },
        {
          "name": "height",
          "shape": 7,
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 37
        },
        {
          "name": "denoise",
          "shape": 7,
          "type": "FLOAT",
          "widget": {
            "name": "denoise"
          },
          "link": 69
        },
        {
          "name": "custom",
          "shape": 7,
          "type": "STRING",
          "widget": {
            "name": "custom"
          },
          "link": 64
        }
      ],
      "outputs": [
        {
          "name": "hashes",
          "type": "STRING",
          "links": []
        },
        {
          "name": "a1111_params",
          "type": "STRING",
          "links": []
        }
      ],
      "title": "Save final image and complete metadata",
      "properties": {
        "cnr_id": "comfyui-workflow-encrypt",
        "ver": "1.0.0",
        "Node name for S&R": "Image Saver",
        "ue_properties": {
          "widget_ue_connectable": {
            "filename": true,
            "path": true,
            "extension": true,
            "steps": true,
            "cfg": true,
            "modelname": true,
            "sampler_name": true,
            "scheduler_name": true,
            "positive": true,
            "negative": true,
            "seed_value": true,
            "width": true,
            "height": true,
            "lossless_webp": true,
            "quality_jpeg_or_webp": true,
            "optimize_png": true,
            "counter": true,
            "denoise": true,
            "clip_skip": true,
            "time_format": true,
            "save_workflow_as_json": true,
            "embed_workflow": true,
            "additional_hashes": true,
            "download_civitai_data": true,
            "easy_remix": true,
            "show_preview": true,
            "custom": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "%time_%basemodelname_%seed_v16",
        "Krea2_v16",
        "png",
        12,
        1,
        "",
        "euler",
        "simple",
        "unknown",
        "",
        0,
        512,
        512,
        true,
        100,
        false,
        0,
        1,
        0,
        "%Y-%m-%d-%H%M%S",
        false,
        true,
        "",
        false,
        false,
        true,
        ""
      ],
      "widgets_values_named": {
        "filename": "%time_%basemodelname_%seed_v16",
        "path": "Krea2_v16",
        "extension": "png",
        "steps": 12,
        "cfg": 1,
        "modelname": "",
        "sampler_name": "euler",
        "scheduler_name": "simple",
        "positive": "unknown",
        "negative": "",
        "seed_value": 0,
        "width": 512,
        "height": 512,
        "lossless_webp": true,
        "quality_jpeg_or_webp": 100,
        "optimize_png": false,
        "counter": 0,
        "denoise": 1,
        "clip_skip": 0,
        "time_format": "%Y-%m-%d-%H%M%S",
        "save_workflow_as_json": false,
        "embed_workflow": true,
        "additional_hashes": "",
        "download_civitai_data": false,
        "easy_remix": false,
        "show_preview": true,
        "custom": ""
      }
    },
    {
      "id": 71,
      "type": "SeedVR2Preprocess",
      "pos": [
        1640,
        80
      ],
      "size": [
        340,
        70
      ],
      "flags": {
        "pinned": true
      },
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "resized_images",
          "type": "IMAGE",
          "link": 79
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            11
          ]
        }
      ],
      "title": "SeedVR2 preprocess",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "SeedVR2Preprocess",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      }
    },
    {
      "id": 72,
      "type": "VAELoader",
      "pos": [
        1640,
        200
      ],
      "size": [
        340,
        90
      ],
      "flags": {
        "pinned": true
      },
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            12,
            20
          ]
        }
      ],
      "title": "SeedVR2 VAE",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "VAELoader",
        "ue_properties": {
          "widget_ue_connectable": {
            "vae_name": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "seedvr2_ema_vae_fp16.safetensors"
      ],
      "widgets_values_named": {
        "vae_name": "seedvr2_ema_vae_fp16.safetensors"
      }
    },
    {
      "id": 73,
      "type": "VAEEncodeTiled",
      "pos": [
        1640,
        345
      ],
      "size": [
        340,
        210
      ],
      "flags": {
        "pinned": true
      },
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 11
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 12
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            14,
            18
          ]
        }
      ],
      "title": "Seed encode â€” 512 / 128",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "VAEEncodeTiled",
        "ue_properties": {
          "widget_ue_connectable": {
            "tile_size": true,
            "overlap": true,
            "temporal_size": true,
            "temporal_overlap": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        512,
        128,
        4096,
        8
      ],
      "widgets_values_named": {
        "tile_size": 512,
        "overlap": 128,
        "temporal_size": 4096,
        "temporal_overlap": 8
      }
    },
    {
      "id": 74,
      "type": "UNETLoader",
      "pos": [
        1640,
        615
      ],
      "size": [
        340,
        135
      ],
      "flags": {
        "pinned": true
      },
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            13,
            15
          ]
        }
      ],
      "title": "SeedVR2 7B INT8",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "UNETLoader",
        "ue_properties": {
          "widget_ue_connectable": {
            "unet_name": true,
            "weight_dtype": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "seedvr2_7b_int8_convrot.safetensors",
        "default"
      ],
      "widgets_values_named": {
        "unet_name": "seedvr2_7b_int8_convrot.safetensors",
        "weight_dtype": "default"
      }
    },
    {
      "id": 75,
      "type": "SeedVR2Conditioning",
      "pos": [
        2010,
        80
      ],
      "size": [
        340,
        70
      ],
      "flags": {
        "pinned": true
      },
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 13
        },
        {
          "name": "vae_conditioning",
          "type": "LATENT",
          "link": 14
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            16
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            17
          ]
        }
      ],
      "title": "SeedVR2 conditioning",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "SeedVR2Conditioning",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      }
    },
    {
      "id": 76,
      "type": "KSampler",
      "pos": [
        2010,
        200
      ],
      "size": [
        340,
        325
      ],
      "flags": {
        "pinned": true
      },
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 15
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 16
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 17
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 18
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            19
          ]
        }
      ],
      "title": "SeedVR2 â€” original fixed one-step settings",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "KSampler",
        "ue_properties": {
          "widget_ue_connectable": {
            "seed": true,
            "steps": true,
            "cfg": true,
            "sampler_name": true,
            "scheduler": true,
            "denoise": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        723657354,
        "fixed",
        1,
        1,
        "euler",
        "simple",
        1
      ],
      "widgets_values_named": {
        "seed": 723657354,
        "control_after_generate": "fixed",
        "steps": 1,
        "cfg": 1,
        "sampler_name": "euler",
        "scheduler": "simple",
        "denoise": 1
      }
    },
    {
      "id": 77,
      "type": "VAEDecodeTiled",
      "pos": [
        2010,
        580
      ],
      "size": [
        340,
        210
      ],
      "flags": {
        "pinned": true
      },
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 19
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 20
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            21
          ]
        }
      ],
      "title": "Seed decode â€” 512 / 128",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "VAEDecodeTiled",
        "ue_properties": {
          "widget_ue_connectable": {
            "tile_size": true,
            "overlap": true,
            "temporal_size": true,
            "temporal_overlap": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        512,
        128,
        4096,
        8
      ],
      "widgets_values_named": {
        "tile_size": 512,
        "overlap": 128,
        "temporal_size": 4096,
        "temporal_overlap": 8
      }
    },
    {
      "id": 78,
      "type": "SeedVR2PostProcessing",
      "pos": [
        2010,
        850
      ],
      "size": [
        340,
        85
      ],
      "flags": {
        "pinned": true
      },
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 21
        },
        {
          "name": "original_resized_images",
          "type": "IMAGE",
          "link": 80
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            81
          ]
        }
      ],
      "title": "LAB color correction",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "SeedVR2PostProcessing",
        "ue_properties": {
          "widget_ue_connectable": {
            "color_correction_method": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "lab"
      ],
      "widgets_values_named": {
        "color_correction_method": "lab"
      }
    },
    {
      "id": 79,
      "type": "ImageScale",
      "pos": [
        2430,
        80
      ],
      "size": [
        350,
        180
      ],
      "flags": {
        "pinned": true
      },
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 81
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 57
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 58
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            23
          ]
        }
      ],
      "title": "Preserve validated RGB8 handoff",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "ImageScale",
        "ue_properties": {
          "widget_ue_connectable": {
            "upscale_method": true,
            "width": true,
            "height": true,
            "crop": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "lanczos",
        2496,
        3648,
        "disabled"
      ],
      "widgets_values_named": {
        "upscale_method": "lanczos",
        "width": 2496,
        "height": 3648,
        "crop": "disabled"
      }
    },
    {
      "id": 90,
      "type": "VOSR2ModelLoader",
      "pos": [
        2430,
        315
      ],
      "size": [
        350,
        165
      ],
      "flags": {
        "pinned": true
      },
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "model",
          "type": "VOSR2_MODEL",
          "links": [
            22
          ]
        }
      ],
      "title": "VOSR2 matched bundle â€” BF16 DiT/DINO",
      "properties": {
        "cnr_id": "comfyui-workflow-encrypt",
        "ver": "1.0.0",
        "Node name for S&R": "VOSR2ModelLoader",
        "ue_properties": {
          "widget_ue_connectable": {
            "model": true,
            "dtype": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "VOSR2",
        "bf16"
      ],
      "widgets_values_named": {
        "model": "VOSR2",
        "dtype": "bf16"
      }
    },
    {
      "id": 91,
      "type": "VOSR2Upscale",
      "pos": [
        2430,
        540
      ],
      "size": [
        350,
        365
      ],
      "flags": {
        "pinned": true
      },
      "order": 26,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "VOSR2_MODEL",
          "link": 22
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 23
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            82,
            83,
            84
          ]
        }
      ],
      "title": "VOSR2 finish - tested 1x setting",
      "properties": {
        "cnr_id": "comfyui-workflow-encrypt",
        "ver": "1.0.0",
        "Node name for S&R": "VOSR2Upscale",
        "ue_properties": {
          "widget_ue_connectable": {
            "upscale": true,
            "seed": true,
            "color_alignment": true,
            "tile_size": true,
            "tile_overlap": true,
            "vae_tile_size": true,
            "vae_tile_overlap": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        1,
        42,
        "fixed",
        "wavelet",
        512,
        64,
        512,
        64
      ],
      "widgets_values_named": {
        "upscale": 1,
        "seed": 42,
        "control_after_generate": "fixed",
        "color_alignment": "wavelet",
        "tile_size": 512,
        "tile_overlap": 64,
        "vae_tile_size": 512,
        "vae_tile_overlap": 64
      }
    },
    {
      "id": 92,
      "type": "GetImageSize",
      "pos": [
        2430,
        960
      ],
      "size": [
        350,
        124
      ],
      "flags": {
        "pinned": true
      },
      "order": 27,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 83
        }
      ],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": [
            36
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            37
          ]
        },
        {
          "name": "batch_size",
          "type": "INT",
          "links": []
        }
      ],
      "title": "Final image dimensions",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "GetImageSize",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      }
    },
    {
      "id": 102,
      "type": "LatentUpscaleBy",
      "pos": [
        821.2332805173893,
        1077.3790708046854
      ],
      "size": [
        350,
        90
      ],
      "flags": {
        "pinned": true
      },
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 26
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            29
          ]
        }
      ],
      "title": "Latent upscale - 2x",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.44.0",
        "Node name for S&R": "LatentUpscaleBy",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "nearest-exact",
        2
      ],
      "widgets_values_named": {
        "upscale_method": "nearest-exact",
        "scale_by": 2
      }
    },
    {
      "id": 103,
      "type": "KSampler",
      "pos": [
        1222.6368109878333,
        695.7577199287255
      ],
      "size": [
        344.7967153273771,
        486
      ],
      "flags": {
        "pinned": true
      },
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 30
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 27
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 28
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 29
        },
        {
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          },
          "link": 31
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            78
          ]
        }
      ],
      "title": "Latent refinement - 4 steps / 0.35",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.41.0",
        "Node name for S&R": "KSampler",
        "ue_properties": {
          "widget_ue_connectable": {
            "seed": true,
            "steps": true,
            "cfg": true,
            "sampler_name": true,
            "scheduler": true,
            "denoise": true
          },
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        805986110390752,
        "fixed",
        4,
        1,
        "euler",
        "simple",
        0.35
      ],
      "widgets_values_named": {
        "seed": 805986110390752,
        "control_after_generate": "fixed",
        "steps": 4,
        "cfg": 1,
        "sampler_name": "euler",
        "scheduler": "simple",
        "denoise": 0.35
      }
    },
    {
      "id": 110,
      "type": "PrimitiveBoolean",
      "pos": [
        840,
        405
      ],
      "size": [
        340,
        85
      ],
      "flags": {
        "pinned": true
      },
      "order": 9,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "BOOLEAN",
          "type": "BOOLEAN",
          "links": [
            38
          ]
        }
      ],
      "title": "SHIFT: ON high / OFF legacy",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.44.0",
        "Node name for S&R": "PrimitiveBoolean",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        true
      ],
      "widgets_values_named": {
        "value": true
      }
    },
    {
      "id": 111,
      "type": "Power Puter (rgthree)",
      "pos": [
        840,
        540
      ],
      "size": [
        340,
        180
      ],
      "flags": {
        "collapsed": true,
        "pinned": true
      },
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "a",
          "type": "BOOLEAN",
          "link": 38
        },
        {
          "name": "b",
          "type": "*",
          "link": null
        }
      ],
      "outputs": [
        {
          "label": "INT",
          "name": "INT",
          "type": "INT",
          "links": [
            39,
            71
          ]
        },
        {
          "label": "INT",
          "name": "INT",
          "type": "INT",
          "links": [
            40,
            72
          ]
        },
        {
          "label": "INT",
          "name": "INT",
          "type": "INT",
          "links": [
            57
          ]
        },
        {
          "label": "INT",
          "name": "INT",
          "type": "INT",
          "links": [
            58
          ]
        }
      ],
      "title": "Shift references and 2x dimensions",
      "properties": {
        "cnr_id": "rgthree-comfy",
        "ver": "1.0.2607232129",
        "Node name for S&R": "Power Puter (rgthree)",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        {
          "outputs": [
            "INT",
            "INT",
            "INT",
            "INT"
          ]
        },
        "width = node(8)[\"inputs\"][\"width\"]\nheight = node(8)[\"inputs\"][\"height\"]\nif a:\n    return 1248, 1824, width * 2, height * 2\nreturn 1032, 520, width * 2, height * 2"
      ],
      "widgets_values_named": {
        "outputs": {
          "outputs": [
            "INT",
            "INT",
            "INT",
            "INT"
          ]
        },
        "code": "width = node(8)[\"inputs\"][\"width\"]\nheight = node(8)[\"inputs\"][\"height\"]\nif a:\n    return 1248, 1824, width * 2, height * 2\nreturn 1032, 520, width * 2, height * 2"
      }
    },
    {
      "id": 119,
      "type": "Power Puter (rgthree)",
      "pos": [
        2430,
        1120
      ],
      "size": [
        350,
        200
      ],
      "flags": {
        "collapsed": true,
        "pinned": true
      },
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "name": "a",
          "type": "IMAGE",
          "link": 84
        },
        {
          "name": "b",
          "type": "INT",
          "link": 71
        },
        {
          "name": "c",
          "type": "INT",
          "link": 72
        },
        {
          "name": "d",
          "type": "INT",
          "link": 73
        },
        {
          "name": "e",
          "type": "STRING",
          "link": 74
        },
        {
          "name": "f",
          "type": "*",
          "link": null
        }
      ],
      "outputs": [
        {
          "label": "STRING",
          "name": "STRING",
          "type": "STRING",
          "links": [
            64
          ]
        },
        {
          "label": "INT",
          "name": "INT",
          "type": "INT",
          "links": [
            65
          ]
        },
        {
          "label": "FLOAT",
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            66
          ]
        },
        {
          "label": "STRING",
          "name": "STRING",
          "type": "STRING",
          "links": [
            67
          ]
        },
        {
          "label": "STRING",
          "name": "STRING",
          "type": "STRING",
          "links": [
            68
          ]
        },
        {
          "label": "FLOAT",
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            69
          ]
        }
      ],
      "title": "All-pass metadata - every stage enabled",
      "properties": {
        "cnr_id": "rgthree-comfy",
        "ver": "1.0.2607232129",
        "Node name for S&R": "Power Puter (rgthree)",
        "version_snapshot": {
          "comfyui": "0.44.0",
          "frontend": "1.57.6",
          "torch": "2.14.1+cu130",
          "vosr2_installed_package": "0.4.2",
          "capture_scope": "Build-time installed/runtime snapshot; not a claim of live future versions or a clean upstream checkout.",
          "source_files": {
            "comfy/k_diffusion/sampling.py": {
              "sha256": "a7f22bd23cf8da6814c0adf0328704b2946370f09939bb364c2523dc1fcc902f"
            },
            "comfy/ldm/krea2/model.py": {
              "sha256": "6edb05abdc9630837fe5cfa7c38c136f3296dc17570837ab40a0c527a323320b"
            },
            "comfy_extras/nodes_model_advanced.py": {
              "sha256": "ad4dacd7c65adef6a42c99135a0a3545b6d827cfd861a98cf7e5c4d5d0a4dc03"
            },
            "comfy_extras/nodes_seedvr.py": {
              "sha256": "92b84f04e6083ef0b466b0e73cd3178716fd86009c6beba44a3c3077d5759038"
            },
            "custom_nodes/ComfyUI-VOSR2/pyproject.toml": {
              "sha256": "8f6e17fd1ca6afff6589d86b502c66918d0b5b97d2f730def4b1eef0a8b37c52"
            },
            "custom_nodes/ComfyUI-VOSR2/nodes_vosr.py": {
              "sha256": "ee4712cd8ea94d5c70e2f13913c2e775673021dce3f42a954ffea2d6b11a4645"
            },
            "custom_nodes/rgthree-comfy/py/power_puter.py": {
              "sha256": "1442291386082a3c6239c898ee08ebc9595e4281773fc301b324d6fcc688966b"
            }
          }
        },
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        {
          "outputs": [
            "STRING",
            "INT",
            "FLOAT",
            "STRING",
            "STRING",
            "FLOAT"
          ]
        },
        "passes = {}\nfor label, nid in [(\"base\", 9), (\"refinement\", 103), (\"SeedVR2\", 76)]:\n    inputs = node(nid)[\"inputs\"]\n    settings = {}\n    for key in [\"seed\", \"steps\", \"sampler_name\", \"scheduler\", \"cfg\", \"denoise\"]:\n        value = inputs.get(key)\n        for unused in range(12):\n            if str(type(value)) != \"<class 'list'>\":\n                break\n            if len(value) != 2:\n                break\n            source = node(value[0])\n            if source is None:\n                break\n            source_inputs = source[\"inputs\"]\n            if source[\"class_type\"] == \"Seed Generator (Image Saver)\":\n                value = source_inputs[\"seed\"] + source_inputs.get(\"increment\", 0)\n            elif \"value\" in source_inputs:\n                value = source_inputs[\"value\"]\n            else:\n                break\n        settings[key] = value\n    if label in [\"base\", \"refinement\"]:\n        settings[\"seed\"] = d\n    if label == \"base\":\n        settings[\"executed\"] = True\n    elif label == \"refinement\":\n        settings[\"executed\"] = True\n    else:\n        settings[\"executed\"] = True\n    passes[label] = settings\nshift_inputs = node(7)[\"inputs\"]\nslope = (shift_inputs[\"max_shift\"] - shift_inputs[\"base_shift\"]) / (4096 - 256)\nshift = b * c / 256 * slope + shift_inputs[\"base_shift\"] - slope * 256\nvosr = {}\nfor key, value in node(91)[\"inputs\"].items():\n    if key != \"image\" and key != \"model\":\n        vosr[key] = value\nmetadata = {\n    \"workflow\": \"Krea2 v16 simplified always-on experimental\",\n    \"generation_model\": node(1)[\"inputs\"][\"ckpt_name\"],\n    \"text_encoder\": node(2)[\"inputs\"],\n    \"generation_vae\": node(3)[\"inputs\"],\n    \"applied_loras_shared_by_generation_passes\": e,\n    \"generation_dimensions\": [node(8)[\"inputs\"][\"width\"], node(8)[\"inputs\"][\"height\"]],\n    \"actual_output_dimensions\": [int(a.shape[2]), int(a.shape[1])],\n    \"shared_shift\": {\"reference_width\": b, \"reference_height\": c, \"max_shift\": shift_inputs[\"max_shift\"], \"base_shift\": shift_inputs[\"base_shift\"], \"effective_shift\": shift},\n    \"passes\": passes,\n    \"latent_upscale\": node(102)[\"inputs\"],\n    \"SeedVR2\": {\"executed\": True, \"model\": node(74)[\"inputs\"], \"vae\": node(72)[\"inputs\"], \"encode\": node(73)[\"inputs\"], \"decode\": node(77)[\"inputs\"], \"color_correction\": node(78)[\"inputs\"][\"color_correction_method\"]},\n    \"VOSR2\": {\"executed\": True, \"bundle\": node(90)[\"inputs\"], \"settings\": vosr},\n    \"version_snapshot\": {'comfyui': '0.44.0', 'frontend': '1.57.6', 'torch': '2.14.1+cu130', 'vosr2_installed_package': '0.4.2', 'capture_scope': 'Build-time installed/runtime snapshot; not a claim of live future versions or a clean upstream checkout.', 'source_files': {'comfy/k_diffusion/sampling.py': {'sha256': 'a7f22bd23cf8da6814c0adf0328704b2946370f09939bb364c2523dc1fcc902f'}, 'comfy/ldm/krea2/model.py': {'sha256': '6edb05abdc9630837fe5cfa7c38c136f3296dc17570837ab40a0c527a323320b'}, 'comfy_extras/nodes_model_advanced.py': {'sha256': 'ad4dacd7c65adef6a42c99135a0a3545b6d827cfd861a98cf7e5c4d5d0a4dc03'}, 'comfy_extras/nodes_seedvr.py': {'sha256': '92b84f04e6083ef0b466b0e73cd3178716fd86009c6beba44a3c3077d5759038'}, 'custom_nodes/ComfyUI-VOSR2/pyproject.toml': {'sha256': '8f6e17fd1ca6afff6589d86b502c66918d0b5b97d2f730def4b1eef0a8b37c52'}, 'custom_nodes/ComfyUI-VOSR2/nodes_vosr.py': {'sha256': 'ee4712cd8ea94d5c70e2f13913c2e775673021dce3f42a954ffea2d6b11a4645'}, 'custom_nodes/rgthree-comfy/py/power_puter.py': {'sha256': '1442291386082a3c6239c898ee08ebc9595e4281773fc301b324d6fcc688966b'}}},\n    \"metadata_note\": \"Image Saver steps/sampler fields describe the base pass. This JSON and the embedded workflow describe all configured passes; All generation, refinement, SeedVR2 and VOSR2 stages always execute.\"\n}\nsummary = \"Workflow=v16 always-on; shift=\" + str(shift) + \"; shift_reference=\" + str(b) + \"x\" + str(c)\nsummary = summary + \"; base_size=\" + str(metadata[\"generation_dimensions\"]) + \"; output_size=\" + str(metadata[\"actual_output_dimensions\"])\nfor label, settings in passes.items():\n    summary = summary + \"; \" + label + \"=\" + str(settings)\nsummary = summary + \"; latent_upscale=\" + str(metadata[\"latent_upscale\"])\nsummary = summary + \"; SeedVR2=\" + str(metadata[\"SeedVR2\"]) + \"; VOSR2=\" + str(metadata[\"VOSR2\"])\nsummary = summary + \"; encoder=\" + str(metadata[\"text_encoder\"]) + \"; generation_vae=\" + str(metadata[\"generation_vae\"])\nsummary = summary + \"; build_versions=\" + str(metadata[\"version_snapshot\"][\"comfyui\"]) + \"/\" + str(metadata[\"version_snapshot\"][\"vosr2_installed_package\"])\nsummary = summary.replace(\"\\r\", \" \").replace(\"\\n\", \" \")\ncustom = 'Krea2 settings: \"' + summary.replace(\"\\\\\", \"\\\\\\\\\").replace('\"', '\\\\\"') + '\"'\nreturn custom, passes[\"base\"][\"steps\"], passes[\"base\"][\"cfg\"], passes[\"base\"][\"sampler_name\"], passes[\"base\"][\"scheduler\"], passes[\"base\"][\"denoise\"]"
      ],
      "widgets_values_named": {
        "outputs": {
          "outputs": [
            "STRING",
            "INT",
            "FLOAT",
            "STRING",
            "STRING",
            "FLOAT"
          ]
        },
        "code": "passes = {}\nfor label, nid in [(\"base\", 9), (\"refinement\", 103), (\"SeedVR2\", 76)]:\n    inputs = node(nid)[\"inputs\"]\n    settings = {}\n    for key in [\"seed\", \"steps\", \"sampler_name\", \"scheduler\", \"cfg\", \"denoise\"]:\n        value = inputs.get(key)\n        for unused in range(12):\n            if str(type(value)) != \"<class 'list'>\":\n                break\n            if len(value) != 2:\n                break\n            source = node(value[0])\n            if source is None:\n                break\n            source_inputs = source[\"inputs\"]\n            if source[\"class_type\"] == \"Seed Generator (Image Saver)\":\n                value = source_inputs[\"seed\"] + source_inputs.get(\"increment\", 0)\n            elif \"value\" in source_inputs:\n                value = source_inputs[\"value\"]\n            else:\n                break\n        settings[key] = value\n    if label in [\"base\", \"refinement\"]:\n        settings[\"seed\"] = d\n    if label == \"base\":\n        settings[\"executed\"] = True\n    elif label == \"refinement\":\n        settings[\"executed\"] = True\n    else:\n        settings[\"executed\"] = True\n    passes[label] = settings\nshift_inputs = node(7)[\"inputs\"]\nslope = (shift_inputs[\"max_shift\"] - shift_inputs[\"base_shift\"]) / (4096 - 256)\nshift = b * c / 256 * slope + shift_inputs[\"base_shift\"] - slope * 256\nvosr = {}\nfor key, value in node(91)[\"inputs\"].items():\n    if key != \"image\" and key != \"model\":\n        vosr[key] = value\nmetadata = {\n    \"workflow\": \"Krea2 v16 simplified always-on experimental\",\n    \"generation_model\": node(1)[\"inputs\"][\"ckpt_name\"],\n    \"text_encoder\": node(2)[\"inputs\"],\n    \"generation_vae\": node(3)[\"inputs\"],\n    \"applied_loras_shared_by_generation_passes\": e,\n    \"generation_dimensions\": [node(8)[\"inputs\"][\"width\"], node(8)[\"inputs\"][\"height\"]],\n    \"actual_output_dimensions\": [int(a.shape[2]), int(a.shape[1])],\n    \"shared_shift\": {\"reference_width\": b, \"reference_height\": c, \"max_shift\": shift_inputs[\"max_shift\"], \"base_shift\": shift_inputs[\"base_shift\"], \"effective_shift\": shift},\n    \"passes\": passes,\n    \"latent_upscale\": node(102)[\"inputs\"],\n    \"SeedVR2\": {\"executed\": True, \"model\": node(74)[\"inputs\"], \"vae\": node(72)[\"inputs\"], \"encode\": node(73)[\"inputs\"], \"decode\": node(77)[\"inputs\"], \"color_correction\": node(78)[\"inputs\"][\"color_correction_method\"]},\n    \"VOSR2\": {\"executed\": True, \"bundle\": node(90)[\"inputs\"], \"settings\": vosr},\n    \"version_snapshot\": {'comfyui': '0.44.0', 'frontend': '1.57.6', 'torch': '2.14.1+cu130', 'vosr2_installed_package': '0.4.2', 'capture_scope': 'Build-time installed/runtime snapshot; not a claim of live future versions or a clean upstream checkout.', 'source_files': {'comfy/k_diffusion/sampling.py': {'sha256': 'a7f22bd23cf8da6814c0adf0328704b2946370f09939bb364c2523dc1fcc902f'}, 'comfy/ldm/krea2/model.py': {'sha256': '6edb05abdc9630837fe5cfa7c38c136f3296dc17570837ab40a0c527a323320b'}, 'comfy_extras/nodes_model_advanced.py': {'sha256': 'ad4dacd7c65adef6a42c99135a0a3545b6d827cfd861a98cf7e5c4d5d0a4dc03'}, 'comfy_extras/nodes_seedvr.py': {'sha256': '92b84f04e6083ef0b466b0e73cd3178716fd86009c6beba44a3c3077d5759038'}, 'custom_nodes/ComfyUI-VOSR2/pyproject.toml': {'sha256': '8f6e17fd1ca6afff6589d86b502c66918d0b5b97d2f730def4b1eef0a8b37c52'}, 'custom_nodes/ComfyUI-VOSR2/nodes_vosr.py': {'sha256': 'ee4712cd8ea94d5c70e2f13913c2e775673021dce3f42a954ffea2d6b11a4645'}, 'custom_nodes/rgthree-comfy/py/power_puter.py': {'sha256': '1442291386082a3c6239c898ee08ebc9595e4281773fc301b324d6fcc688966b'}}},\n    \"metadata_note\": \"Image Saver steps/sampler fields describe the base pass. This JSON and the embedded workflow describe all configured passes; All generation, refinement, SeedVR2 and VOSR2 stages always execute.\"\n}\nsummary = \"Workflow=v16 always-on; shift=\" + str(shift) + \"; shift_reference=\" + str(b) + \"x\" + str(c)\nsummary = summary + \"; base_size=\" + str(metadata[\"generation_dimensions\"]) + \"; output_size=\" + str(metadata[\"actual_output_dimensions\"])\nfor label, settings in passes.items():\n    summary = summary + \"; \" + label + \"=\" + str(settings)\nsummary = summary + \"; latent_upscale=\" + str(metadata[\"latent_upscale\"])\nsummary = summary + \"; SeedVR2=\" + str(metadata[\"SeedVR2\"]) + \"; VOSR2=\" + str(metadata[\"VOSR2\"])\nsummary = summary + \"; encoder=\" + str(metadata[\"text_encoder\"]) + \"; generation_vae=\" + str(metadata[\"generation_vae\"])\nsummary = summary + \"; build_versions=\" + str(metadata[\"version_snapshot\"][\"comfyui\"]) + \"/\" + str(metadata[\"version_snapshot\"][\"vosr2_installed_package\"])\nsummary = summary.replace(\"\\r\", \" \").replace(\"\\n\", \" \")\ncustom = 'Krea2 settings: \"' + summary.replace(\"\\\\\", \"\\\\\\\\\").replace('\"', '\\\\\"') + '\"'\nreturn custom, passes[\"base\"][\"steps\"], passes[\"base\"][\"cfg\"], passes[\"base\"][\"sampler_name\"], passes[\"base\"][\"scheduler\"], passes[\"base\"][\"denoise\"]"
      }
    }
  ],
  "links": [
    [
      1,
      40,
      0,
      5,
      1,
      "STRING"
    ],
    [
      2,
      14,
      1,
      5,
      0,
      "CLIP"
    ],
    [
      3,
      5,
      0,
      6,
      0,
      "CONDITIONING"
    ],
    [
      4,
      14,
      0,
      7,
      0,
      "MODEL"
    ],
    [
      5,
      41,
      0,
      9,
      4,
      "INT"
    ],
    [
      6,
      7,
      0,
      9,
      0,
      "MODEL"
    ],
    [
      7,
      5,
      0,
      9,
      1,
      "CONDITIONING"
    ],
    [
      8,
      6,
      0,
      9,
      2,
      "CONDITIONING"
    ],
    [
      9,
      8,
      0,
      9,
      3,
      "LATENT"
    ],
    [
      10,
      3,
      0,
      10,
      1,
      "VAE"
    ],
    [
      11,
      71,
      0,
      73,
      0,
      "IMAGE"
    ],
    [
      12,
      72,
      0,
      73,
      1,
      "VAE"
    ],
    [
      13,
      74,
      0,
      75,
      0,
      "MODEL"
    ],
    [
      14,
      73,
      0,
      75,
      1,
      "LATENT"
    ],
    [
      15,
      74,
      0,
      76,
      0,
      "MODEL"
    ],
    [
      16,
      75,
      0,
      76,
      1,
      "CONDITIONING"
    ],
    [
      17,
      75,
      1,
      76,
      2,
      "CONDITIONING"
    ],
    [
      18,
      73,
      0,
      76,
      3,
      "LATENT"
    ],
    [
      19,
      76,
      0,
      77,
      0,
      "LATENT"
    ],
    [
      20,
      72,
      0,
      77,
      1,
      "VAE"
    ],
    [
      21,
      77,
      0,
      78,
      0,
      "IMAGE"
    ],
    [
      22,
      90,
      0,
      91,
      0,
      "VOSR2_MODEL"
    ],
    [
      23,
      79,
      0,
      91,
      1,
      "IMAGE"
    ],
    [
      24,
      14,
      3,
      62,
      1,
      "STRING"
    ],
    [
      25,
      1,
      0,
      14,
      0,
      "MODEL"
    ],
    [
      26,
      9,
      0,
      102,
      0,
      "LATENT"
    ],
    [
      27,
      5,
      0,
      103,
      1,
      "CONDITIONING"
    ],
    [
      28,
      6,
      0,
      103,
      2,
      "CONDITIONING"
    ],
    [
      29,
      102,
      0,
      103,
      3,
      "LATENT"
    ],
    [
      30,
      7,
      0,
      103,
      0,
      "MODEL"
    ],
    [
      31,
      41,
      0,
      103,
      4,
      "INT"
    ],
    [
      71,
      111,
      0,
      119,
      1,
      "INT"
    ],
    [
      72,
      111,
      1,
      119,
      2,
      "INT"
    ],
    [
      73,
      41,
      0,
      119,
      3,
      "INT"
    ],
    [
      74,
      14,
      3,
      119,
      4,
      "STRING"
    ],
    [
      78,
      103,
      0,
      10,
      0,
      "LATENT"
    ],
    [
      79,
      10,
      0,
      71,
      0,
      "IMAGE"
    ],
    [
      80,
      10,
      0,
      78,
      1,
      "IMAGE"
    ],
    [
      81,
      78,
      0,
      79,
      0,
      "IMAGE"
    ],
    [
      82,
      91,
      0,
      62,
      0,
      "IMAGE"
    ],
    [
      83,
      91,
      0,
      92,
      0,
      "IMAGE"
    ],
    [
      84,
      91,
      0,
      119,
      0,
      "IMAGE"
    ],
    [
      39,
      111,
      0,
      7,
      1,
      "INT"
    ],
    [
      40,
      111,
      1,
      7,
      2,
      "INT"
    ],
    [
      32,
      2,
      0,
      14,
      1,
      "CLIP"
    ],
    [
      33,
      1,
      3,
      62,
      4,
      "STRING"
    ],
    [
      34,
      40,
      0,
      62,
      7,
      "STRING"
    ],
    [
      35,
      41,
      0,
      62,
      8,
      "INT"
    ],
    [
      36,
      92,
      0,
      62,
      9,
      "INT"
    ],
    [
      37,
      92,
      1,
      62,
      10,
      "INT"
    ],
    [
      64,
      119,
      0,
      62,
      12,
      "STRING"
    ],
    [
      65,
      119,
      1,
      62,
      2,
      "INT"
    ],
    [
      66,
      119,
      2,
      62,
      3,
      "FLOAT"
    ],
    [
      67,
      119,
      3,
      62,
      5,
      "STRING"
    ],
    [
      68,
      119,
      4,
      62,
      6,
      "STRING"
    ],
    [
      69,
      119,
      5,
      62,
      11,
      "FLOAT"
    ],
    [
      57,
      111,
      2,
      79,
      1,
      "INT"
    ],
    [
      58,
      111,
      3,
      79,
      2,
      "INT"
    ],
    [
      38,
      110,
      0,
      111,
      0,
      "BOOLEAN"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "01  GENERATION + 2x LATENT REFINEMENT",
      "bounding": [
        0,
        0,
        1590,
        1200
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 2,
      "title": "02  POST PROCESSING - SeedVR2",
      "bounding": [
        1610,
        0,
        770,
        1200
      ],
      "color": "#467d65",
      "flags": {}
    },
    {
      "id": 3,
      "title": "03  UPSCALE / FINAL OUTPUT - VOSR2 at 1x",
      "bounding": [
        2400,
        0,
        870,
        1200
      ],
      "color": "#85659a",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.724729500000001,
      "offset": [
        771.2312026398155,
        217.33022440939618
      ]
    },
    "ue_links": [],
    "links_added_by_ue": [],
    "frontendVersion": "1.57.6"
  },
  "extensions": {
    "seed_widgets": {
      "9": 0,
      "41": 0,
      "76": 0,
      "91": 1,
      "103": 0
    }
  },
  "version": 0.4
}