Generador de hojas de sprites
Sube una imagen de tu sprite y recibe fotogramas individuales de las animaciones de inactividad, ataque, caminata y salto.
Dentro del flujo de trabajo
Una vista previa de solo lectura de la plantilla de origen. Ábrela en Cloud para explorar los nodos y hacer cambios.
Loading the graph
Open full-size workflow previewSe ejecuta en
- Salida
- Salidas mixtas
- Autor
- Rob
Llama a este modelo desde tu código
La solicitud a continuación utiliza el mismo grafo preparado y la misma configuración que el Playground. Cada envío puede iniciar una ejecución de pago; no reintentes automáticamente un envío cuyo resultado se desconozca.
What you need
- Runs on
- Comfy Cloud
- Clave
- COMFY_API_KEY
- Tus archivos
- El código los sube desde sus URL
Requiere un plan de pago de Cloud y créditos.
# Python 3.10+: pip install comfy-sdk==0.4.0
import os
from comfy_sdk import Comfy
api_key = os.environ.get("COMFY_API_KEY", "").strip()
if not api_key: raise RuntimeError("Set COMFY_API_KEY")
os.environ.setdefault("COMFY_BASE_URL", "https://cloud.comfy.org")
client = Comfy(api_key=api_key)
workflow = client.workflows.from_json({
"1": {
"class_type": "LoadImage",
"inputs": {
"image": "UPLOADED_image_FILENAME"
},
"_meta": {
"title": "Load Character Image"
}
},
"37": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-walk_sheet",
"images": [
"38",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"38": {
"class_type": "GeminiImage2Node",
"inputs": {
"aspect_ratio": "1:1",
"images": [
"77",
0
],
"model": "gemini-3-pro-image-preview",
"prompt": "Create a 4-frame pixel art walk cycle sprite sheet of this character.\n\nArrange the 4 frames in a 2x2 grid on a uniform chromakey green color background. The character is walking to the right. Every element of the generated frame should fit inside the quadrant, with the central point of the character aligned with the central point of each quadrant.\n\nCRITICAL CHROMAKEY REQUIREMENTS:\n1. BACKGROUND: Solid, flat, uniform chromakey green color. Use EXACTLY hex color #00FF00 (RGB 0, 255, 0).\n The entire background must be this single pure green color with NO variation, NO gradients, NO shadows, NO lighting effects.\n2. NO GREEN ON SUBJECT: The subject itself should NOT contain any green colors to avoid confusion with the chromakey.\n If the subject needs green, use a distinctly different shade like dark forest green or teal.\n3. DO NOT GENERATE WITH BLACK BORDERS\n\nTop row (frames 1-2):\nFrame 1 (top-left): Right leg forward, left leg back - stride position\nFrame 2 (top-right): Legs close together, passing/crossing - transition\n\nBottom row (frames 3-4):\nFrame 3 (bottom-left): Left leg forward, right leg back - opposite stride\nFrame 4 (bottom-right): Legs close together, passing/crossing - transition back\n\nEach frame shows a different phase of the walking motion. This creates a smooth looping walk cycle.\n\nUse detailed 32-bit pixel art style with proper shading and highlights. Same character design in all frames. Character facing right.",
"resolution": "2K",
"response_modalities": "IMAGE+TEXT",
"seed": 4,
"system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as 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."
},
"_meta": {
"title": "Nano Banana Pro (Google Gemini Image)"
}
},
"41": {
"class_type": "GeminiImage2Node",
"inputs": {
"aspect_ratio": "1:1",
"images": [
"77",
0
],
"model": "gemini-3-pro-image-preview",
"prompt": "Create a 4-frame pixel art idle/breathing animation sprite sheet of this character.\n\nArrange the 4 frames in a 2x2 grid on a uniform chromakey green color background. The character is standing still but with subtle idle animation. Every element of the generated frame should fit inside the quadrant, with the central point of the character aligned with the central point of each quadrant.\n\nCRITICAL CHROMAKEY REQUIREMENTS:\n1. BACKGROUND: Solid, flat, uniform chromakey green color. Use EXACTLY hex color #00FF00 (RGB 0, 255, 0).\n The entire background must be this single pure green color with NO variation, NO gradients, NO shadows, NO lighting effects.\n2. NO GREEN ON SUBJECT: The subject itself should NOT contain any green colors to avoid confusion with the chromakey.\n If the subject needs green, use a distinctly different shade like dark forest green or teal.\n3. DO NOT GENERATE WITH BLACK BORDERS BETWEEN FRAMES\n\nTop row (frames 1-2):\nFrame 1 (top-left): Neutral standing pose - relaxed stance\nFrame 2 (top-right): Slight inhale - chest/body rises subtly, maybe slight arm movement\n\nBottom row (frames 3-4):\nFrame 3 (bottom-left): Full breath - slight upward posture\nFrame 4 (bottom-right): Exhale - returning to neutral, slight settle\n\nKeep movements SUBTLE - this is a gentle breathing/idle loop, not dramatic motion. Character should look alive but relaxed.\n\nUse detailed 32-bit pixel art style with proper shading and highlights. Same character design in all frames. Character facing right.",
"resolution": "2K",
"response_modalities": "IMAGE+TEXT",
"seed": 3,
"system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as 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."
},
"_meta": {
"title": "Nano Banana Pro (Google Gemini Image)"
}
},
"42": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-idle_sheet",
"images": [
"41",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"43": {
"class_type": "GeminiImage2Node",
"inputs": {
"aspect_ratio": "1:1",
"images": [
"77",
0
],
"model": "gemini-3-pro-image-preview",
"prompt": "Create a 4-frame pixel art jump animation sprite sheet of this character.\n\nArrange the 4 frames in a 2x2 grid on a uniform chromakey green color background. The character is jumping. Every element of the generated frame should fit inside the quadrant, with the central point of the character aligned with the central point of each quadrant.\n\nCRITICAL CHROMAKEY REQUIREMENTS:\n1. BACKGROUND: Solid, flat, uniform chromakey green color. Use EXACTLY hex color #00FF00 (RGB 0, 255, 0).\n The entire background must be this single pure green color with NO variation, NO gradients, NO shadows, NO lighting effects.\n2. NO GREEN ON SUBJECT: The subject itself should NOT contain any green colors to avoid confusion with the chromakey.\n If the subject needs green, use a distinctly different shade like dark forest green or teal.\n3. DO NOT GENERATE WITH BLACK BORDERS BETWEEN FRAMES\n\nTop row (frames 1-2):\nFrame 1 (top-left): Crouch/anticipation - character slightly crouched, knees bent, preparing to jump\nFrame 2 (top-right): Rising - character in air, legs tucked up, arms up, ascending\n\nBottom row (frames 3-4):\nFrame 3 (bottom-left): Apex/peak - character at highest point of jump, body stretched or tucked\nFrame 4 (bottom-right): Landing - character landing, slight crouch to absorb impact\n\nUse detailed 32-bit pixel art style with proper shading and highlights. Same character design in all frames. Character facing right.",
"resolution": "2K",
"response_modalities": "IMAGE+TEXT",
"seed": 2,
"system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as 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."
},
"_meta": {
"title": "Nano Banana Pro (Google Gemini Image)"
}
},
"76": {
"class_type": "LoadImage",
"inputs": {
"image": "2x2_grid_image.png"
},
"_meta": {
"title": "Load Grid Image"
}
},
"77": {
"class_type": "BatchImagesNode",
"inputs": {
"images.image0": [
"1",
0
],
"images.image1": [
"76",
0
]
},
"_meta": {
"title": "Batch Images"
}
},
"142": {
"class_type": "GeminiImage2Node",
"inputs": {
"aspect_ratio": "16:9",
"images": [
"77",
0
],
"model": "gemini-3-pro-image-preview",
"prompt": "Create a 4-frame pixel art attack animation sprite sheet of this character.\n\nArrange the 4 frames in a 2x2 grid on a uniform chromakey green color background. The character is performing an attack that fits their design - could be a sword slash, magic spell, punch, kick, or energy blast depending on what suits the character best. \nEvery element of the generated frame should fit inside the quadrant, with the central point of the character aligned with the central point of each quadrant.\n\nCRITICAL CHROMAKEY REQUIREMENTS:\n1. BACKGROUND: Solid, flat, uniform chromakey green color. Use EXACTLY hex color #00FF00 (RGB 0, 255, 0).\n The entire background must be this single pure green color with NO variation, NO gradients, NO shadows, NO lighting effects.\n2. NO GREEN ON SUBJECT: The subject itself should NOT contain any green colors to avoid confusion with the chromakey.\n If the subject needs green, use a distinctly different shade like dark forest green or teal.\n3. DO NOT GENERATE WITH BLACK BORDERS BETWEEN FRAMES\n\nTop row (frames 1-2):\nFrame 1 (top-left): Wind-up/anticipation - character preparing to attack, pulling back weapon or gathering energy\nFrame 2 (top-right): Attack in motion\n\nBottom row (frames 3-4):\nFrame 3 (bottom-left): Impact/peak - maximum extension of attack, full power\nFrame 4 (bottom-right): Recovery - returning to ready stance\n\nUse detailed 32-bit pixel art style with proper shading and highlights. Same character design in all frames. Character facing right. Make the attack visually dynamic and exciting.",
"resolution": "2K",
"response_modalities": "IMAGE+TEXT",
"seed": 1,
"system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as 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."
},
"_meta": {
"title": "Nano Banana Pro (Google Gemini Image)"
}
},
"480": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-jump_sheet",
"images": [
"43",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"485": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 16
},
"_meta": {
"title": "Crop Inset Grid Images"
}
},
"491": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-attack_sheet",
"images": [
"142",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"492": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-attack-1",
"images": [
"490:441:275",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"493": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-attack-2",
"images": [
"490:465:275",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"494": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-attack-3",
"images": [
"490:469:275",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"495": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-attack-4",
"images": [
"490:470:275",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"496": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/ComfyUI-attack_animation",
"format": "auto",
"format.codec": "auto",
"video": [
"488:450",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"498": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 16
},
"_meta": {
"title": "Crop Inset Grid Images"
}
},
"503": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-jump-1",
"images": [
"508:441:275",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"504": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-jump-2",
"images": [
"508:465:275",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"505": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-jump-3",
"images": [
"508:469:275",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"506": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/ComfyUI-jump_animation",
"format": "auto",
"format.codec": "auto",
"video": [
"501:450",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"507": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-jump-4",
"images": [
"508:470:275",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"514": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 16
},
"_meta": {
"title": "Crop Inset Grid Images"
}
},
"515": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-idle-1",
"images": [
"513:441:275",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"516": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-idle-2",
"images": [
"513:465:275",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"517": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-idle-3",
"images": [
"513:469:275",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"518": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-idle-4",
"images": [
"513:470:275",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"519": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/ComfyUI-idle_animation",
"format": "auto",
"format.codec": "auto",
"video": [
"511:450",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"525": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 16
},
"_meta": {
"title": "Crop Inset Grid Images"
}
},
"526": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-walk-1",
"images": [
"524:441:275",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"527": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-walk-2",
"images": [
"524:465:275",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"528": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-walk-3",
"images": [
"524:469:275",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"529": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-walk-4",
"images": [
"524:470:275",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"530": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/ComfyUI-walk_animation",
"format": "auto",
"format.codec": "auto",
"video": [
"522:450",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"488:449": {
"class_type": "BatchImagesNode",
"inputs": {
"images.image0": [
"488:452",
0
],
"images.image1": [
"488:453",
0
],
"images.image2": [
"488:454",
0
],
"images.image3": [
"488:455",
0
]
},
"_meta": {
"title": "Batch Images"
}
},
"488:450": {
"class_type": "CreateVideo",
"inputs": {
"bit_depth": "auto",
"codec": "none",
"color_space": "sRGB",
"fps": 8,
"images": [
"488:449",
0
]
},
"_meta": {
"title": "Create Video"
}
},
"488:452": {
"class_type": "RepeatImageBatch",
"inputs": {
"amount": 2,
"image": [
"490:470:275",
0
]
},
"_meta": {
"title": "Repeat Image Batch"
}
},
"488:453": {
"class_type": "RepeatImageBatch",
"inputs": {
"amount": 2,
"image": [
"490:441:275",
0
]
},
"_meta": {
"title": "Repeat Image Batch"
}
},
"488:454": {
"class_type": "RepeatImageBatch",
"inputs": {
"amount": 2,
"image": [
"490:465:275",
0
]
},
"_meta": {
"title": "Repeat Image Batch"
}
},
"488:455": {
"class_type": "RepeatImageBatch",
"inputs": {
"amount": 2,
"image": [
"490:469:275",
0
]
},
"_meta": {
"title": "Repeat Image Batch"
}
},
"489:10": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"489:16",
0
],
"image": [
"142",
0
],
"width": [
"489:15",
0
],
"x": [
"489:24",
0
],
"y": [
"489:12",
0
]
},
"_meta": {
"title": "3"
}
},
"489:11": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"489:16",
0
],
"image": [
"142",
0
],
"width": [
"489:15",
0
],
"x": [
"489:13",
0
],
"y": [
"489:12",
0
]
},
"_meta": {
"title": "4"
}
},
"489:12": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"489:16",
0
],
"b": [
"489:14",
0
],
"value": "a + (b/1)"
},
"_meta": {
"title": "Row 2 - Y val"
}
},
"489:13": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"489:15",
0
],
"b": [
"489:14",
0
],
"value": "a + (b/1)"
},
"_meta": {
"title": "Col 2 - X val"
}
},
"489:14": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"485",
0
],
"b": 0,
"value": "a"
},
"_meta": {
"title": "Crop Inset Grid Images Value"
}
},
"489:15": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"489:17",
0
],
"b": [
"489:14",
0
],
"value": "(a-2*b) / 2"
},
"_meta": {
"title": "WIDTH"
}
},
"489:16": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"489:17",
1
],
"b": [
"489:14",
0
],
"value": "(a-2*b) / 2"
},
"_meta": {
"title": "HEIGHT"
}
},
"489:17": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"142",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"489:19": {
"class_type": "ImageBatchMulti",
"inputs": {
"image_1": [
"489:8",
0
],
"image_2": [
"489:9",
0
],
"image_3": [
"489:10",
0
],
"image_4": [
"489:11",
0
],
"inputcount": 4
},
"_meta": {
"title": "Image Batch Multi"
}
},
"489:20": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"489:22",
0
],
"image": [
"489:19",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"489:23",
0
]
},
"_meta": {
"title": "Resize Images"
}
},
"489:21": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"489:20",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"489:22": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"489:17",
1
],
"b": 0,
"value": "(a) / 2"
},
"_meta": {
"title": "HEIGHT / 2"
}
},
"489:23": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"489:17",
0
],
"b": 0,
"value": "(a) / 2"
},
"_meta": {
"title": "WIDTH / 2"
}
},
"489:24": {
"class_type": "SimpleMath+",
"inputs": {
"a": 0,
"b": [
"489:14",
0
],
"value": "b/2"
},
"_meta": {
"title": "Col 1 - X val"
}
},
"489:28": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 0,
"image": [
"489:20",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"489:29": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 1,
"image": [
"489:20",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"489:30": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 2,
"image": [
"489:20",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"489:31": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 3,
"image": [
"489:20",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"489:35": {
"class_type": "SplitImageWithAlpha",
"inputs": {
"image": [
"489:28",
0
]
},
"_meta": {
"title": "Split Image with Alpha"
}
},
"489:36": {
"class_type": "SplitImageWithAlpha",
"inputs": {
"image": [
"489:29",
0
]
},
"_meta": {
"title": "Split Image with Alpha"
}
},
"489:37": {
"class_type": "SplitImageWithAlpha",
"inputs": {
"image": [
"489:30",
0
]
},
"_meta": {
"title": "Split Image with Alpha"
}
},
"489:38": {
"class_type": "SplitImageWithAlpha",
"inputs": {
"image": [
"489:31",
0
]
},
"_meta": {
"title": "Split Image with Alpha"
}
},
"489:4": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"489:8",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"489:5": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"489:9",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"489:6": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"489:10",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"489:7": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"489:11",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"489:8": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"489:16",
0
],
"image": [
"142",
0
],
"width": [
"489:15",
0
],
"x": [
"489:24",
0
],
"y": [
"489:24",
0
]
},
"_meta": {
"title": "1"
}
},
"489:9": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"489:16",
0
],
"image": [
"142",
0
],
"width": [
"489:15",
0
],
"x": [
"489:13",
0
],
"y": 0
},
"_meta": {
"title": "2"
}
},
"490:441:163": {
"class_type": "ColorToMask",
"inputs": {
"blue": 0,
"green": 255,
"images": [
"489:35",
0
],
"invert": False,
"per_batch": 1,
"red": 0,
"threshold": 100
},
"_meta": {
"title": "Color To Mask"
}
},
"490:441:166": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"489:35",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"490:441:168": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"490:441:163",
0
]
},
"_meta": {
"title": "Invert Mask"
}
},
"490:441:170": {
"class_type": "CropMask",
"inputs": {
"height": [
"490:441:166",
1
],
"mask": [
"490:441:163",
0
],
"width": [
"490:441:166",
0
],
"x": [
"490:441:178",
2
],
"y": [
"490:441:178",
3
]
},
"_meta": {
"title": "Crop Mask"
}
},
"490:441:175": {
"class_type": "LayerUtility: ColorImage V2",
"inputs": {
"color": "#00FF00",
"custom_height": [
"490:441:166",
1
],
"custom_width": [
"490:441:166",
0
],
"size": "custom"
},
"_meta": {
"title": "LayerUtility: ColorImage V2"
}
},
"490:441:177": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"489:35",
0
],
"mask": [
"490:441:163",
0
],
"resize_source": False,
"source": [
"490:441:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"490:441:178": {
"class_type": "MaskBoundingBox+",
"inputs": {
"blur": 0,
"mask": [
"490:441:168",
0
],
"padding": 0
},
"_meta": {
"title": "🔧 Mask Bounding Box"
}
},
"490:441:236": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"490:441:238",
1
],
"image": [
"490:441:177",
0
],
"width": [
"490:441:238",
0
],
"x": [
"490:441:178",
2
],
"y": [
"490:441:178",
3
]
},
"_meta": {
"title": "Crop Image (DEPRECATED)"
}
},
"490:441:238": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"490:441:175",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"490:441:244": {
"class_type": "ImagePadForOutpaintMasked",
"inputs": {
"bottom": [
"490:441:249",
0
],
"feathering": 0,
"image": [
"490:441:236",
0
],
"left": [
"490:441:248",
0
],
"right": [
"490:441:248",
0
],
"top": [
"490:441:249",
0
]
},
"_meta": {
"title": "Image Pad For Outpaint Masked"
}
},
"490:441:247": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"490:441:236",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"490:441:248": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"490:441:166",
0
],
"b": [
"490:441:247",
0
],
"value": "(a-b) / 2"
},
"_meta": {
"title": "pixels to add left/right"
}
},
"490:441:249": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"490:441:166",
1
],
"b": [
"490:441:247",
1
],
"value": "(a-b) / 2"
},
"_meta": {
"title": "pixels to add top/bot"
}
},
"490:441:250": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"490:441:244",
0
],
"mask": [
"490:441:244",
1
],
"resize_source": True,
"source": [
"490:441:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"490:441:275": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"490:441:238",
1
],
"image": [
"490:441:250",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"490:441:238",
0
]
},
"_meta": {
"title": "Resize Image v2"
}
},
"490:465:163": {
"class_type": "ColorToMask",
"inputs": {
"blue": 0,
"green": 255,
"images": [
"489:36",
0
],
"invert": False,
"per_batch": 1,
"red": 0,
"threshold": 100
},
"_meta": {
"title": "Color To Mask"
}
},
"490:465:166": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"489:36",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"490:465:168": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"490:465:163",
0
]
},
"_meta": {
"title": "Invert Mask"
}
},
"490:465:170": {
"class_type": "CropMask",
"inputs": {
"height": [
"490:465:166",
1
],
"mask": [
"490:465:163",
0
],
"width": [
"490:465:166",
0
],
"x": [
"490:465:178",
2
],
"y": [
"490:465:178",
3
]
},
"_meta": {
"title": "Crop Mask"
}
},
"490:465:175": {
"class_type": "LayerUtility: ColorImage V2",
"inputs": {
"color": "#00FF00",
"custom_height": [
"490:465:166",
1
],
"custom_width": [
"490:465:166",
0
],
"size": "custom"
},
"_meta": {
"title": "LayerUtility: ColorImage V2"
}
},
"490:465:177": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"489:36",
0
],
"mask": [
"490:465:163",
0
],
"resize_source": False,
"source": [
"490:465:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"490:465:178": {
"class_type": "MaskBoundingBox+",
"inputs": {
"blur": 0,
"mask": [
"490:465:168",
0
],
"padding": 0
},
"_meta": {
"title": "🔧 Mask Bounding Box"
}
},
"490:465:236": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"490:465:238",
1
],
"image": [
"490:465:177",
0
],
"width": [
"490:465:238",
0
],
"x": [
"490:465:178",
2
],
"y": [
"490:465:178",
3
]
},
"_meta": {
"title": "Crop Image (DEPRECATED)"
}
},
"490:465:238": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"490:465:175",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"490:465:244": {
"class_type": "ImagePadForOutpaintMasked",
"inputs": {
"bottom": [
"490:441:249",
0
],
"feathering": 0,
"image": [
"490:465:236",
0
],
"left": [
"490:441:248",
0
],
"right": [
"490:441:248",
0
],
"top": [
"490:441:249",
0
]
},
"_meta": {
"title": "Image Pad For Outpaint Masked"
}
},
"490:465:247": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"490:465:236",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"490:465:250": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"490:465:244",
0
],
"mask": [
"490:465:244",
1
],
"resize_source": True,
"source": [
"490:465:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"490:465:275": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"490:465:238",
1
],
"image": [
"490:465:250",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"490:465:238",
0
]
},
"_meta": {
"title": "Resize Image v2"
}
},
"490:469:163": {
"class_type": "ColorToMask",
"inputs": {
"blue": 0,
"green": 255,
"images": [
"489:37",
0
],
"invert": False,
"per_batch": 1,
"red": 0,
"threshold": 100
},
"_meta": {
"title": "Color To Mask"
}
},
"490:469:166": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"489:37",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"490:469:168": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"490:469:163",
0
]
},
"_meta": {
"title": "Invert Mask"
}
},
"490:469:170": {
"class_type": "CropMask",
"inputs": {
"height": [
"490:469:166",
1
],
"mask": [
"490:469:163",
0
],
"width": [
"490:469:166",
0
],
"x": [
"490:469:178",
2
],
"y": [
"490:469:178",
3
]
},
"_meta": {
"title": "Crop Mask"
}
},
"490:469:175": {
"class_type": "LayerUtility: ColorImage V2",
"inputs": {
"color": "#00FF00",
"custom_height": [
"490:469:166",
1
],
"custom_width": [
"490:469:166",
0
],
"size": "custom"
},
"_meta": {
"title": "LayerUtility: ColorImage V2"
}
},
"490:469:177": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"489:37",
0
],
"mask": [
"490:469:163",
0
],
"resize_source": False,
"source": [
"490:469:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"490:469:178": {
"class_type": "MaskBoundingBox+",
"inputs": {
"blur": 0,
"mask": [
"490:469:168",
0
],
"padding": 0
},
"_meta": {
"title": "🔧 Mask Bounding Box"
}
},
"490:469:236": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"490:469:238",
1
],
"image": [
"490:469:177",
0
],
"width": [
"490:469:238",
0
],
"x": [
"490:469:178",
2
],
"y": [
"490:469:178",
3
]
},
"_meta": {
"title": "Crop Image (DEPRECATED)"
}
},
"490:469:238": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"490:469:175",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"490:469:244": {
"class_type": "ImagePadForOutpaintMasked",
"inputs": {
"bottom": [
"490:441:249",
0
],
"feathering": 0,
"image": [
"490:469:236",
0
],
"left": [
"490:441:248",
0
],
"right": [
"490:441:248",
0
],
"top": [
"490:441:249",
0
]
},
"_meta": {
"title": "Image Pad For Outpaint Masked"
}
},
"490:469:247": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"490:469:236",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"490:469:250": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"490:469:244",
0
],
"mask": [
"490:469:244",
1
],
"resize_source": True,
"source": [
"490:469:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"490:469:275": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"490:469:238",
1
],
"image": [
"490:469:250",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"490:469:238",
0
]
},
"_meta": {
"title": "Resize Image v2"
}
},
"490:470:163": {
"class_type": "ColorToMask",
"inputs": {
"blue": 0,
"green": 255,
"images": [
"489:38",
0
],
"invert": False,
"per_batch": 1,
"red": 0,
"threshold": 100
},
"_meta": {
"title": "Color To Mask"
}
},
"490:470:166": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"489:38",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"490:470:168": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"490:470:163",
0
]
},
"_meta": {
"title": "Invert Mask"
}
},
"490:470:170": {
"class_type": "CropMask",
"inputs": {
"height": [
"490:470:166",
1
],
"mask": [
"490:470:163",
0
],
"width": [
"490:470:166",
0
],
"x": [
"490:470:178",
2
],
"y": [
"490:470:178",
3
]
},
"_meta": {
"title": "Crop Mask"
}
},
"490:470:175": {
"class_type": "LayerUtility: ColorImage V2",
"inputs": {
"color": "#00FF00",
"custom_height": [
"490:470:166",
1
],
"custom_width": [
"490:470:166",
0
],
"size": "custom"
},
"_meta": {
"title": "LayerUtility: ColorImage V2"
}
},
"490:470:177": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"489:38",
0
],
"mask": [
"490:470:163",
0
],
"resize_source": False,
"source": [
"490:470:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"490:470:178": {
"class_type": "MaskBoundingBox+",
"inputs": {
"blur": 0,
"mask": [
"490:470:168",
0
],
"padding": 0
},
"_meta": {
"title": "🔧 Mask Bounding Box"
}
},
"490:470:236": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"490:470:238",
1
],
"image": [
"490:470:177",
0
],
"width": [
"490:470:238",
0
],
"x": [
"490:470:178",
2
],
"y": [
"490:470:178",
3
]
},
"_meta": {
"title": "Crop Image (DEPRECATED)"
}
},
"490:470:238": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"490:470:175",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"490:470:244": {
"class_type": "ImagePadForOutpaintMasked",
"inputs": {
"bottom": [
"490:441:249",
0
],
"feathering": 0,
"image": [
"490:470:236",
0
],
"left": [
"490:441:248",
0
],
"right": [
"490:441:248",
0
],
"top": [
"490:441:249",
0
]
},
"_meta": {
"title": "Image Pad For Outpaint Masked"
}
},
"490:470:247": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"490:470:236",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"490:470:250": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"490:470:244",
0
],
"mask": [
"490:470:244",
1
],
"resize_source": True,
"source": [
"490:470:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"490:470:275": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"490:470:238",
1
],
"image": [
"490:470:250",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"490:470:238",
0
]
},
"_meta": {
"title": "Resize Image v2"
}
},
"501:449": {
"class_type": "BatchImagesNode",
"inputs": {
"images.image0": [
"501:452",
0
],
"images.image1": [
"501:453",
0
],
"images.image2": [
"501:454",
0
],
"images.image3": [
"501:455",
0
]
},
"_meta": {
"title": "Batch Images"
}
},
"501:450": {
"class_type": "CreateVideo",
"inputs": {
"bit_depth": "auto",
"codec": "none",
"color_space": "sRGB",
"fps": 8,
"images": [
"501:449",
0
]
},
"_meta": {
"title": "Create Video"
}
},
"501:452": {
"class_type": "RepeatImageBatch",
"inputs": {
"amount": 2,
"image": [
"508:470:275",
0
]
},
"_meta": {
"title": "Repeat Image Batch"
}
},
"501:453": {
"class_type": "RepeatImageBatch",
"inputs": {
"amount": 2,
"image": [
"508:441:275",
0
]
},
"_meta": {
"title": "Repeat Image Batch"
}
},
"501:454": {
"class_type": "RepeatImageBatch",
"inputs": {
"amount": 2,
"image": [
"508:465:275",
0
]
},
"_meta": {
"title": "Repeat Image Batch"
}
},
"501:455": {
"class_type": "RepeatImageBatch",
"inputs": {
"amount": 2,
"image": [
"508:469:275",
0
]
},
"_meta": {
"title": "Repeat Image Batch"
}
},
"502:10": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"502:16",
0
],
"image": [
"43",
0
],
"width": [
"502:15",
0
],
"x": [
"502:24",
0
],
"y": [
"502:12",
0
]
},
"_meta": {
"title": "3"
}
},
"502:11": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"502:16",
0
],
"image": [
"43",
0
],
"width": [
"502:15",
0
],
"x": [
"502:13",
0
],
"y": [
"502:12",
0
]
},
"_meta": {
"title": "4"
}
},
"502:12": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"502:16",
0
],
"b": [
"502:14",
0
],
"value": "a + (b/1)"
},
"_meta": {
"title": "Row 2 - Y val"
}
},
"502:13": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"502:15",
0
],
"b": [
"502:14",
0
],
"value": "a + (b/1)"
},
"_meta": {
"title": "Col 2 - X val"
}
},
"502:14": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"498",
0
],
"b": 0,
"value": "a"
},
"_meta": {
"title": "Crop Inset Grid Images Value"
}
},
"502:15": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"502:17",
0
],
"b": [
"502:14",
0
],
"value": "(a-2*b) / 2"
},
"_meta": {
"title": "WIDTH"
}
},
"502:16": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"502:17",
1
],
"b": [
"502:14",
0
],
"value": "(a-2*b) / 2"
},
"_meta": {
"title": "HEIGHT"
}
},
"502:17": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"43",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"502:19": {
"class_type": "ImageBatchMulti",
"inputs": {
"image_1": [
"502:8",
0
],
"image_2": [
"502:9",
0
],
"image_3": [
"502:10",
0
],
"image_4": [
"502:11",
0
],
"inputcount": 4
},
"_meta": {
"title": "Image Batch Multi"
}
},
"502:20": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"502:22",
0
],
"image": [
"502:19",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"502:23",
0
]
},
"_meta": {
"title": "Resize Images"
}
},
"502:21": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"502:20",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"502:22": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"502:17",
1
],
"b": 0,
"value": "(a) / 2"
},
"_meta": {
"title": "HEIGHT / 2"
}
},
"502:23": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"502:17",
0
],
"b": 0,
"value": "(a) / 2"
},
"_meta": {
"title": "WIDTH / 2"
}
},
"502:24": {
"class_type": "SimpleMath+",
"inputs": {
"a": 0,
"b": [
"502:14",
0
],
"value": "b/2"
},
"_meta": {
"title": "Col 1 - X val"
}
},
"502:28": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 0,
"image": [
"502:20",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"502:29": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 1,
"image": [
"502:20",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"502:30": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 2,
"image": [
"502:20",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"502:31": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 3,
"image": [
"502:20",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"502:35": {
"class_type": "SplitImageWithAlpha",
"inputs": {
"image": [
"502:28",
0
]
},
"_meta": {
"title": "Split Image with Alpha"
}
},
"502:36": {
"class_type": "SplitImageWithAlpha",
"inputs": {
"image": [
"502:29",
0
]
},
"_meta": {
"title": "Split Image with Alpha"
}
},
"502:37": {
"class_type": "SplitImageWithAlpha",
"inputs": {
"image": [
"502:30",
0
]
},
"_meta": {
"title": "Split Image with Alpha"
}
},
"502:38": {
"class_type": "SplitImageWithAlpha",
"inputs": {
"image": [
"502:31",
0
]
},
"_meta": {
"title": "Split Image with Alpha"
}
},
"502:4": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"502:8",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"502:5": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"502:9",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"502:6": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"502:10",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"502:7": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"502:11",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"502:8": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"502:16",
0
],
"image": [
"43",
0
],
"width": [
"502:15",
0
],
"x": [
"502:24",
0
],
"y": [
"502:24",
0
]
},
"_meta": {
"title": "1"
}
},
"502:9": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"502:16",
0
],
"image": [
"43",
0
],
"width": [
"502:15",
0
],
"x": [
"502:13",
0
],
"y": 0
},
"_meta": {
"title": "2"
}
},
"508:441:163": {
"class_type": "ColorToMask",
"inputs": {
"blue": 0,
"green": 255,
"images": [
"502:35",
0
],
"invert": False,
"per_batch": 1,
"red": 0,
"threshold": 100
},
"_meta": {
"title": "Color To Mask"
}
},
"508:441:166": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"502:35",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"508:441:168": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"508:441:163",
0
]
},
"_meta": {
"title": "Invert Mask"
}
},
"508:441:170": {
"class_type": "CropMask",
"inputs": {
"height": [
"508:441:166",
1
],
"mask": [
"508:441:163",
0
],
"width": [
"508:441:166",
0
],
"x": [
"508:441:178",
2
],
"y": [
"508:441:178",
3
]
},
"_meta": {
"title": "Crop Mask"
}
},
"508:441:175": {
"class_type": "LayerUtility: ColorImage V2",
"inputs": {
"color": "#00FF00",
"custom_height": [
"508:441:166",
1
],
"custom_width": [
"508:441:166",
0
],
"size": "custom"
},
"_meta": {
"title": "LayerUtility: ColorImage V2"
}
},
"508:441:177": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"502:35",
0
],
"mask": [
"508:441:163",
0
],
"resize_source": False,
"source": [
"508:441:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"508:441:178": {
"class_type": "MaskBoundingBox+",
"inputs": {
"blur": 0,
"mask": [
"508:441:168",
0
],
"padding": 0
},
"_meta": {
"title": "🔧 Mask Bounding Box"
}
},
"508:441:236": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"508:441:238",
1
],
"image": [
"508:441:177",
0
],
"width": [
"508:441:238",
0
],
"x": [
"508:441:178",
2
],
"y": [
"508:441:178",
3
]
},
"_meta": {
"title": "Crop Image (DEPRECATED)"
}
},
"508:441:238": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"508:441:175",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"508:441:244": {
"class_type": "ImagePadForOutpaintMasked",
"inputs": {
"bottom": [
"508:441:249",
0
],
"feathering": 0,
"image": [
"508:441:236",
0
],
"left": [
"508:441:248",
0
],
"right": [
"508:441:248",
0
],
"top": [
"508:441:249",
0
]
},
"_meta": {
"title": "Image Pad For Outpaint Masked"
}
},
"508:441:247": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"508:441:236",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"508:441:248": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"508:441:166",
0
],
"b": [
"508:441:247",
0
],
"value": "(a-b) / 2"
},
"_meta": {
"title": "pixels to add left/right"
}
},
"508:441:249": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"508:441:166",
1
],
"b": [
"508:441:247",
1
],
"value": "(a-b) / 2"
},
"_meta": {
"title": "pixels to add top/bot"
}
},
"508:441:250": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"508:441:244",
0
],
"mask": [
"508:441:244",
1
],
"resize_source": True,
"source": [
"508:441:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"508:441:275": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"508:441:238",
1
],
"image": [
"508:441:250",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"508:441:238",
0
]
},
"_meta": {
"title": "Resize Image v2"
}
},
"508:465:163": {
"class_type": "ColorToMask",
"inputs": {
"blue": 0,
"green": 255,
"images": [
"502:36",
0
],
"invert": False,
"per_batch": 1,
"red": 0,
"threshold": 100
},
"_meta": {
"title": "Color To Mask"
}
},
"508:465:166": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"502:36",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"508:465:168": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"508:465:163",
0
]
},
"_meta": {
"title": "Invert Mask"
}
},
"508:465:170": {
"class_type": "CropMask",
"inputs": {
"height": [
"508:465:166",
1
],
"mask": [
"508:465:163",
0
],
"width": [
"508:465:166",
0
],
"x": [
"508:465:178",
2
],
"y": [
"508:465:178",
3
]
},
"_meta": {
"title": "Crop Mask"
}
},
"508:465:175": {
"class_type": "LayerUtility: ColorImage V2",
"inputs": {
"color": "#00FF00",
"custom_height": [
"508:465:166",
1
],
"custom_width": [
"508:465:166",
0
],
"size": "custom"
},
"_meta": {
"title": "LayerUtility: ColorImage V2"
}
},
"508:465:177": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"502:36",
0
],
"mask": [
"508:465:163",
0
],
"resize_source": False,
"source": [
"508:465:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"508:465:178": {
"class_type": "MaskBoundingBox+",
"inputs": {
"blur": 0,
"mask": [
"508:465:168",
0
],
"padding": 0
},
"_meta": {
"title": "🔧 Mask Bounding Box"
}
},
"508:465:236": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"508:465:238",
1
],
"image": [
"508:465:177",
0
],
"width": [
"508:465:238",
0
],
"x": [
"508:465:178",
2
],
"y": [
"508:465:178",
3
]
},
"_meta": {
"title": "Crop Image (DEPRECATED)"
}
},
"508:465:238": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"508:465:175",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"508:465:244": {
"class_type": "ImagePadForOutpaintMasked",
"inputs": {
"bottom": [
"508:441:249",
0
],
"feathering": 0,
"image": [
"508:465:236",
0
],
"left": [
"508:441:248",
0
],
"right": [
"508:441:248",
0
],
"top": [
"508:441:249",
0
]
},
"_meta": {
"title": "Image Pad For Outpaint Masked"
}
},
"508:465:247": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"508:465:236",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"508:465:250": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"508:465:244",
0
],
"mask": [
"508:465:244",
1
],
"resize_source": True,
"source": [
"508:465:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"508:465:275": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"508:465:238",
1
],
"image": [
"508:465:250",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"508:465:238",
0
]
},
"_meta": {
"title": "Resize Image v2"
}
},
"508:469:163": {
"class_type": "ColorToMask",
"inputs": {
"blue": 0,
"green": 255,
"images": [
"502:37",
0
],
"invert": False,
"per_batch": 1,
"red": 0,
"threshold": 100
},
"_meta": {
"title": "Color To Mask"
}
},
"508:469:166": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"502:37",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"508:469:168": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"508:469:163",
0
]
},
"_meta": {
"title": "Invert Mask"
}
},
"508:469:170": {
"class_type": "CropMask",
"inputs": {
"height": [
"508:469:166",
1
],
"mask": [
"508:469:163",
0
],
"width": [
"508:469:166",
0
],
"x": [
"508:469:178",
2
],
"y": [
"508:469:178",
3
]
},
"_meta": {
"title": "Crop Mask"
}
},
"508:469:175": {
"class_type": "LayerUtility: ColorImage V2",
"inputs": {
"color": "#00FF00",
"custom_height": [
"508:469:166",
1
],
"custom_width": [
"508:469:166",
0
],
"size": "custom"
},
"_meta": {
"title": "LayerUtility: ColorImage V2"
}
},
"508:469:177": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"502:37",
0
],
"mask": [
"508:469:163",
0
],
"resize_source": False,
"source": [
"508:469:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"508:469:178": {
"class_type": "MaskBoundingBox+",
"inputs": {
"blur": 0,
"mask": [
"508:469:168",
0
],
"padding": 0
},
"_meta": {
"title": "🔧 Mask Bounding Box"
}
},
"508:469:236": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"508:469:238",
1
],
"image": [
"508:469:177",
0
],
"width": [
"508:469:238",
0
],
"x": [
"508:469:178",
2
],
"y": [
"508:469:178",
3
]
},
"_meta": {
"title": "Crop Image (DEPRECATED)"
}
},
"508:469:238": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"508:469:175",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"508:469:244": {
"class_type": "ImagePadForOutpaintMasked",
"inputs": {
"bottom": [
"508:441:249",
0
],
"feathering": 0,
"image": [
"508:469:236",
0
],
"left": [
"508:441:248",
0
],
"right": [
"508:441:248",
0
],
"top": [
"508:441:249",
0
]
},
"_meta": {
"title": "Image Pad For Outpaint Masked"
}
},
"508:469:247": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"508:469:236",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"508:469:250": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"508:469:244",
0
],
"mask": [
"508:469:244",
1
],
"resize_source": True,
"source": [
"508:469:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"508:469:275": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"508:469:238",
1
],
"image": [
"508:469:250",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"508:469:238",
0
]
},
"_meta": {
"title": "Resize Image v2"
}
},
"508:470:163": {
"class_type": "ColorToMask",
"inputs": {
"blue": 0,
"green": 255,
"images": [
"502:38",
0
],
"invert": False,
"per_batch": 1,
"red": 0,
"threshold": 100
},
"_meta": {
"title": "Color To Mask"
}
},
"508:470:166": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"502:38",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"508:470:168": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"508:470:163",
0
]
},
"_meta": {
"title": "Invert Mask"
}
},
"508:470:170": {
"class_type": "CropMask",
"inputs": {
"height": [
"508:470:166",
1
],
"mask": [
"508:470:163",
0
],
"width": [
"508:470:166",
0
],
"x": [
"508:470:178",
2
],
"y": [
"508:470:178",
3
]
},
"_meta": {
"title": "Crop Mask"
}
},
"508:470:175": {
"class_type": "LayerUtility: ColorImage V2",
"inputs": {
"color": "#00FF00",
"custom_height": [
"508:470:166",
1
],
"custom_width": [
"508:470:166",
0
],
"size": "custom"
},
"_meta": {
"title": "LayerUtility: ColorImage V2"
}
},
"508:470:177": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"502:38",
0
],
"mask": [
"508:470:163",
0
],
"resize_source": False,
"source": [
"508:470:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"508:470:178": {
"class_type": "MaskBoundingBox+",
"inputs": {
"blur": 0,
"mask": [
"508:470:168",
0
],
"padding": 0
},
"_meta": {
"title": "🔧 Mask Bounding Box"
}
},
"508:470:236": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"508:470:238",
1
],
"image": [
"508:470:177",
0
],
"width": [
"508:470:238",
0
],
"x": [
"508:470:178",
2
],
"y": [
"508:470:178",
3
]
},
"_meta": {
"title": "Crop Image (DEPRECATED)"
}
},
"508:470:238": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"508:470:175",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"508:470:244": {
"class_type": "ImagePadForOutpaintMasked",
"inputs": {
"bottom": [
"508:441:249",
0
],
"feathering": 0,
"image": [
"508:470:236",
0
],
"left": [
"508:441:248",
0
],
"right": [
"508:441:248",
0
],
"top": [
"508:441:249",
0
]
},
"_meta": {
"title": "Image Pad For Outpaint Masked"
}
},
"508:470:247": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"508:470:236",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"508:470:250": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"508:470:244",
0
],
"mask": [
"508:470:244",
1
],
"resize_source": True,
"source": [
"508:470:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"508:470:275": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"508:470:238",
1
],
"image": [
"508:470:250",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"508:470:238",
0
]
},
"_meta": {
"title": "Resize Image v2"
}
},
"511:449": {
"class_type": "BatchImagesNode",
"inputs": {
"images.image0": [
"511:452",
0
],
"images.image1": [
"511:453",
0
],
"images.image2": [
"511:454",
0
],
"images.image3": [
"511:455",
0
]
},
"_meta": {
"title": "Batch Images"
}
},
"511:450": {
"class_type": "CreateVideo",
"inputs": {
"bit_depth": "auto",
"codec": "none",
"color_space": "sRGB",
"fps": 8,
"images": [
"511:449",
0
]
},
"_meta": {
"title": "Create Video"
}
},
"511:452": {
"class_type": "RepeatImageBatch",
"inputs": {
"amount": 2,
"image": [
"513:470:275",
0
]
},
"_meta": {
"title": "Repeat Image Batch"
}
},
"511:453": {
"class_type": "RepeatImageBatch",
"inputs": {
"amount": 2,
"image": [
"513:441:275",
0
]
},
"_meta": {
"title": "Repeat Image Batch"
}
},
"511:454": {
"class_type": "RepeatImageBatch",
"inputs": {
"amount": 2,
"image": [
"513:465:275",
0
]
},
"_meta": {
"title": "Repeat Image Batch"
}
},
"511:455": {
"class_type": "RepeatImageBatch",
"inputs": {
"amount": 2,
"image": [
"513:469:275",
0
]
},
"_meta": {
"title": "Repeat Image Batch"
}
},
"512:10": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"512:16",
0
],
"image": [
"41",
0
],
"width": [
"512:15",
0
],
"x": [
"512:24",
0
],
"y": [
"512:12",
0
]
},
"_meta": {
"title": "3"
}
},
"512:11": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"512:16",
0
],
"image": [
"41",
0
],
"width": [
"512:15",
0
],
"x": [
"512:13",
0
],
"y": [
"512:12",
0
]
},
"_meta": {
"title": "4"
}
},
"512:12": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"512:16",
0
],
"b": [
"512:14",
0
],
"value": "a + (b/1)"
},
"_meta": {
"title": "Row 2 - Y val"
}
},
"512:13": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"512:15",
0
],
"b": [
"512:14",
0
],
"value": "a + (b/1)"
},
"_meta": {
"title": "Col 2 - X val"
}
},
"512:14": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"514",
0
],
"b": 0,
"value": "a"
},
"_meta": {
"title": "Crop Inset Grid Images Value"
}
},
"512:15": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"512:17",
0
],
"b": [
"512:14",
0
],
"value": "(a-2*b) / 2"
},
"_meta": {
"title": "WIDTH"
}
},
"512:16": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"512:17",
1
],
"b": [
"512:14",
0
],
"value": "(a-2*b) / 2"
},
"_meta": {
"title": "HEIGHT"
}
},
"512:17": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"41",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"512:19": {
"class_type": "ImageBatchMulti",
"inputs": {
"image_1": [
"512:8",
0
],
"image_2": [
"512:9",
0
],
"image_3": [
"512:10",
0
],
"image_4": [
"512:11",
0
],
"inputcount": 4
},
"_meta": {
"title": "Image Batch Multi"
}
},
"512:20": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"512:22",
0
],
"image": [
"512:19",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"512:23",
0
]
},
"_meta": {
"title": "Resize Images"
}
},
"512:21": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"512:20",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"512:22": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"512:17",
1
],
"b": 0,
"value": "(a) / 2"
},
"_meta": {
"title": "HEIGHT / 2"
}
},
"512:23": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"512:17",
0
],
"b": 0,
"value": "(a) / 2"
},
"_meta": {
"title": "WIDTH / 2"
}
},
"512:24": {
"class_type": "SimpleMath+",
"inputs": {
"a": 0,
"b": [
"512:14",
0
],
"value": "b/2"
},
"_meta": {
"title": "Col 1 - X val"
}
},
"512:28": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 0,
"image": [
"512:20",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"512:29": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 1,
"image": [
"512:20",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"512:30": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 2,
"image": [
"512:20",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"512:31": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 3,
"image": [
"512:20",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"512:35": {
"class_type": "SplitImageWithAlpha",
"inputs": {
"image": [
"512:28",
0
]
},
"_meta": {
"title": "Split Image with Alpha"
}
},
"512:36": {
"class_type": "SplitImageWithAlpha",
"inputs": {
"image": [
"512:29",
0
]
},
"_meta": {
"title": "Split Image with Alpha"
}
},
"512:37": {
"class_type": "SplitImageWithAlpha",
"inputs": {
"image": [
"512:30",
0
]
},
"_meta": {
"title": "Split Image with Alpha"
}
},
"512:38": {
"class_type": "SplitImageWithAlpha",
"inputs": {
"image": [
"512:31",
0
]
},
"_meta": {
"title": "Split Image with Alpha"
}
},
"512:4": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"512:8",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"512:5": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"512:9",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"512:6": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"512:10",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"512:7": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"512:11",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"512:8": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"512:16",
0
],
"image": [
"41",
0
],
"width": [
"512:15",
0
],
"x": [
"512:24",
0
],
"y": [
"512:24",
0
]
},
"_meta": {
"title": "1"
}
},
"512:9": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"512:16",
0
],
"image": [
"41",
0
],
"width": [
"512:15",
0
],
"x": [
"512:13",
0
],
"y": 0
},
"_meta": {
"title": "2"
}
},
"513:441:163": {
"class_type": "ColorToMask",
"inputs": {
"blue": 0,
"green": 255,
"images": [
"512:35",
0
],
"invert": False,
"per_batch": 1,
"red": 0,
"threshold": 100
},
"_meta": {
"title": "Color To Mask"
}
},
"513:441:166": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"512:35",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"513:441:168": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"513:441:163",
0
]
},
"_meta": {
"title": "Invert Mask"
}
},
"513:441:170": {
"class_type": "CropMask",
"inputs": {
"height": [
"513:441:166",
1
],
"mask": [
"513:441:163",
0
],
"width": [
"513:441:166",
0
],
"x": [
"513:441:178",
2
],
"y": [
"513:441:178",
3
]
},
"_meta": {
"title": "Crop Mask"
}
},
"513:441:175": {
"class_type": "LayerUtility: ColorImage V2",
"inputs": {
"color": "#00FF00",
"custom_height": [
"513:441:166",
1
],
"custom_width": [
"513:441:166",
0
],
"size": "custom"
},
"_meta": {
"title": "LayerUtility: ColorImage V2"
}
},
"513:441:177": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"512:35",
0
],
"mask": [
"513:441:163",
0
],
"resize_source": False,
"source": [
"513:441:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"513:441:178": {
"class_type": "MaskBoundingBox+",
"inputs": {
"blur": 0,
"mask": [
"513:441:168",
0
],
"padding": 0
},
"_meta": {
"title": "🔧 Mask Bounding Box"
}
},
"513:441:236": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"513:441:238",
1
],
"image": [
"513:441:177",
0
],
"width": [
"513:441:238",
0
],
"x": [
"513:441:178",
2
],
"y": [
"513:441:178",
3
]
},
"_meta": {
"title": "Crop Image (DEPRECATED)"
}
},
"513:441:238": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"513:441:175",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"513:441:244": {
"class_type": "ImagePadForOutpaintMasked",
"inputs": {
"bottom": [
"513:441:249",
0
],
"feathering": 0,
"image": [
"513:441:236",
0
],
"left": [
"513:441:248",
0
],
"right": [
"513:441:248",
0
],
"top": [
"513:441:249",
0
]
},
"_meta": {
"title": "Image Pad For Outpaint Masked"
}
},
"513:441:247": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"513:441:236",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"513:441:248": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"513:441:166",
0
],
"b": [
"513:441:247",
0
],
"value": "(a-b) / 2"
},
"_meta": {
"title": "pixels to add left/right"
}
},
"513:441:249": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"513:441:166",
1
],
"b": [
"513:441:247",
1
],
"value": "(a-b) / 2"
},
"_meta": {
"title": "pixels to add top/bot"
}
},
"513:441:250": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"513:441:244",
0
],
"mask": [
"513:441:244",
1
],
"resize_source": True,
"source": [
"513:441:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"513:441:275": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"513:441:238",
1
],
"image": [
"513:441:250",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"513:441:238",
0
]
},
"_meta": {
"title": "Resize Image v2"
}
},
"513:465:163": {
"class_type": "ColorToMask",
"inputs": {
"blue": 0,
"green": 255,
"images": [
"512:36",
0
],
"invert": False,
"per_batch": 1,
"red": 0,
"threshold": 100
},
"_meta": {
"title": "Color To Mask"
}
},
"513:465:166": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"512:36",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"513:465:168": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"513:465:163",
0
]
},
"_meta": {
"title": "Invert Mask"
}
},
"513:465:170": {
"class_type": "CropMask",
"inputs": {
"height": [
"513:465:166",
1
],
"mask": [
"513:465:163",
0
],
"width": [
"513:465:166",
0
],
"x": [
"513:465:178",
2
],
"y": [
"513:465:178",
3
]
},
"_meta": {
"title": "Crop Mask"
}
},
"513:465:175": {
"class_type": "LayerUtility: ColorImage V2",
"inputs": {
"color": "#00FF00",
"custom_height": [
"513:465:166",
1
],
"custom_width": [
"513:465:166",
0
],
"size": "custom"
},
"_meta": {
"title": "LayerUtility: ColorImage V2"
}
},
"513:465:177": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"512:36",
0
],
"mask": [
"513:465:163",
0
],
"resize_source": False,
"source": [
"513:465:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"513:465:178": {
"class_type": "MaskBoundingBox+",
"inputs": {
"blur": 0,
"mask": [
"513:465:168",
0
],
"padding": 0
},
"_meta": {
"title": "🔧 Mask Bounding Box"
}
},
"513:465:236": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"513:465:238",
1
],
"image": [
"513:465:177",
0
],
"width": [
"513:465:238",
0
],
"x": [
"513:465:178",
2
],
"y": [
"513:465:178",
3
]
},
"_meta": {
"title": "Crop Image (DEPRECATED)"
}
},
"513:465:238": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"513:465:175",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"513:465:244": {
"class_type": "ImagePadForOutpaintMasked",
"inputs": {
"bottom": [
"513:441:249",
0
],
"feathering": 0,
"image": [
"513:465:236",
0
],
"left": [
"513:441:248",
0
],
"right": [
"513:441:248",
0
],
"top": [
"513:441:249",
0
]
},
"_meta": {
"title": "Image Pad For Outpaint Masked"
}
},
"513:465:247": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"513:465:236",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"513:465:250": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"513:465:244",
0
],
"mask": [
"513:465:244",
1
],
"resize_source": True,
"source": [
"513:465:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"513:465:275": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"513:465:238",
1
],
"image": [
"513:465:250",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"513:465:238",
0
]
},
"_meta": {
"title": "Resize Image v2"
}
},
"513:469:163": {
"class_type": "ColorToMask",
"inputs": {
"blue": 0,
"green": 255,
"images": [
"512:37",
0
],
"invert": False,
"per_batch": 1,
"red": 0,
"threshold": 100
},
"_meta": {
"title": "Color To Mask"
}
},
"513:469:166": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"512:37",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"513:469:168": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"513:469:163",
0
]
},
"_meta": {
"title": "Invert Mask"
}
},
"513:469:170": {
"class_type": "CropMask",
"inputs": {
"height": [
"513:469:166",
1
],
"mask": [
"513:469:163",
0
],
"width": [
"513:469:166",
0
],
"x": [
"513:469:178",
2
],
"y": [
"513:469:178",
3
]
},
"_meta": {
"title": "Crop Mask"
}
},
"513:469:175": {
"class_type": "LayerUtility: ColorImage V2",
"inputs": {
"color": "#00FF00",
"custom_height": [
"513:469:166",
1
],
"custom_width": [
"513:469:166",
0
],
"size": "custom"
},
"_meta": {
"title": "LayerUtility: ColorImage V2"
}
},
"513:469:177": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"512:37",
0
],
"mask": [
"513:469:163",
0
],
"resize_source": False,
"source": [
"513:469:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"513:469:178": {
"class_type": "MaskBoundingBox+",
"inputs": {
"blur": 0,
"mask": [
"513:469:168",
0
],
"padding": 0
},
"_meta": {
"title": "🔧 Mask Bounding Box"
}
},
"513:469:236": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"513:469:238",
1
],
"image": [
"513:469:177",
0
],
"width": [
"513:469:238",
0
],
"x": [
"513:469:178",
2
],
"y": [
"513:469:178",
3
]
},
"_meta": {
"title": "Crop Image (DEPRECATED)"
}
},
"513:469:238": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"513:469:175",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"513:469:244": {
"class_type": "ImagePadForOutpaintMasked",
"inputs": {
"bottom": [
"513:441:249",
0
],
"feathering": 0,
"image": [
"513:469:236",
0
],
"left": [
"513:441:248",
0
],
"right": [
"513:441:248",
0
],
"top": [
"513:441:249",
0
]
},
"_meta": {
"title": "Image Pad For Outpaint Masked"
}
},
"513:469:247": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"513:469:236",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"513:469:250": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"513:469:244",
0
],
"mask": [
"513:469:244",
1
],
"resize_source": True,
"source": [
"513:469:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"513:469:275": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"513:469:238",
1
],
"image": [
"513:469:250",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"513:469:238",
0
]
},
"_meta": {
"title": "Resize Image v2"
}
},
"513:470:163": {
"class_type": "ColorToMask",
"inputs": {
"blue": 0,
"green": 255,
"images": [
"512:38",
0
],
"invert": False,
"per_batch": 1,
"red": 0,
"threshold": 100
},
"_meta": {
"title": "Color To Mask"
}
},
"513:470:166": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"512:38",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"513:470:168": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"513:470:163",
0
]
},
"_meta": {
"title": "Invert Mask"
}
},
"513:470:170": {
"class_type": "CropMask",
"inputs": {
"height": [
"513:470:166",
1
],
"mask": [
"513:470:163",
0
],
"width": [
"513:470:166",
0
],
"x": [
"513:470:178",
2
],
"y": [
"513:470:178",
3
]
},
"_meta": {
"title": "Crop Mask"
}
},
"513:470:175": {
"class_type": "LayerUtility: ColorImage V2",
"inputs": {
"color": "#00FF00",
"custom_height": [
"513:470:166",
1
],
"custom_width": [
"513:470:166",
0
],
"size": "custom"
},
"_meta": {
"title": "LayerUtility: ColorImage V2"
}
},
"513:470:177": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"512:38",
0
],
"mask": [
"513:470:163",
0
],
"resize_source": False,
"source": [
"513:470:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"513:470:178": {
"class_type": "MaskBoundingBox+",
"inputs": {
"blur": 0,
"mask": [
"513:470:168",
0
],
"padding": 0
},
"_meta": {
"title": "🔧 Mask Bounding Box"
}
},
"513:470:236": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"513:470:238",
1
],
"image": [
"513:470:177",
0
],
"width": [
"513:470:238",
0
],
"x": [
"513:470:178",
2
],
"y": [
"513:470:178",
3
]
},
"_meta": {
"title": "Crop Image (DEPRECATED)"
}
},
"513:470:238": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"513:470:175",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"513:470:244": {
"class_type": "ImagePadForOutpaintMasked",
"inputs": {
"bottom": [
"513:441:249",
0
],
"feathering": 0,
"image": [
"513:470:236",
0
],
"left": [
"513:441:248",
0
],
"right": [
"513:441:248",
0
],
"top": [
"513:441:249",
0
]
},
"_meta": {
"title": "Image Pad For Outpaint Masked"
}
},
"513:470:247": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"513:470:236",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"513:470:250": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"513:470:244",
0
],
"mask": [
"513:470:244",
1
],
"resize_source": True,
"source": [
"513:470:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"513:470:275": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"513:470:238",
1
],
"image": [
"513:470:250",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"513:470:238",
0
]
},
"_meta": {
"title": "Resize Image v2"
}
},
"522:449": {
"class_type": "BatchImagesNode",
"inputs": {
"images.image0": [
"522:452",
0
],
"images.image1": [
"522:453",
0
],
"images.image2": [
"522:454",
0
],
"images.image3": [
"522:455",
0
]
},
"_meta": {
"title": "Batch Images"
}
},
"522:450": {
"class_type": "CreateVideo",
"inputs": {
"bit_depth": "auto",
"codec": "none",
"color_space": "sRGB",
"fps": 8,
"images": [
"522:449",
0
]
},
"_meta": {
"title": "Create Video"
}
},
"522:452": {
"class_type": "RepeatImageBatch",
"inputs": {
"amount": 2,
"image": [
"524:470:275",
0
]
},
"_meta": {
"title": "Repeat Image Batch"
}
},
"522:453": {
"class_type": "RepeatImageBatch",
"inputs": {
"amount": 2,
"image": [
"524:441:275",
0
]
},
"_meta": {
"title": "Repeat Image Batch"
}
},
"522:454": {
"class_type": "RepeatImageBatch",
"inputs": {
"amount": 2,
"image": [
"524:465:275",
0
]
},
"_meta": {
"title": "Repeat Image Batch"
}
},
"522:455": {
"class_type": "RepeatImageBatch",
"inputs": {
"amount": 2,
"image": [
"524:469:275",
0
]
},
"_meta": {
"title": "Repeat Image Batch"
}
},
"523:10": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"523:16",
0
],
"image": [
"38",
0
],
"width": [
"523:15",
0
],
"x": [
"523:24",
0
],
"y": [
"523:12",
0
]
},
"_meta": {
"title": "3"
}
},
"523:11": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"523:16",
0
],
"image": [
"38",
0
],
"width": [
"523:15",
0
],
"x": [
"523:13",
0
],
"y": [
"523:12",
0
]
},
"_meta": {
"title": "4"
}
},
"523:12": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"523:16",
0
],
"b": [
"523:14",
0
],
"value": "a + (b/1)"
},
"_meta": {
"title": "Row 2 - Y val"
}
},
"523:13": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"523:15",
0
],
"b": [
"523:14",
0
],
"value": "a + (b/1)"
},
"_meta": {
"title": "Col 2 - X val"
}
},
"523:14": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"525",
0
],
"b": 0,
"value": "a"
},
"_meta": {
"title": "Crop Inset Grid Images Value"
}
},
"523:15": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"523:17",
0
],
"b": [
"523:14",
0
],
"value": "(a-2*b) / 2"
},
"_meta": {
"title": "WIDTH"
}
},
"523:16": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"523:17",
1
],
"b": [
"523:14",
0
],
"value": "(a-2*b) / 2"
},
"_meta": {
"title": "HEIGHT"
}
},
"523:17": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"38",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"523:19": {
"class_type": "ImageBatchMulti",
"inputs": {
"image_1": [
"523:8",
0
],
"image_2": [
"523:9",
0
],
"image_3": [
"523:10",
0
],
"image_4": [
"523:11",
0
],
"inputcount": 4
},
"_meta": {
"title": "Image Batch Multi"
}
},
"523:20": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"523:22",
0
],
"image": [
"523:19",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"523:23",
0
]
},
"_meta": {
"title": "Resize Images"
}
},
"523:21": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"523:20",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"523:22": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"523:17",
1
],
"b": 0,
"value": "(a) / 2"
},
"_meta": {
"title": "HEIGHT / 2"
}
},
"523:23": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"523:17",
0
],
"b": 0,
"value": "(a) / 2"
},
"_meta": {
"title": "WIDTH / 2"
}
},
"523:24": {
"class_type": "SimpleMath+",
"inputs": {
"a": 0,
"b": [
"523:14",
0
],
"value": "b/2"
},
"_meta": {
"title": "Col 1 - X val"
}
},
"523:28": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 0,
"image": [
"523:20",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"523:29": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 1,
"image": [
"523:20",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"523:30": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 2,
"image": [
"523:20",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"523:31": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 3,
"image": [
"523:20",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"523:35": {
"class_type": "SplitImageWithAlpha",
"inputs": {
"image": [
"523:28",
0
]
},
"_meta": {
"title": "Split Image with Alpha"
}
},
"523:36": {
"class_type": "SplitImageWithAlpha",
"inputs": {
"image": [
"523:29",
0
]
},
"_meta": {
"title": "Split Image with Alpha"
}
},
"523:37": {
"class_type": "SplitImageWithAlpha",
"inputs": {
"image": [
"523:30",
0
]
},
"_meta": {
"title": "Split Image with Alpha"
}
},
"523:38": {
"class_type": "SplitImageWithAlpha",
"inputs": {
"image": [
"523:31",
0
]
},
"_meta": {
"title": "Split Image with Alpha"
}
},
"523:4": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"523:8",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"523:5": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"523:9",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"523:6": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"523:10",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"523:7": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"523:11",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"523:8": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"523:16",
0
],
"image": [
"38",
0
],
"width": [
"523:15",
0
],
"x": [
"523:24",
0
],
"y": [
"523:24",
0
]
},
"_meta": {
"title": "1"
}
},
"523:9": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"523:16",
0
],
"image": [
"38",
0
],
"width": [
"523:15",
0
],
"x": [
"523:13",
0
],
"y": 0
},
"_meta": {
"title": "2"
}
},
"524:441:163": {
"class_type": "ColorToMask",
"inputs": {
"blue": 0,
"green": 255,
"images": [
"523:35",
0
],
"invert": False,
"per_batch": 1,
"red": 0,
"threshold": 100
},
"_meta": {
"title": "Color To Mask"
}
},
"524:441:166": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"523:35",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"524:441:168": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"524:441:163",
0
]
},
"_meta": {
"title": "Invert Mask"
}
},
"524:441:170": {
"class_type": "CropMask",
"inputs": {
"height": [
"524:441:166",
1
],
"mask": [
"524:441:163",
0
],
"width": [
"524:441:166",
0
],
"x": [
"524:441:178",
2
],
"y": [
"524:441:178",
3
]
},
"_meta": {
"title": "Crop Mask"
}
},
"524:441:175": {
"class_type": "LayerUtility: ColorImage V2",
"inputs": {
"color": "#00FF00",
"custom_height": [
"524:441:166",
1
],
"custom_width": [
"524:441:166",
0
],
"size": "custom"
},
"_meta": {
"title": "LayerUtility: ColorImage V2"
}
},
"524:441:177": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"523:35",
0
],
"mask": [
"524:441:163",
0
],
"resize_source": False,
"source": [
"524:441:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"524:441:178": {
"class_type": "MaskBoundingBox+",
"inputs": {
"blur": 0,
"mask": [
"524:441:168",
0
],
"padding": 0
},
"_meta": {
"title": "🔧 Mask Bounding Box"
}
},
"524:441:236": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"524:441:238",
1
],
"image": [
"524:441:177",
0
],
"width": [
"524:441:238",
0
],
"x": [
"524:441:178",
2
],
"y": [
"524:441:178",
3
]
},
"_meta": {
"title": "Crop Image (DEPRECATED)"
}
},
"524:441:238": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"524:441:175",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"524:441:244": {
"class_type": "ImagePadForOutpaintMasked",
"inputs": {
"bottom": [
"524:441:249",
0
],
"feathering": 0,
"image": [
"524:441:236",
0
],
"left": [
"524:441:248",
0
],
"right": [
"524:441:248",
0
],
"top": [
"524:441:249",
0
]
},
"_meta": {
"title": "Image Pad For Outpaint Masked"
}
},
"524:441:247": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"524:441:236",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"524:441:248": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"524:441:166",
0
],
"b": [
"524:441:247",
0
],
"value": "(a-b) / 2"
},
"_meta": {
"title": "pixels to add left/right"
}
},
"524:441:249": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"524:441:166",
1
],
"b": [
"524:441:247",
1
],
"value": "(a-b) / 2"
},
"_meta": {
"title": "pixels to add top/bot"
}
},
"524:441:250": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"524:441:244",
0
],
"mask": [
"524:441:244",
1
],
"resize_source": True,
"source": [
"524:441:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"524:441:275": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"524:441:238",
1
],
"image": [
"524:441:250",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"524:441:238",
0
]
},
"_meta": {
"title": "Resize Image v2"
}
},
"524:465:163": {
"class_type": "ColorToMask",
"inputs": {
"blue": 0,
"green": 255,
"images": [
"523:36",
0
],
"invert": False,
"per_batch": 1,
"red": 0,
"threshold": 100
},
"_meta": {
"title": "Color To Mask"
}
},
"524:465:166": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"523:36",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"524:465:168": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"524:465:163",
0
]
},
"_meta": {
"title": "Invert Mask"
}
},
"524:465:170": {
"class_type": "CropMask",
"inputs": {
"height": [
"524:465:166",
1
],
"mask": [
"524:465:163",
0
],
"width": [
"524:465:166",
0
],
"x": [
"524:465:178",
2
],
"y": [
"524:465:178",
3
]
},
"_meta": {
"title": "Crop Mask"
}
},
"524:465:175": {
"class_type": "LayerUtility: ColorImage V2",
"inputs": {
"color": "#00FF00",
"custom_height": [
"524:465:166",
1
],
"custom_width": [
"524:465:166",
0
],
"size": "custom"
},
"_meta": {
"title": "LayerUtility: ColorImage V2"
}
},
"524:465:177": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"523:36",
0
],
"mask": [
"524:465:163",
0
],
"resize_source": False,
"source": [
"524:465:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"524:465:178": {
"class_type": "MaskBoundingBox+",
"inputs": {
"blur": 0,
"mask": [
"524:465:168",
0
],
"padding": 0
},
"_meta": {
"title": "🔧 Mask Bounding Box"
}
},
"524:465:236": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"524:465:238",
1
],
"image": [
"524:465:177",
0
],
"width": [
"524:465:238",
0
],
"x": [
"524:465:178",
2
],
"y": [
"524:465:178",
3
]
},
"_meta": {
"title": "Crop Image (DEPRECATED)"
}
},
"524:465:238": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"524:465:175",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"524:465:244": {
"class_type": "ImagePadForOutpaintMasked",
"inputs": {
"bottom": [
"524:441:249",
0
],
"feathering": 0,
"image": [
"524:465:236",
0
],
"left": [
"524:441:248",
0
],
"right": [
"524:441:248",
0
],
"top": [
"524:441:249",
0
]
},
"_meta": {
"title": "Image Pad For Outpaint Masked"
}
},
"524:465:247": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"524:465:236",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"524:465:250": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"524:465:244",
0
],
"mask": [
"524:465:244",
1
],
"resize_source": True,
"source": [
"524:465:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"524:465:275": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"524:465:238",
1
],
"image": [
"524:465:250",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"524:465:238",
0
]
},
"_meta": {
"title": "Resize Image v2"
}
},
"524:469:163": {
"class_type": "ColorToMask",
"inputs": {
"blue": 0,
"green": 255,
"images": [
"523:37",
0
],
"invert": False,
"per_batch": 1,
"red": 0,
"threshold": 100
},
"_meta": {
"title": "Color To Mask"
}
},
"524:469:166": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"523:37",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"524:469:168": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"524:469:163",
0
]
},
"_meta": {
"title": "Invert Mask"
}
},
"524:469:170": {
"class_type": "CropMask",
"inputs": {
"height": [
"524:469:166",
1
],
"mask": [
"524:469:163",
0
],
"width": [
"524:469:166",
0
],
"x": [
"524:469:178",
2
],
"y": [
"524:469:178",
3
]
},
"_meta": {
"title": "Crop Mask"
}
},
"524:469:175": {
"class_type": "LayerUtility: ColorImage V2",
"inputs": {
"color": "#00FF00",
"custom_height": [
"524:469:166",
1
],
"custom_width": [
"524:469:166",
0
],
"size": "custom"
},
"_meta": {
"title": "LayerUtility: ColorImage V2"
}
},
"524:469:177": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"523:37",
0
],
"mask": [
"524:469:163",
0
],
"resize_source": False,
"source": [
"524:469:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"524:469:178": {
"class_type": "MaskBoundingBox+",
"inputs": {
"blur": 0,
"mask": [
"524:469:168",
0
],
"padding": 0
},
"_meta": {
"title": "🔧 Mask Bounding Box"
}
},
"524:469:236": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"524:469:238",
1
],
"image": [
"524:469:177",
0
],
"width": [
"524:469:238",
0
],
"x": [
"524:469:178",
2
],
"y": [
"524:469:178",
3
]
},
"_meta": {
"title": "Crop Image (DEPRECATED)"
}
},
"524:469:238": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"524:469:175",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"524:469:244": {
"class_type": "ImagePadForOutpaintMasked",
"inputs": {
"bottom": [
"524:441:249",
0
],
"feathering": 0,
"image": [
"524:469:236",
0
],
"left": [
"524:441:248",
0
],
"right": [
"524:441:248",
0
],
"top": [
"524:441:249",
0
]
},
"_meta": {
"title": "Image Pad For Outpaint Masked"
}
},
"524:469:247": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"524:469:236",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"524:469:250": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"524:469:244",
0
],
"mask": [
"524:469:244",
1
],
"resize_source": True,
"source": [
"524:469:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"524:469:275": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"524:469:238",
1
],
"image": [
"524:469:250",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"524:469:238",
0
]
},
"_meta": {
"title": "Resize Image v2"
}
},
"524:470:163": {
"class_type": "ColorToMask",
"inputs": {
"blue": 0,
"green": 255,
"images": [
"523:38",
0
],
"invert": False,
"per_batch": 1,
"red": 0,
"threshold": 100
},
"_meta": {
"title": "Color To Mask"
}
},
"524:470:166": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"523:38",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"524:470:168": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"524:470:163",
0
]
},
"_meta": {
"title": "Invert Mask"
}
},
"524:470:170": {
"class_type": "CropMask",
"inputs": {
"height": [
"524:470:166",
1
],
"mask": [
"524:470:163",
0
],
"width": [
"524:470:166",
0
],
"x": [
"524:470:178",
2
],
"y": [
"524:470:178",
3
]
},
"_meta": {
"title": "Crop Mask"
}
},
"524:470:175": {
"class_type": "LayerUtility: ColorImage V2",
"inputs": {
"color": "#00FF00",
"custom_height": [
"524:470:166",
1
],
"custom_width": [
"524:470:166",
0
],
"size": "custom"
},
"_meta": {
"title": "LayerUtility: ColorImage V2"
}
},
"524:470:177": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"523:38",
0
],
"mask": [
"524:470:163",
0
],
"resize_source": False,
"source": [
"524:470:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"524:470:178": {
"class_type": "MaskBoundingBox+",
"inputs": {
"blur": 0,
"mask": [
"524:470:168",
0
],
"padding": 0
},
"_meta": {
"title": "🔧 Mask Bounding Box"
}
},
"524:470:236": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"524:470:238",
1
],
"image": [
"524:470:177",
0
],
"width": [
"524:470:238",
0
],
"x": [
"524:470:178",
2
],
"y": [
"524:470:178",
3
]
},
"_meta": {
"title": "Crop Image (DEPRECATED)"
}
},
"524:470:238": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"524:470:175",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"524:470:244": {
"class_type": "ImagePadForOutpaintMasked",
"inputs": {
"bottom": [
"524:441:249",
0
],
"feathering": 0,
"image": [
"524:470:236",
0
],
"left": [
"524:441:248",
0
],
"right": [
"524:441:248",
0
],
"top": [
"524:441:249",
0
]
},
"_meta": {
"title": "Image Pad For Outpaint Masked"
}
},
"524:470:247": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"524:470:236",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"524:470:250": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"524:470:244",
0
],
"mask": [
"524:470:244",
1
],
"resize_source": True,
"source": [
"524:470:175",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"524:470:275": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"524:470:238",
1
],
"image": [
"524:470:250",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "nearest-exact",
"width": [
"524:470:238",
0
]
},
"_meta": {
"title": "Resize Image v2"
}
}
})
workflow.set_input("1", "image", client.assets.from_url("https://comfy.org/catalog-media/c77f8d7a-77f2-4319-9cae-85e14da2886c/5babf8b8-4959-4e06-a65a-c383281321c0"))
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)
for output in job.get_outputs("491"):
output.to_file(output.name)
for output in job.get_outputs("480"):
output.to_file(output.name)
for output in job.get_outputs("42"):
output.to_file(output.name)
for output in job.get_outputs("37"):
output.to_file(output.name)
for output in job.get_outputs("496"):
output.to_file(output.name)
for output in job.get_outputs("506"):
output.to_file(output.name)
for output in job.get_outputs("519"):
output.to_file(output.name)
for output in job.get_outputs("530"):
output.to_file(output.name)
for output in job.get_outputs("492"):
output.to_file(output.name)
for output in job.get_outputs("493"):
output.to_file(output.name)
for output in job.get_outputs("494"):
output.to_file(output.name)
for output in job.get_outputs("495"):
output.to_file(output.name)
for output in job.get_outputs("503"):
output.to_file(output.name)
for output in job.get_outputs("504"):
output.to_file(output.name)
for output in job.get_outputs("505"):
output.to_file(output.name)
for output in job.get_outputs("507"):
output.to_file(output.name)
for output in job.get_outputs("515"):
output.to_file(output.name)
for output in job.get_outputs("516"):
output.to_file(output.name)
for output in job.get_outputs("517"):
output.to_file(output.name)
for output in job.get_outputs("518"):
output.to_file(output.name)
for output in job.get_outputs("526"):
output.to_file(output.name)
for output in job.get_outputs("527"):
output.to_file(output.name)
for output in job.get_outputs("528"):
output.to_file(output.name)
for output in job.get_outputs("529"):
output.to_file(output.name)Probar un ejemplo
Acerca de este flujo de trabajo
El flujo de trabajo Generador de Sprite Sheet en ComfyUI está diseñado para transformar una sola imagen de sprite en un conjunto completo de fotogramas de animación, incluyendo secuencias de idle, ataque, caminar y salto. Este flujo utiliza nodos avanzados como LoadImage, GeminiImage2Node y BatchImagesNode para procesar y segmentar eficientemente el sprite en fotogramas individuales. Aprovechando modelos como Google y Nano Banana Pro, el flujo asegura una salida de alta calidad adecuada para diversas necesidades de animación. Nodos personalizados como comfyui-kjnodes y comfyui_layerstyle mejoran aún más el flujo al proporcionar capacidades de procesamiento especializadas.
Técnicamente, el flujo comienza cargando la imagen del sprite con el nodo LoadImage. Luego procesa la imagen a través de una serie de nodos que incluyen PrimitiveInt y PrimitiveNode para ajustes de parámetros, asegurando que el sprite se segmente correctamente en fotogramas. Nodos como e6bcb358-3fee-47eb-8c25-30eeee20d90e y 79dc3651-3ca7-4d1d-9246-9a951b834ab9 son críticos para definir las secuencias de animación, mientras que SaveImage y SaveVideo manejan la salida de fotogramas individuales y animaciones compiladas. Este flujo es especialmente útil para desarrolladores de videojuegos y animadores que necesitan generar rápidamente animaciones de sprites sin editar manualmente cada fotograma.
Preguntas y respuestas
El flujo admite formatos de imagen comunes como PNG, JPEG y BMP para la carga de sprites.
Sí, puedes ajustar los parámetros usando PrimitiveInt y PrimitiveNode para personalizar la segmentación de fotogramas y las secuencias de animación.
Usa el nodo SaveImage para exportar fotogramas individuales y el nodo SaveVideo para compilar y exportar la animación completa.
Sí, el flujo es capaz de manejar sprites de alta resolución, asegurando animaciones detalladas y de calidad.
Flujos de trabajo relacionados
- Nano Banana Pro Image Edit
Character Turnaround Sheet Generator
- Nano Banana Pro, Gemini3 Pro Image Preview, Google
Create a character turnaround
- Qwen-Image-Edit
Change a material
- Qwen-Image-Edit
See your subject from a new angle
- Flux.2 Dev, Flux
Create a product mockup
- Nano Banana Pro
Try an outfit on a character
- Seedream
Put your product in a new scene
- SSeedVR2
Upscale and restore detail
- Nano Banana Pro
Sharpen a product photo
- Topaz
Upscale an illustration
- HHitPaw
Restore portrait detail
- FLUX.1 Fill
Edit a selected region