Remixeur de couleurs graphiques
Téléchargez un graphique et générez 4, 9 ou 16 variations uniques selon l’ambiance et la palette de couleurs souhaitées en une seule génération Nano Banana Pro.
À propos
Graphic Color Remixer est un workflow compact ComfyUI qui prend un graphique en entrée et produit 4, 9 ou 16 variations de couleurs selon l’ambiance et la palette choisies. Il est conçu pour explorer rapidement des thèmes sans modifier la mise en page d’origine—idéal pour les logos, icônes, affiches, packagings ou maquettes UI où la géométrie doit rester intacte.
Techniquement, la chaîne est minimale et efficace : LoadImage importe votre graphique source, transmis à un nœud personnalisé qui gère le remix. Ce nœud regroupe vos paramètres de palette et d’ambiance, effectue un seul appel à l’API Nano Banana Pro, puis étend cette génération unique en plusieurs sorties selon la palette choisie. SaveImage enregistre chaque variation sur le disque.
Ce que vous fournissez
- Lecture du workflow
S’exécute dans ComfyUI. Ce workflow ne peut pas s’exécuter sur cette page. Ouvrez-le dans Comfy Cloud, avec tout déjà chargé, ou téléchargez-le pour votre propre ComfyUI.
Essayer dans CloudEssayer un exemple
Dans le workflow
Un aperçu en lecture seule du graphe de nœuds. Ouvrez-le dans Comfy Cloud ou téléchargez-le pour modifier les nœuds.
Loading the graph
Open full-size workflow preview- Auteur
- Rob
Nécessite des nœuds personnalisés
- Lecture du workflow
Utiliser ce workflow depuis du code
Généré à partir du graphe et des entrées du workflow lorsque cela est possible ; sinon, les exemples enregistrés sont affichés. Vérifiez les identifiants et les points de terminaison avant d’exécuter le code, ce qui peut entraîner des frais.
What you need
- Runs on
- Comfy Cloud
- Clé
- COMFY_API_KEY
Nécessite un forfait Cloud payant et des crédits.
# 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)Questions-réponses
Il se concentre sur le remapping des couleurs. Les formes, la composition et le placement du texte sont conservés ; seule la palette et l’ambiance générale changent. Utilisez des sources propres et bien contrastées pour de meilleurs résultats.
Le nœud remixer est optimisé pour des ensembles carrés (2x2, 3x3, 4x4). Cela donne des comparaisons équilibrées et un batching efficace à partir d’une seule génération Nano Banana.
Non. Le workflow n’inclut pas de nœud LoadCheckpoint. Le nœud remixer personnalisé déporte l’étape générative vers l’API Nano Banana, puis étend cette réponse unique en plusieurs variantes de couleur.
Ouvrez le nœud remixer (5772692b-9d2a-4a1f-b676-71b8fd315078) et saisissez votre texte d’ambiance (par ex. « vintage chaud ») et les détails de la palette (nom de palette ou codes hex, selon l’UI du nœud). Si le nœud prend en charge des préréglages, vous pouvez les sélectionner directement.
Workflows associés
- 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
- FLUX.1 Fill
Extend an image’s borders