Graphic Color Remixer
Upload a graphic and generate 4, 9 or 16 unique variations in your desired vibe and color palette with a single Nano Banana Pro generation.
简介
Graphic Color Remixer is a compact ComfyUI workflow that takes a single input graphic and produces 4, 9, or 16 colorway variations based on your chosen vibe and palette. It’s designed for fast exploration of themes without changing the original layout—perfect for logos, icons, posters, packaging, or UI mockups where geometry must remain intact.
Technically, the pipeline is minimal and efficient: LoadImage imports your source graphic, which is passed into a custom node that handles the remixing. This node packages your palette and “vibe” settings and issues a single call to the Nano Banana Pro API, then expands that single generation into multiple palette-driven outputs in one pass. SaveImage writes each variation to disk.
你需要提供
- 正在读取工作流
在 ComfyUI 中运行。 此工作流无法在本页面运行。你可以在 Comfy Cloud 中打开(已预先加载所需内容),或下载后在自己的 ComfyUI 中使用。
在 Cloud 中试用试试一个示例
查看工作流内部
节点图的只读预览。在 Comfy Cloud 中打开或下载后即可编辑节点。
Loading the graph
Open full-size workflow preview- 作者
- Rob
需要自定义节点
- 正在读取工作流
通过代码使用此工作流
尽可能根据工作流图和输入自动生成代码,否则显示已保存的示例。运行代码可能产生费用,请先核对凭据和端点。
What you need
- Runs on
- Comfy Cloud
- 密钥
- COMFY_API_KEY
需要付费的 Cloud 方案和额度。
# 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({
"5001": {
"class_type": "LoadImage",
"inputs": {
"image": "a49747fc512ec7b188134f2686d48e9f86b1d893a23df133ea72d94137ff4a8e.png"
},
"_meta": {
"title": "Load Image"
}
},
"5003": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-tiles",
"images": [
"5002:2032",
0
]
},
"_meta": {
"title": "Save Tiles"
}
},
"5002:2001": {
"class_type": "CustomCombo",
"inputs": {
"choice": "4x4"
},
"_meta": {
"title": "grid_size"
}
},
"5002:2006": {
"class_type": "StringCompare",
"inputs": {
"case_sensitive": False,
"mode": "Starts With",
"string_a": [
"5002:2001",
0
],
"string_b": "2x2"
},
"_meta": {
"title": "is \"2x2\"?"
}
},
"5002:2007": {
"class_type": "StringCompare",
"inputs": {
"case_sensitive": False,
"mode": "Starts With",
"string_a": [
"5002:2001",
0
],
"string_b": "3x3"
},
"_meta": {
"title": "is \"3x3\"?"
}
},
"5002:2009": {
"class_type": "ImageScaleToTotalPixels",
"inputs": {
"image": [
"5001",
0
],
"megapixels": 1,
"resolution_steps": 1,
"upscale_method": "nearest-exact"
},
"_meta": {
"title": "Scale Input"
}
},
"5002:2010:1": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2009",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row0 stitch0"
}
},
"5002:2010:2": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2009",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row1 stitch0"
}
},
"5002:2010:3": {
"class_type": "ImageStitch",
"inputs": {
"direction": "down",
"image1": [
"5002:2010:1",
0
],
"image2": [
"5002:2010:2",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "col stitch0"
}
},
"5002:2011:101": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2009",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row0 stitch0"
}
},
"5002:2011:102": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2011:101",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row0 stitch1"
}
},
"5002:2011:103": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2009",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row1 stitch0"
}
},
"5002:2011:104": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2011:103",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row1 stitch1"
}
},
"5002:2011:105": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2009",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row2 stitch0"
}
},
"5002:2011:106": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2011:105",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row2 stitch1"
}
},
"5002:2011:107": {
"class_type": "ImageStitch",
"inputs": {
"direction": "down",
"image1": [
"5002:2011:102",
0
],
"image2": [
"5002:2011:104",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "col stitch0"
}
},
"5002:2011:108": {
"class_type": "ImageStitch",
"inputs": {
"direction": "down",
"image1": [
"5002:2011:107",
0
],
"image2": [
"5002:2011:106",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "col stitch1"
}
},
"5002:2012:251": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2009",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row0 stitch0"
}
},
"5002:2012:252": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2012:251",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row0 stitch1"
}
},
"5002:2012:253": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2012:252",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row0 stitch2"
}
},
"5002:2012:254": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2009",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row1 stitch0"
}
},
"5002:2012:255": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2012:254",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row1 stitch1"
}
},
"5002:2012:256": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2012:255",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row1 stitch2"
}
},
"5002:2012:257": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2009",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row2 stitch0"
}
},
"5002:2012:258": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2012:257",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row2 stitch1"
}
},
"5002:2012:259": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2012:258",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row2 stitch2"
}
},
"5002:2012:260": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2009",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row3 stitch0"
}
},
"5002:2012:261": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2012:260",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row3 stitch1"
}
},
"5002:2012:262": {
"class_type": "ImageStitch",
"inputs": {
"direction": "right",
"image1": [
"5002:2012:261",
0
],
"image2": [
"5002:2009",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "row3 stitch2"
}
},
"5002:2012:263": {
"class_type": "ImageStitch",
"inputs": {
"direction": "down",
"image1": [
"5002:2012:253",
0
],
"image2": [
"5002:2012:256",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "col stitch0"
}
},
"5002:2012:264": {
"class_type": "ImageStitch",
"inputs": {
"direction": "down",
"image1": [
"5002:2012:263",
0
],
"image2": [
"5002:2012:259",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "col stitch1"
}
},
"5002:2012:265": {
"class_type": "ImageStitch",
"inputs": {
"direction": "down",
"image1": [
"5002:2012:264",
0
],
"image2": [
"5002:2012:262",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "col stitch2"
}
},
"5002:2013": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"5002:2012:265",
0
],
"on_true": [
"5002:2011:108",
0
],
"switch": [
"5002:2007",
0
]
},
"_meta": {
"title": "stitch 3v4"
}
},
"5002:2014": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"5002:2013",
0
],
"on_true": [
"5002:2010:3",
0
],
"switch": [
"5002:2006",
0
]
},
"_meta": {
"title": "stitch final"
}
},
"5002:2015": {
"class_type": "ResizeImageMaskNode",
"inputs": {
"input": [
"5002:2014",
0
],
"resize_type": "scale longer dimension",
"resize_type.longer_size": 4096,
"scale_method": "lanczos"
},
"_meta": {
"title": "Resize 2048"
}
},
"5002:2016": {
"class_type": "RegexReplace",
"inputs": {
"case_insensitive": True,
"count": 0,
"dotall": False,
"multiline": False,
"regex_pattern": "{grid_size}",
"replace": [
"5002:2001",
0
],
"string": [
"5002:5012",
0
]
},
"_meta": {
"title": "Replace {aspect_ratio}"
}
},
"5002:2017": {
"class_type": "GeminiImage2Node",
"inputs": {
"aspect_ratio": "auto",
"images": [
"5002:2015",
0
],
"model": "Nano Banana 2 (Gemini 3.1 Flash Image)",
"prompt": [
"5002:2016",
0
],
"resolution": "4K",
"response_modalities": "IMAGE+TEXT",
"seed": 545823223985451,
"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"
}
},
"5002:2020:501": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"5002:2017",
0
]
},
"_meta": {
"title": "Get Size"
}
},
"5002:2020:502": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"5002:2020:501",
0
],
"b": 0,
"value": "a/2"
},
"_meta": {
"title": "W/2"
}
},
"5002:2020:503": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"5002:2020:501",
1
],
"b": 0,
"value": "a/2"
},
"_meta": {
"title": "H/2"
}
},
"5002:2020:504": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"5002:2020:501",
0
],
"b": 0,
"value": "a/2*1"
},
"_meta": {
"title": "x col 1"
}
},
"5002:2020:505": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"5002:2020:501",
1
],
"b": 0,
"value": "a/2*1"
},
"_meta": {
"title": "y row 1"
}
},
"5002:2020:506": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2020:503",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2020:502",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "[0,0]"
}
},
"5002:2020:507": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2020:503",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2020:502",
0
],
"x": [
"5002:2020:504",
0
],
"y": 0
},
"_meta": {
"title": "[0,1]"
}
},
"5002:2020:508": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2020:503",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2020:502",
0
],
"x": 0,
"y": [
"5002:2020:505",
0
]
},
"_meta": {
"title": "[1,0]"
}
},
"5002:2020:509": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2020:503",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2020:502",
0
],
"x": [
"5002:2020:504",
0
],
"y": [
"5002:2020:505",
0
]
},
"_meta": {
"title": "[1,1]"
}
},
"5002:2020:510": {
"class_type": "ImageBatchMulti",
"inputs": {
"image_1": [
"5002:2020:506",
0
],
"image_2": [
"5002:2020:507",
0
],
"image_3": [
"5002:2020:508",
0
],
"image_4": [
"5002:2020:509",
0
],
"inputcount": 4
},
"_meta": {
"title": "Batch 2x2"
}
},
"5002:2021:701": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"5002:2017",
0
]
},
"_meta": {
"title": "Get Size"
}
},
"5002:2021:702": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"5002:2021:701",
0
],
"b": 0,
"value": "a/3"
},
"_meta": {
"title": "W/3"
}
},
"5002:2021:703": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"5002:2021:701",
1
],
"b": 0,
"value": "a/3"
},
"_meta": {
"title": "H/3"
}
},
"5002:2021:704": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"5002:2021:701",
0
],
"b": 0,
"value": "a/3*1"
},
"_meta": {
"title": "x col 1"
}
},
"5002:2021:705": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"5002:2021:701",
0
],
"b": 0,
"value": "a/3*2"
},
"_meta": {
"title": "x col 2"
}
},
"5002:2021:706": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"5002:2021:701",
1
],
"b": 0,
"value": "a/3*1"
},
"_meta": {
"title": "y row 1"
}
},
"5002:2021:707": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"5002:2021:701",
1
],
"b": 0,
"value": "a/3*2"
},
"_meta": {
"title": "y row 2"
}
},
"5002:2021:708": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2021:703",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2021:702",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "[0,0]"
}
},
"5002:2021:709": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2021:703",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2021:702",
0
],
"x": [
"5002:2021:704",
0
],
"y": 0
},
"_meta": {
"title": "[0,1]"
}
},
"5002:2021:710": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2021:703",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2021:702",
0
],
"x": [
"5002:2021:705",
0
],
"y": 0
},
"_meta": {
"title": "[0,2]"
}
},
"5002:2021:711": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2021:703",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2021:702",
0
],
"x": 0,
"y": [
"5002:2021:706",
0
]
},
"_meta": {
"title": "[1,0]"
}
},
"5002:2021:712": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2021:703",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2021:702",
0
],
"x": [
"5002:2021:704",
0
],
"y": [
"5002:2021:706",
0
]
},
"_meta": {
"title": "[1,1]"
}
},
"5002:2021:713": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2021:703",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2021:702",
0
],
"x": [
"5002:2021:705",
0
],
"y": [
"5002:2021:706",
0
]
},
"_meta": {
"title": "[1,2]"
}
},
"5002:2021:714": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2021:703",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2021:702",
0
],
"x": 0,
"y": [
"5002:2021:707",
0
]
},
"_meta": {
"title": "[2,0]"
}
},
"5002:2021:715": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2021:703",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2021:702",
0
],
"x": [
"5002:2021:704",
0
],
"y": [
"5002:2021:707",
0
]
},
"_meta": {
"title": "[2,1]"
}
},
"5002:2021:716": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2021:703",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2021:702",
0
],
"x": [
"5002:2021:705",
0
],
"y": [
"5002:2021:707",
0
]
},
"_meta": {
"title": "[2,2]"
}
},
"5002:2021:717": {
"class_type": "ImageBatchMulti",
"inputs": {
"image_1": [
"5002:2021:708",
0
],
"image_2": [
"5002:2021:709",
0
],
"image_3": [
"5002:2021:710",
0
],
"image_4": [
"5002:2021:711",
0
],
"image_5": [
"5002:2021:712",
0
],
"image_6": [
"5002:2021:713",
0
],
"image_7": [
"5002:2021:714",
0
],
"image_8": [
"5002:2021:715",
0
],
"image_9": [
"5002:2021:716",
0
],
"inputcount": 9
},
"_meta": {
"title": "Batch 3x3"
}
},
"5002:2022:1001": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"5002:2017",
0
]
},
"_meta": {
"title": "Get Size"
}
},
"5002:2022:1002": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"5002:2022:1001",
0
],
"b": 0,
"value": "a/4"
},
"_meta": {
"title": "W/4"
}
},
"5002:2022:1003": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"5002:2022:1001",
1
],
"b": 0,
"value": "a/4"
},
"_meta": {
"title": "H/4"
}
},
"5002:2022:1004": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"5002:2022:1001",
0
],
"b": 0,
"value": "a/4*1"
},
"_meta": {
"title": "x col 1"
}
},
"5002:2022:1005": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"5002:2022:1001",
0
],
"b": 0,
"value": "a/4*2"
},
"_meta": {
"title": "x col 2"
}
},
"5002:2022:1006": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"5002:2022:1001",
0
],
"b": 0,
"value": "a/4*3"
},
"_meta": {
"title": "x col 3"
}
},
"5002:2022:1007": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"5002:2022:1001",
1
],
"b": 0,
"value": "a/4*1"
},
"_meta": {
"title": "y row 1"
}
},
"5002:2022:1008": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"5002:2022:1001",
1
],
"b": 0,
"value": "a/4*2"
},
"_meta": {
"title": "y row 2"
}
},
"5002:2022:1009": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"5002:2022:1001",
1
],
"b": 0,
"value": "a/4*3"
},
"_meta": {
"title": "y row 3"
}
},
"5002:2022:1010": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2022:1003",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2022:1002",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "[0,0]"
}
},
"5002:2022:1011": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2022:1003",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2022:1002",
0
],
"x": [
"5002:2022:1004",
0
],
"y": 0
},
"_meta": {
"title": "[0,1]"
}
},
"5002:2022:1012": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2022:1003",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2022:1002",
0
],
"x": [
"5002:2022:1005",
0
],
"y": 0
},
"_meta": {
"title": "[0,2]"
}
},
"5002:2022:1013": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2022:1003",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2022:1002",
0
],
"x": [
"5002:2022:1006",
0
],
"y": 0
},
"_meta": {
"title": "[0,3]"
}
},
"5002:2022:1014": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2022:1003",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2022:1002",
0
],
"x": 0,
"y": [
"5002:2022:1007",
0
]
},
"_meta": {
"title": "[1,0]"
}
},
"5002:2022:1015": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2022:1003",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2022:1002",
0
],
"x": [
"5002:2022:1004",
0
],
"y": [
"5002:2022:1007",
0
]
},
"_meta": {
"title": "[1,1]"
}
},
"5002:2022:1016": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2022:1003",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2022:1002",
0
],
"x": [
"5002:2022:1005",
0
],
"y": [
"5002:2022:1007",
0
]
},
"_meta": {
"title": "[1,2]"
}
},
"5002:2022:1017": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2022:1003",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2022:1002",
0
],
"x": [
"5002:2022:1006",
0
],
"y": [
"5002:2022:1007",
0
]
},
"_meta": {
"title": "[1,3]"
}
},
"5002:2022:1018": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2022:1003",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2022:1002",
0
],
"x": 0,
"y": [
"5002:2022:1008",
0
]
},
"_meta": {
"title": "[2,0]"
}
},
"5002:2022:1019": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2022:1003",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2022:1002",
0
],
"x": [
"5002:2022:1004",
0
],
"y": [
"5002:2022:1008",
0
]
},
"_meta": {
"title": "[2,1]"
}
},
"5002:2022:1020": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2022:1003",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2022:1002",
0
],
"x": [
"5002:2022:1005",
0
],
"y": [
"5002:2022:1008",
0
]
},
"_meta": {
"title": "[2,2]"
}
},
"5002:2022:1021": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2022:1003",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2022:1002",
0
],
"x": [
"5002:2022:1006",
0
],
"y": [
"5002:2022:1008",
0
]
},
"_meta": {
"title": "[2,3]"
}
},
"5002:2022:1022": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2022:1003",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2022:1002",
0
],
"x": 0,
"y": [
"5002:2022:1009",
0
]
},
"_meta": {
"title": "[3,0]"
}
},
"5002:2022:1023": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2022:1003",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2022:1002",
0
],
"x": [
"5002:2022:1004",
0
],
"y": [
"5002:2022:1009",
0
]
},
"_meta": {
"title": "[3,1]"
}
},
"5002:2022:1024": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2022:1003",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2022:1002",
0
],
"x": [
"5002:2022:1005",
0
],
"y": [
"5002:2022:1009",
0
]
},
"_meta": {
"title": "[3,2]"
}
},
"5002:2022:1025": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"5002:2022:1003",
0
],
"image": [
"5002:2017",
0
],
"width": [
"5002:2022:1002",
0
],
"x": [
"5002:2022:1006",
0
],
"y": [
"5002:2022:1009",
0
]
},
"_meta": {
"title": "[3,3]"
}
},
"5002:2022:1026": {
"class_type": "ImageBatchMulti",
"inputs": {
"image_1": [
"5002:2022:1010",
0
],
"image_10": [
"5002:2022:1019",
0
],
"image_11": [
"5002:2022:1020",
0
],
"image_12": [
"5002:2022:1021",
0
],
"image_13": [
"5002:2022:1022",
0
],
"image_14": [
"5002:2022:1023",
0
],
"image_15": [
"5002:2022:1024",
0
],
"image_16": [
"5002:2022:1025",
0
],
"image_2": [
"5002:2022:1011",
0
],
"image_3": [
"5002:2022:1012",
0
],
"image_4": [
"5002:2022:1013",
0
],
"image_5": [
"5002:2022:1014",
0
],
"image_6": [
"5002:2022:1015",
0
],
"image_7": [
"5002:2022:1016",
0
],
"image_8": [
"5002:2022:1017",
0
],
"image_9": [
"5002:2022:1018",
0
],
"inputcount": 16
},
"_meta": {
"title": "Batch 4x4"
}
},
"5002:2031": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"5002:2022:1026",
0
],
"on_true": [
"5002:2021:717",
0
],
"switch": [
"5002:2007",
0
]
},
"_meta": {
"title": "images 3v4"
}
},
"5002:2032": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"5002:2031",
0
],
"on_true": [
"5002:2020:510",
0
],
"switch": [
"5002:2006",
0
]
},
"_meta": {
"title": "images final"
}
},
"5002:5006": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"5002:2017",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"5002:5012": {
"class_type": "RegexReplace",
"inputs": {
"case_insensitive": True,
"count": 0,
"dotall": False,
"multiline": False,
"regex_pattern": "{user_prompt}",
"replace": "For each individual grid image, remix the color palettes while retaining the composition of the input. The aesthetic is ethereal with pastel gradients.",
"string": "Maintain the identity, composition, aspect ratio and text from the {grid_size} grid input image.\n\n{user_prompt}"
},
"_meta": {
"title": "Replace Text (Regex)"
}
}
})
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)常见问答
It focuses on color remapping. Shapes, composition, and text placement are preserved; only the palette and overall vibe shift. Use clean, well-contrasted source graphics for best results.
The remixer node is optimized for square sets (2x2, 3x3, 4x4). This yields balanced comparisons and efficient batching from a single Nano Banana generation.
No. The workflow doesn’t include a LoadCheckpoint node. The custom remixer node offloads the generative step to the Nano Banana API and then expands that single response into multiple color variants.
Open the remixer node (5772692b-9d2a-4a1f-b676-71b8fd315078) and enter your vibe text (e.g., 'warm vintage') and palette details (palette name or hex codes, depending on the node’s UI). If the node supports presets, you can select them directly.