مُعيد مزج ألوان الرسوم
ارفع رسمًا وأنشئ 4 أو 9 أو 16 نسخة مختلفة بطابعك ولوحة الألوان التي تختارها عبر توليد واحد من Nano Banana Pro.
حول
Graphic Color Remixer هو سير عمل ComfyUI مدمج يأخذ رسماً واحداً كمدخل ويُنتج 4 أو 9 أو 16 تنويعة لونية بناءً على الطابع (vibe) ولوحة الألوان التي تختارها. صُمم لاستكشاف السمات بسرعة دون تغيير التخطيط الأصلي—مناسب للشعارات والأيقونات والملصقات والتغليف أو نماذج واجهة المستخدم حيث يجب أن تبقى الهندسة ثابتة.
تقنيًا، المسار بسيط وفعّال: تقوم LoadImage باستيراد الرسم المصدر، ثم يُمرَّر إلى عقدة مخصصة تتولى إعادة المزج. تقوم هذه العقدة بتجميع إعدادات لوحة الألوان و"الطابع" وتنفّذ طلبًا واحدًا إلى API الخاص بـ Nano Banana Pro، ثم توسّع ذلك التوليد الواحد إلى عدة مخرجات مدفوعة باللوحة في مرور واحد. تقوم SaveImage بكتابة كل تنويعة على القرص.
ما تقدّمه
- جارٍ قراءة سير العمل
يعمل في 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)الأسئلة والأجوبة
يركز على إعادة تعيين الألوان. يتم الحفاظ على الأشكال والتكوين وتموضع النص؛ الذي يتغير هو لوحة الألوان والإحساس العام. استخدم رسومات مصدر نظيفة وعالية التباين للحصول على أفضل النتائج.
عقدة remixer مُحسّنة لمجموعات مربعة (2x2 و3x3 و4x4). هذا يوفّر مقارنة متوازنة وتجميعًا فعالًا من توليد واحد عبر Nano Banana.
لا. لا يتضمن سير العمل عقدة LoadCheckpoint. عقدة remixer المخصصة تُسند خطوة التوليد إلى واجهة Nano Banana API ثم توسّع الاستجابة الواحدة إلى عدة تنويعات لونية.
افتح عقدة remixer (5772692b-9d2a-4a1f-b676-71b8fd315078) وأدخل نص الـ vibe (مثل: 'warm vintage') وتفاصيل لوحة الألوان (اسم اللوحة أو أكواد hex، حسب واجهة العقدة). إذا كانت العقدة تدعم presets، يمكنك اختيارها مباشرة.