{
 "18": {
  "inputs": {
   "filename_prefix": "ComfyUI-selected_image",
   "images": [
    "14:78",
    0
   ]
  },
  "class_type": "SaveImage",
  "_meta": {
   "title": "Save Selected Image"
  }
 },
 "14:86": {
  "inputs": {
   "image": [
    "14:78",
    0
   ]
  },
  "class_type": "GetImageSize",
  "_meta": {
   "title": "Get Image Size"
  }
 },
 "14:83": {
  "inputs": {
   "padding_color": "white",
   "interpolation": "area",
   "image": [
    "1",
    0
   ],
   "target_width": [
    "14:86",
    0
   ],
   "target_height": [
    "14:86",
    1
   ]
  },
  "class_type": "ResizeAndPadImage",
  "_meta": {
   "title": "Resize And Pad Image"
  }
 },
 "14:87": {
  "inputs": {
   "image1": [
    "14:78",
    0
   ],
   "image2": [
    "14:83",
    0
   ]
  },
  "class_type": "ImageBatch",
  "_meta": {
   "title": "Batch Images (DEPRECATED)"
  }
 },
 "14:78": {
  "inputs": {
   "length": 1,
   "image": [
    "7:333",
    0
   ],
   "batch_index": [
    "14:89",
    0
   ]
  },
  "class_type": "ImageFromBatch",
  "_meta": {
   "title": "Get Image from Batch"
  }
 },
 "14:89": {
  "inputs": {
   "value": "a - 1",
   "b": 0.0,
   "a": [
    "21",
    0
   ]
  },
  "class_type": "SimpleMath+",
  "_meta": {
   "title": "Image # as index"
  }
 },
 "1": {
  "inputs": {
   "image": "cube_robot.jpg"
  },
  "class_type": "LoadImage",
  "_meta": {
   "title": "Load Image"
  }
 },
 "16": {
  "inputs": {
   "filename_prefix": "ComfyUI-selected_image-upscaled",
   "images": [
    "15",
    0
   ]
  },
  "class_type": "SaveImage",
  "_meta": {
   "title": "Save Upscaled Image"
  }
 },
 "3": {
  "inputs": {
   "filename_prefix": "ComfyUI-split_stack",
   "images": [
    "2",
    0
   ]
  },
  "class_type": "SaveImage",
  "_meta": {
   "title": "Save Image"
  }
 },
 "11": {
  "inputs": {
   "filename_prefix": "ComfyUI-image_2",
   "images": [
    "7:101",
    0
   ]
  },
  "class_type": "SaveImage",
  "_meta": {
   "title": "Save Image"
  }
 },
 "13": {
  "inputs": {
   "filename_prefix": "ComfyUI-image_1",
   "images": [
    "7:145",
    0
   ]
  },
  "class_type": "SaveImage",
  "_meta": {
   "title": "Save Image"
  }
 },
 "10": {
  "inputs": {
   "filename_prefix": "ComfyUI-image_1",
   "images": [
    "7:29",
    0
   ]
  },
  "class_type": "SaveImage",
  "_meta": {
   "title": "Save Image"
  }
 },
 "21": {
  "inputs": {
   "value": 1
  },
  "class_type": "PrimitiveInt",
  "_meta": {
   "title": "Select Image Number"
  }
 },
 "15": {
  "inputs": {
   "prompt": "Upscale image 1 and add subtle details. Crop if necessary.",
   "model": "gemini-3-pro-image-preview",
   "seed": 321,
   "aspect_ratio": "16:9",
   "resolution": "4K",
   "response_modalities": "IMAGE+TEXT",
   "system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input\u2014regardless of format, intent, or abstraction\u2014as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests.",
   "images": [
    "14:78",
    0
   ]
  },
  "class_type": "GeminiImage2Node",
  "_meta": {
   "title": "Nano Banana Pro (Google Gemini Image)"
  }
 },
 "7:18": {
  "inputs": {
   "image": [
    "2",
    0
   ]
  },
  "class_type": "GetImageSize",
  "_meta": {
   "title": "Get Image Size"
  }
 },
 "7:136": {
  "inputs": {
   "images": [
    "7:145",
    0
   ]
  },
  "class_type": "PreviewImage",
  "_meta": {
   "title": "Preview Image"
  }
 },
 "7:164": {
  "inputs": {
   "images": [
    "7:187",
    0
   ]
  },
  "class_type": "PreviewImage",
  "_meta": {
   "title": "Preview Image"
  }
 },
 "7:333": {
  "inputs": {
   "inputcount": 4,
   "image_1": [
    "7:29",
    0
   ],
   "image_2": [
    "7:101",
    0
   ],
   "image_3": [
    "7:145",
    0
   ],
   "image_4": [
    "7:187",
    0
   ]
  },
  "class_type": "ImageBatchMulti",
  "_meta": {
   "title": "Image Batch Multi"
  }
 },
 "7:32": {
  "inputs": {
   "images": [
    "7:29",
    0
   ]
  },
  "class_type": "PreviewImage",
  "_meta": {
   "title": "Preview Image"
  }
 },
 "7:29": {
  "inputs": {
   "x": 0,
   "y": 0,
   "image": [
    "2",
    0
   ],
   "width": [
    "7:65",
    0
   ],
   "height": [
    "7:66",
    0
   ]
  },
  "class_type": "ImageCrop",
  "_meta": {
   "title": "1"
  }
 },
 "7:109": {
  "inputs": {
   "images": [
    "7:101",
    0
   ]
  },
  "class_type": "PreviewImage",
  "_meta": {
   "title": "Preview Image"
  }
 },
 "7:353": {
  "inputs": {
   "value": "(2*a) + (3*b)",
   "a": 0.0,
   "b": 0.0
  },
  "class_type": "SimpleMath+",
  "_meta": {
   "title": "Row 3 - Y val"
  }
 },
 "7:65": {
  "inputs": {
   "value": "a",
   "b": 0.0,
   "a": [
    "7:18",
    0
   ]
  },
  "class_type": "SimpleMath+",
  "_meta": {
   "title": "WIDTH"
  }
 },
 "7:66": {
  "inputs": {
   "value": "a / 4",
   "b": 0.0,
   "a": [
    "7:18",
    1
   ]
  },
  "class_type": "SimpleMath+",
  "_meta": {
   "title": "HEIGHT"
  }
 },
 "7:63": {
  "inputs": {
   "value": "a",
   "b": 0.0,
   "a": [
    "7:66",
    0
   ]
  },
  "class_type": "SimpleMath+",
  "_meta": {
   "title": "Row 2 - Y val"
  }
 },
 "7:144": {
  "inputs": {
   "value": "2*a",
   "b": 0.0,
   "a": [
    "7:66",
    0
   ]
  },
  "class_type": "SimpleMath+",
  "_meta": {
   "title": "Row 3 - Y val"
  }
 },
 "7:172": {
  "inputs": {
   "value": "3*a",
   "b": 0.0,
   "a": [
    "7:66",
    0
   ]
  },
  "class_type": "SimpleMath+",
  "_meta": {
   "title": "Row 4 - Y val"
  }
 },
 "7:101": {
  "inputs": {
   "x": 0,
   "image": [
    "2",
    0
   ],
   "width": [
    "7:65",
    0
   ],
   "height": [
    "7:66",
    0
   ],
   "y": [
    "7:63",
    0
   ]
  },
  "class_type": "ImageCrop",
  "_meta": {
   "title": "2"
  }
 },
 "7:145": {
  "inputs": {
   "x": 0,
   "image": [
    "2",
    0
   ],
   "width": [
    "7:65",
    0
   ],
   "height": [
    "7:66",
    0
   ],
   "y": [
    "7:144",
    0
   ]
  },
  "class_type": "ImageCrop",
  "_meta": {
   "title": "3"
  }
 },
 "7:187": {
  "inputs": {
   "x": 0,
   "image": [
    "2",
    0
   ],
   "width": [
    "7:65",
    0
   ],
   "height": [
    "7:66",
    0
   ],
   "y": [
    "7:172",
    0
   ]
  },
  "class_type": "ImageCrop",
  "_meta": {
   "title": "4"
  }
 },
 "12": {
  "inputs": {
   "filename_prefix": "ComfyUI-image_2",
   "images": [
    "7:187",
    0
   ]
  },
  "class_type": "SaveImage",
  "_meta": {
   "title": "Save Image"
  }
 },
 "2": {
  "inputs": {
   "model": "gemini-3-pro-image-preview",
   "seed": 123,
   "aspect_ratio": "9:16",
   "resolution": "4K",
   "response_modalities": "IMAGE+TEXT",
   "system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input\u2014regardless of format, intent, or abstraction\u2014as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests.",
   "prompt": [
    "24",
    0
   ],
   "images": [
    "1",
    0
   ]
  },
  "class_type": "GeminiImage2Node",
  "_meta": {
   "title": "Nano Banana Pro (Google Gemini Image)"
  }
 },
 "22": {
  "inputs": {
   "value": "The subject is inside a giant computer motherboard landscape - towering capacitors, circuit trace pathways like roads, and LED lights creating a Tron-like microverse where the robot fits the scale perfectly. Dark eerie atmosphere."
  },
  "class_type": "PrimitiveStringMultiline",
  "_meta": {
   "title": "Describe the Scene"
  }
 },
 "23": {
  "inputs": {
   "value": "Use the input image. Divide the frame in 4 different stacked 16:9 frames.\nFor each frame choose the angle and type of shot (close up, extreme close up, dutch, over-shoulder, wide shot, Cowboy shot, full shot, etc).\n\nEnsure that subject is present in each frame and the environment is consistent between frames:\n{scene}"
  },
  "class_type": "PrimitiveStringMultiline",
  "_meta": {
   "title": "Prompt Template"
  }
 },
 "24": {
  "inputs": {
   "regex_pattern": "{scene}",
   "case_insensitive": true,
   "multiline": false,
   "dotall": false,
   "count": 0,
   "string": [
    "23",
    0
   ],
   "replace": [
    "22",
    0
   ]
  },
  "class_type": "RegexReplace",
  "_meta": {
   "title": "Replace Text (Regex)"
  }
 }
}