Created
June 9, 2026 22:03
-
-
Save molbal/8aecda1caf5f9dd7160bd284170f212f to your computer and use it in GitHub Desktop.
ideogram4_gguf_comfy.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "id": "fdcfc2b2-168f-4f3d-a1d0-6986b802fce5", | |
| "revision": 0, | |
| "last_node_id": 168, | |
| "last_link_id": 238, | |
| "nodes": [ | |
| { | |
| "id": 111, | |
| "type": "PreviewAny", | |
| "pos": [ | |
| 8050, | |
| 610 | |
| ], | |
| "size": [ | |
| 560, | |
| 660 | |
| ], | |
| "flags": { | |
| "collapsed": false | |
| }, | |
| "order": 2, | |
| "mode": 4, | |
| "inputs": [ | |
| { | |
| "name": "source", | |
| "type": "*", | |
| "link": 179 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "STRING", | |
| "type": "STRING", | |
| "links": [] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "PreviewAny", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.21.0" | |
| }, | |
| "widgets_values": [ | |
| null, | |
| null, | |
| null | |
| ] | |
| }, | |
| { | |
| "id": 134, | |
| "type": "f5f04613-ee09-4cd9-9ada-a880360891d4", | |
| "pos": [ | |
| 7540, | |
| 610 | |
| ], | |
| "size": [ | |
| 480, | |
| 400 | |
| ], | |
| "flags": {}, | |
| "order": 0, | |
| "mode": 4, | |
| "inputs": [ | |
| { | |
| "label": "user_prompt", | |
| "name": "value", | |
| "type": "STRING", | |
| "widget": { | |
| "name": "value" | |
| }, | |
| "link": null | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "label": "json_structured_prompt", | |
| "name": "generated_text", | |
| "type": "STRING", | |
| "links": [ | |
| 179 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "proxyWidgets": [ | |
| [ | |
| "115", | |
| "value" | |
| ], | |
| [ | |
| "110", | |
| "clip_name" | |
| ] | |
| ], | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [] | |
| }, | |
| { | |
| "id": 168, | |
| "type": "SaveAnimatedWEBP", | |
| "pos": [ | |
| 6910.111183023287, | |
| 599.9285426946494 | |
| ], | |
| "size": [ | |
| 270, | |
| 366 | |
| ], | |
| "flags": {}, | |
| "order": 4, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "images", | |
| "type": "IMAGE", | |
| "link": 237 | |
| } | |
| ], | |
| "outputs": [], | |
| "properties": {}, | |
| "widgets_values": [ | |
| "ideogram4", | |
| 6, | |
| false, | |
| 95, | |
| "default" | |
| ] | |
| }, | |
| { | |
| "id": 37, | |
| "type": "ResolutionSelector", | |
| "pos": [ | |
| 5880, | |
| 880 | |
| ], | |
| "size": [ | |
| 380, | |
| 170 | |
| ], | |
| "flags": {}, | |
| "order": 1, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "width", | |
| "type": "INT", | |
| "links": [ | |
| 161 | |
| ] | |
| }, | |
| { | |
| "name": "height", | |
| "type": "INT", | |
| "links": [ | |
| 162 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "ResolutionSelector", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [ | |
| "3:2 (Photo)", | |
| 2.5 | |
| ] | |
| }, | |
| { | |
| "id": 98, | |
| "type": "83e6e004-48ea-408e-9024-eb49c3d7dc14", | |
| "pos": [ | |
| 6330, | |
| 550 | |
| ], | |
| "size": [ | |
| 463.19648130933854, | |
| 824.8530040066419 | |
| ], | |
| "flags": {}, | |
| "order": 3, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "label": "prompt", | |
| "name": "text", | |
| "type": "STRING", | |
| "widget": { | |
| "name": "text" | |
| }, | |
| "link": null | |
| }, | |
| { | |
| "label": "width", | |
| "name": "value", | |
| "type": "INT", | |
| "widget": { | |
| "name": "value" | |
| }, | |
| "link": 161 | |
| }, | |
| { | |
| "label": "height", | |
| "name": "value_1", | |
| "type": "INT", | |
| "widget": { | |
| "name": "value_1" | |
| }, | |
| "link": 162 | |
| }, | |
| { | |
| "label": "unconditional_unet", | |
| "name": "unet_name_1", | |
| "type": "COMBO", | |
| "widget": { | |
| "name": "unet_name_1" | |
| }, | |
| "link": null | |
| }, | |
| { | |
| "label": "mode", | |
| "name": "choice", | |
| "type": "COMBO", | |
| "widget": { | |
| "name": "choice" | |
| }, | |
| "link": null | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 237 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "proxyWidgets": [ | |
| [ | |
| "24", | |
| "text" | |
| ], | |
| [ | |
| "27", | |
| "value" | |
| ], | |
| [ | |
| "28", | |
| "value" | |
| ], | |
| [ | |
| "18", | |
| "noise_seed" | |
| ], | |
| [ | |
| "162", | |
| "unet_name" | |
| ], | |
| [ | |
| "158", | |
| "clip_name" | |
| ], | |
| [ | |
| "9", | |
| "vae_name" | |
| ], | |
| [ | |
| "164", | |
| "unet_name" | |
| ], | |
| [ | |
| "156", | |
| "choice" | |
| ] | |
| ], | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [] | |
| } | |
| ], | |
| "links": [ | |
| [ | |
| 161, | |
| 37, | |
| 0, | |
| 98, | |
| 1, | |
| "INT" | |
| ], | |
| [ | |
| 162, | |
| 37, | |
| 1, | |
| 98, | |
| 2, | |
| "INT" | |
| ], | |
| [ | |
| 179, | |
| 134, | |
| 0, | |
| 111, | |
| 0, | |
| "STRING" | |
| ], | |
| [ | |
| 237, | |
| 98, | |
| 0, | |
| 168, | |
| 0, | |
| "IMAGE" | |
| ] | |
| ], | |
| "groups": [ | |
| { | |
| "id": 7, | |
| "title": "LLM Prompt Builder (Select and Ctrl+B to enable)", | |
| "bounding": [ | |
| 7480, | |
| 490, | |
| 1210, | |
| 850 | |
| ], | |
| "color": "#444", | |
| "flags": {} | |
| } | |
| ], | |
| "definitions": { | |
| "subgraphs": [ | |
| { | |
| "id": "83e6e004-48ea-408e-9024-eb49c3d7dc14", | |
| "version": 1, | |
| "state": { | |
| "lastGroupId": 9, | |
| "lastNodeId": 168, | |
| "lastLinkId": 238, | |
| "lastRerouteId": 0 | |
| }, | |
| "revision": 0, | |
| "config": {}, | |
| "name": "Text to Image (Ideogram v4)", | |
| "inputNode": { | |
| "id": -10, | |
| "bounding": [ | |
| 3490, | |
| 920, | |
| 155.29166412353516, | |
| 228 | |
| ] | |
| }, | |
| "outputNode": { | |
| "id": -20, | |
| "bounding": [ | |
| 6850, | |
| 936, | |
| 128, | |
| 68 | |
| ] | |
| }, | |
| "inputs": [ | |
| { | |
| "id": "4bc742d1-7b4b-452c-90d9-0d76ebcdae76", | |
| "name": "text", | |
| "type": "STRING", | |
| "linkIds": [ | |
| 152 | |
| ], | |
| "label": "prompt", | |
| "pos": [ | |
| 3621.291664123535, | |
| 944 | |
| ] | |
| }, | |
| { | |
| "id": "8d4038eb-73c7-45e9-bba1-f068f55e8d32", | |
| "name": "value", | |
| "type": "INT", | |
| "linkIds": [ | |
| 153 | |
| ], | |
| "label": "width", | |
| "pos": [ | |
| 3621.291664123535, | |
| 964 | |
| ] | |
| }, | |
| { | |
| "id": "281550e6-6acf-4cbe-aec1-9eb803b4dec1", | |
| "name": "value_1", | |
| "type": "INT", | |
| "linkIds": [ | |
| 154 | |
| ], | |
| "label": "height", | |
| "pos": [ | |
| 3621.291664123535, | |
| 984 | |
| ] | |
| }, | |
| { | |
| "id": "fae56884-2f1a-470b-a25f-40e7a87ef69d", | |
| "name": "noise_seed", | |
| "type": "INT", | |
| "linkIds": [ | |
| 155 | |
| ], | |
| "pos": [ | |
| 3621.291664123535, | |
| 1004 | |
| ] | |
| }, | |
| { | |
| "id": "3497309c-a7d7-4e28-9330-142c15881632", | |
| "name": "unet_name", | |
| "type": "COMBO", | |
| "linkIds": [ | |
| 231 | |
| ], | |
| "pos": [ | |
| 3621.291664123535, | |
| 1024 | |
| ] | |
| }, | |
| { | |
| "id": "e87126db-7147-465e-b129-370ed2c6cc22", | |
| "name": "clip_name", | |
| "type": "COMBO", | |
| "linkIds": [ | |
| 232 | |
| ], | |
| "pos": [ | |
| 3621.291664123535, | |
| 1044 | |
| ] | |
| }, | |
| { | |
| "id": "a1e6c080-b11b-4d5c-a3a8-fcf4df654cf7", | |
| "name": "vae_name", | |
| "type": "COMBO", | |
| "linkIds": [ | |
| 158 | |
| ], | |
| "pos": [ | |
| 3621.291664123535, | |
| 1064 | |
| ] | |
| }, | |
| { | |
| "id": "b0d16516-95de-44d9-bea8-3cd2e7c78e9a", | |
| "name": "unet_name_1", | |
| "type": "COMBO", | |
| "linkIds": [ | |
| 233 | |
| ], | |
| "label": "unconditional_unet", | |
| "pos": [ | |
| 3621.291664123535, | |
| 1084 | |
| ] | |
| }, | |
| { | |
| "id": "249fd825-e6b3-489d-a341-6d8050500f5e", | |
| "name": "choice", | |
| "type": "COMBO", | |
| "linkIds": [ | |
| 219 | |
| ], | |
| "label": "mode", | |
| "pos": [ | |
| 3621.291664123535, | |
| 1104 | |
| ] | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "b81e4f60-e543-4f02-875b-b0f1bdc274f2", | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "linkIds": [ | |
| 238 | |
| ], | |
| "localized_name": "IMAGE", | |
| "pos": [ | |
| 6874, | |
| 960 | |
| ] | |
| } | |
| ], | |
| "widgets": [], | |
| "nodes": [ | |
| { | |
| "id": 10, | |
| "type": "ConditioningZeroOut", | |
| "pos": [ | |
| 5450, | |
| 960 | |
| ], | |
| "size": [ | |
| 250, | |
| 80 | |
| ], | |
| "flags": { | |
| "collapsed": false | |
| }, | |
| "order": 2, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "conditioning", | |
| "name": "conditioning", | |
| "type": "CONDITIONING", | |
| "link": 8 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "CONDITIONING", | |
| "name": "CONDITIONING", | |
| "type": "CONDITIONING", | |
| "links": [ | |
| 214 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "ConditioningZeroOut", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.9.1" | |
| }, | |
| "widgets_values": [] | |
| }, | |
| { | |
| "id": 11, | |
| "type": "EmptyFlux2LatentImage", | |
| "pos": [ | |
| 5330, | |
| 1180 | |
| ], | |
| "size": [ | |
| 270, | |
| 170 | |
| ], | |
| "flags": {}, | |
| "order": 3, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "width", | |
| "name": "width", | |
| "type": "INT", | |
| "widget": { | |
| "name": "width" | |
| }, | |
| "link": 33 | |
| }, | |
| { | |
| "localized_name": "height", | |
| "name": "height", | |
| "type": "INT", | |
| "widget": { | |
| "name": "height" | |
| }, | |
| "link": 36 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "LATENT", | |
| "name": "LATENT", | |
| "type": "LATENT", | |
| "links": [ | |
| 15 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "EmptyFlux2LatentImage", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.8.2" | |
| }, | |
| "widgets_values": [ | |
| 1024, | |
| 1024, | |
| 1 | |
| ] | |
| }, | |
| { | |
| "id": 17, | |
| "type": "Ideogram4Scheduler", | |
| "pos": [ | |
| 5790, | |
| 1260 | |
| ], | |
| "size": [ | |
| 270, | |
| 240 | |
| ], | |
| "flags": {}, | |
| "order": 6, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "steps", | |
| "name": "steps", | |
| "type": "INT", | |
| "widget": { | |
| "name": "steps" | |
| }, | |
| "link": 207 | |
| }, | |
| { | |
| "localized_name": "width", | |
| "name": "width", | |
| "type": "INT", | |
| "widget": { | |
| "name": "width" | |
| }, | |
| "link": 34 | |
| }, | |
| { | |
| "localized_name": "height", | |
| "name": "height", | |
| "type": "INT", | |
| "widget": { | |
| "name": "height" | |
| }, | |
| "link": 37 | |
| }, | |
| { | |
| "localized_name": "mu", | |
| "name": "mu", | |
| "type": "FLOAT", | |
| "widget": { | |
| "name": "mu" | |
| }, | |
| "link": 208 | |
| }, | |
| { | |
| "localized_name": "std", | |
| "name": "std", | |
| "type": "FLOAT", | |
| "widget": { | |
| "name": "std" | |
| }, | |
| "link": 209 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "SIGMAS", | |
| "name": "SIGMAS", | |
| "type": "SIGMAS", | |
| "links": [ | |
| 14 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "Ideogram4Scheduler", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [ | |
| 20, | |
| 1024, | |
| 1024, | |
| 0.5, | |
| 1.75 | |
| ] | |
| }, | |
| { | |
| "id": 18, | |
| "type": "RandomNoise", | |
| "pos": [ | |
| 5780, | |
| 490 | |
| ], | |
| "size": [ | |
| 270, | |
| 110 | |
| ], | |
| "flags": {}, | |
| "order": 7, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "noise_seed", | |
| "name": "noise_seed", | |
| "type": "INT", | |
| "widget": { | |
| "name": "noise_seed" | |
| }, | |
| "link": 155 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "NOISE", | |
| "name": "NOISE", | |
| "type": "NOISE", | |
| "links": [ | |
| 11 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "RandomNoise", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.8.2" | |
| }, | |
| "widgets_values": [ | |
| 933129765019742, | |
| "randomize" | |
| ] | |
| }, | |
| { | |
| "id": 27, | |
| "type": "PrimitiveInt", | |
| "pos": [ | |
| 4240, | |
| 1610 | |
| ], | |
| "size": [ | |
| 270, | |
| 110 | |
| ], | |
| "flags": {}, | |
| "order": 9, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "value", | |
| "name": "value", | |
| "type": "INT", | |
| "widget": { | |
| "name": "value" | |
| }, | |
| "link": 153 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "INT", | |
| "name": "INT", | |
| "type": "INT", | |
| "links": [ | |
| 32 | |
| ] | |
| } | |
| ], | |
| "title": "Int (Width)", | |
| "properties": { | |
| "Node name for S&R": "PrimitiveInt", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [ | |
| 1024, | |
| "fixed" | |
| ] | |
| }, | |
| { | |
| "id": 28, | |
| "type": "PrimitiveInt", | |
| "pos": [ | |
| 4250, | |
| 1800 | |
| ], | |
| "size": [ | |
| 270, | |
| 110 | |
| ], | |
| "flags": {}, | |
| "order": 10, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "value", | |
| "name": "value", | |
| "type": "INT", | |
| "widget": { | |
| "name": "value" | |
| }, | |
| "link": 154 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "INT", | |
| "name": "INT", | |
| "type": "INT", | |
| "links": [ | |
| 35 | |
| ] | |
| } | |
| ], | |
| "title": "Int (Height)", | |
| "properties": { | |
| "Node name for S&R": "PrimitiveInt", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [ | |
| 1024, | |
| "fixed" | |
| ] | |
| }, | |
| { | |
| "id": 31, | |
| "type": "ComfyMathExpression", | |
| "pos": [ | |
| 5340, | |
| 1400 | |
| ], | |
| "size": [ | |
| 230, | |
| 80 | |
| ], | |
| "flags": { | |
| "collapsed": true | |
| }, | |
| "order": 11, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "label": "a", | |
| "localized_name": "values.a", | |
| "name": "values.a", | |
| "type": "FLOAT,INT,BOOLEAN", | |
| "link": 32 | |
| }, | |
| { | |
| "label": "b", | |
| "localized_name": "values.b", | |
| "name": "values.b", | |
| "shape": 7, | |
| "type": "FLOAT,INT,BOOLEAN", | |
| "link": null | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "FLOAT", | |
| "name": "FLOAT", | |
| "type": "FLOAT", | |
| "links": null | |
| }, | |
| { | |
| "localized_name": "INT", | |
| "name": "INT", | |
| "type": "INT", | |
| "links": [ | |
| 33, | |
| 34 | |
| ] | |
| }, | |
| { | |
| "localized_name": "BOOL", | |
| "name": "BOOL", | |
| "type": "BOOLEAN", | |
| "links": null | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "ComfyMathExpression", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [ | |
| "max(((a + 15) // 16) * 16, 256)" | |
| ] | |
| }, | |
| { | |
| "id": 32, | |
| "type": "ComfyMathExpression", | |
| "pos": [ | |
| 5350, | |
| 1470 | |
| ], | |
| "size": [ | |
| 230, | |
| 80 | |
| ], | |
| "flags": { | |
| "collapsed": true | |
| }, | |
| "order": 12, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "label": "a", | |
| "localized_name": "values.a", | |
| "name": "values.a", | |
| "type": "FLOAT,INT,BOOLEAN", | |
| "link": 35 | |
| }, | |
| { | |
| "label": "b", | |
| "localized_name": "values.b", | |
| "name": "values.b", | |
| "shape": 7, | |
| "type": "FLOAT,INT,BOOLEAN", | |
| "link": null | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "FLOAT", | |
| "name": "FLOAT", | |
| "type": "FLOAT", | |
| "links": null | |
| }, | |
| { | |
| "localized_name": "INT", | |
| "name": "INT", | |
| "type": "INT", | |
| "links": [ | |
| 36, | |
| 37 | |
| ] | |
| }, | |
| { | |
| "localized_name": "BOOL", | |
| "name": "BOOL", | |
| "type": "BOOLEAN", | |
| "links": null | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "ComfyMathExpression", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [ | |
| "max(((a + 15) // 16) * 16, 256)" | |
| ] | |
| }, | |
| { | |
| "id": 144, | |
| "type": "ComfyNumberConvert", | |
| "pos": [ | |
| 5920, | |
| 1870 | |
| ], | |
| "size": [ | |
| 230, | |
| 100 | |
| ], | |
| "flags": {}, | |
| "order": 13, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "label": "value", | |
| "localized_name": "value", | |
| "name": "value", | |
| "type": "INT,FLOAT,STRING,BOOLEAN", | |
| "link": 195 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "FLOAT", | |
| "name": "FLOAT", | |
| "type": "FLOAT", | |
| "links": [ | |
| 208 | |
| ] | |
| }, | |
| { | |
| "localized_name": "INT", | |
| "name": "INT", | |
| "type": "INT", | |
| "links": null | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "ComfyNumberConvert", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [] | |
| }, | |
| { | |
| "id": 145, | |
| "type": "JsonExtractString", | |
| "pos": [ | |
| 5450, | |
| 1870 | |
| ], | |
| "size": [ | |
| 400, | |
| 200 | |
| ], | |
| "flags": {}, | |
| "order": 14, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "json_string", | |
| "name": "json_string", | |
| "type": "STRING", | |
| "widget": { | |
| "name": "json_string" | |
| }, | |
| "link": 196 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "STRING", | |
| "name": "STRING", | |
| "type": "STRING", | |
| "links": [ | |
| 195 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "JsonExtractString", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [ | |
| "", | |
| "mu" | |
| ] | |
| }, | |
| { | |
| "id": 146, | |
| "type": "ComfyNumberConvert", | |
| "pos": [ | |
| 5930, | |
| 2110 | |
| ], | |
| "size": [ | |
| 230, | |
| 100 | |
| ], | |
| "flags": {}, | |
| "order": 15, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "label": "value", | |
| "localized_name": "value", | |
| "name": "value", | |
| "type": "INT,FLOAT,STRING,BOOLEAN", | |
| "link": 197 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "FLOAT", | |
| "name": "FLOAT", | |
| "type": "FLOAT", | |
| "links": [ | |
| 209 | |
| ] | |
| }, | |
| { | |
| "localized_name": "INT", | |
| "name": "INT", | |
| "type": "INT", | |
| "links": null | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "ComfyNumberConvert", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [] | |
| }, | |
| { | |
| "id": 147, | |
| "type": "JsonExtractString", | |
| "pos": [ | |
| 5010, | |
| 1630 | |
| ], | |
| "size": [ | |
| 410, | |
| 470 | |
| ], | |
| "flags": {}, | |
| "order": 16, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "key", | |
| "name": "key", | |
| "type": "STRING", | |
| "widget": { | |
| "name": "key" | |
| }, | |
| "link": 218 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "STRING", | |
| "name": "STRING", | |
| "type": "STRING", | |
| "links": [ | |
| 199 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "JsonExtractString", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [ | |
| "{\n \"Quality\": {\n \"num_steps\": 48,\n \"mu\": 0.0,\n \"std\": 1.5,\n \"preset_id\": \"V4_QUALITY_48\"\n },\n \"Default\": {\n \"num_steps\": 20,\n \"mu\": 0.0,\n \"std\": 1.75,\n \"preset_id\": \"V4_DEFAULT_20\"\n },\n \"Turbo\": {\n \"num_steps\": 12,\n \"mu\": 0.5,\n \"std\": 1.75,\n \"preset_id\": \"V4_TURBO_12\"\n }\n}", | |
| "Turbo" | |
| ] | |
| }, | |
| { | |
| "id": 148, | |
| "type": "StringReplace", | |
| "pos": [ | |
| 5050, | |
| 2150 | |
| ], | |
| "size": [ | |
| 230, | |
| 40 | |
| ], | |
| "flags": { | |
| "collapsed": true | |
| }, | |
| "order": 17, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "string", | |
| "name": "string", | |
| "type": "STRING", | |
| "widget": { | |
| "name": "string" | |
| }, | |
| "link": 199 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "STRING", | |
| "name": "STRING", | |
| "type": "STRING", | |
| "links": [ | |
| 196, | |
| 200, | |
| 201 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "StringReplace", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [ | |
| "", | |
| "'", | |
| "\"" | |
| ] | |
| }, | |
| { | |
| "id": 149, | |
| "type": "JsonExtractString", | |
| "pos": [ | |
| 5460, | |
| 1610 | |
| ], | |
| "size": [ | |
| 400, | |
| 200 | |
| ], | |
| "flags": {}, | |
| "order": 18, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "json_string", | |
| "name": "json_string", | |
| "type": "STRING", | |
| "widget": { | |
| "name": "json_string" | |
| }, | |
| "link": 200 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "STRING", | |
| "name": "STRING", | |
| "type": "STRING", | |
| "links": [ | |
| 202 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "JsonExtractString", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [ | |
| "", | |
| "num_steps" | |
| ] | |
| }, | |
| { | |
| "id": 150, | |
| "type": "JsonExtractString", | |
| "pos": [ | |
| 5450, | |
| 2110 | |
| ], | |
| "size": [ | |
| 400, | |
| 200 | |
| ], | |
| "flags": {}, | |
| "order": 19, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "json_string", | |
| "name": "json_string", | |
| "type": "STRING", | |
| "widget": { | |
| "name": "json_string" | |
| }, | |
| "link": 201 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "STRING", | |
| "name": "STRING", | |
| "type": "STRING", | |
| "links": [ | |
| 197 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "JsonExtractString", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [ | |
| "", | |
| "std" | |
| ] | |
| }, | |
| { | |
| "id": 151, | |
| "type": "ComfyNumberConvert", | |
| "pos": [ | |
| 5920, | |
| 1620 | |
| ], | |
| "size": [ | |
| 230, | |
| 100 | |
| ], | |
| "flags": {}, | |
| "order": 20, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "label": "value", | |
| "localized_name": "value", | |
| "name": "value", | |
| "type": "INT,FLOAT,STRING,BOOLEAN", | |
| "link": 202 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "FLOAT", | |
| "name": "FLOAT", | |
| "type": "FLOAT", | |
| "links": [] | |
| }, | |
| { | |
| "localized_name": "INT", | |
| "name": "INT", | |
| "type": "INT", | |
| "links": [ | |
| 207 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "ComfyNumberConvert", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [] | |
| }, | |
| { | |
| "id": 156, | |
| "type": "CustomCombo", | |
| "pos": [ | |
| 4720, | |
| 1630 | |
| ], | |
| "size": [ | |
| 270, | |
| 280 | |
| ], | |
| "flags": {}, | |
| "order": 22, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "choice", | |
| "name": "choice", | |
| "type": "COMBO", | |
| "widget": { | |
| "name": "choice" | |
| }, | |
| "link": 219 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "STRING", | |
| "name": "STRING", | |
| "type": "STRING", | |
| "links": [ | |
| 218 | |
| ] | |
| }, | |
| { | |
| "localized_name": "INDEX", | |
| "name": "INDEX", | |
| "type": "INT", | |
| "links": null | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "CustomCombo", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [ | |
| "Turbo", | |
| 2, | |
| "Quality", | |
| "Default", | |
| "Turbo", | |
| "" | |
| ] | |
| }, | |
| { | |
| "id": 157, | |
| "type": "CFGOverride", | |
| "pos": [ | |
| 5790, | |
| 650 | |
| ], | |
| "size": [ | |
| 260, | |
| 170 | |
| ], | |
| "flags": {}, | |
| "order": 23, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "model", | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 235 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "MODEL", | |
| "name": "MODEL", | |
| "type": "MODEL", | |
| "links": [ | |
| 223 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "CFGOverride", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [ | |
| 3, | |
| 0.9, | |
| 1 | |
| ] | |
| }, | |
| { | |
| "id": 158, | |
| "type": "CLIPLoaderGGUF", | |
| "pos": [ | |
| 4786.067097364657, | |
| 972.9952644984317 | |
| ], | |
| "size": [ | |
| 270, | |
| 82 | |
| ], | |
| "flags": {}, | |
| "order": 24, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "clip_name", | |
| "name": "clip_name", | |
| "type": "COMBO", | |
| "widget": { | |
| "name": "clip_name" | |
| }, | |
| "link": 232 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "CLIP", | |
| "name": "CLIP", | |
| "type": "CLIP", | |
| "links": [ | |
| 224 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "CLIPLoaderGGUF" | |
| }, | |
| "widgets_values": [ | |
| "Qwen3VL-8B-Uncensored-HauhauCS-Aggressive-Q4_K_M.gguf", | |
| "ideogram4" | |
| ] | |
| }, | |
| { | |
| "id": 12, | |
| "type": "SamplerCustomAdvanced", | |
| "pos": [ | |
| 6160, | |
| 500 | |
| ], | |
| "size": [ | |
| 290, | |
| 326 | |
| ], | |
| "flags": {}, | |
| "order": 4, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "noise", | |
| "name": "noise", | |
| "type": "NOISE", | |
| "link": 11 | |
| }, | |
| { | |
| "localized_name": "guider", | |
| "name": "guider", | |
| "type": "GUIDER", | |
| "link": 215 | |
| }, | |
| { | |
| "localized_name": "sampler", | |
| "name": "sampler", | |
| "type": "SAMPLER", | |
| "link": 13 | |
| }, | |
| { | |
| "localized_name": "sigmas", | |
| "name": "sigmas", | |
| "type": "SIGMAS", | |
| "link": 14 | |
| }, | |
| { | |
| "localized_name": "latent_image", | |
| "name": "latent_image", | |
| "type": "LATENT", | |
| "link": 15 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "output", | |
| "name": "output", | |
| "type": "LATENT", | |
| "links": [ | |
| 16 | |
| ] | |
| }, | |
| { | |
| "localized_name": "denoised_output", | |
| "name": "denoised_output", | |
| "type": "LATENT", | |
| "links": [] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "SamplerCustomAdvanced", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.8.2" | |
| }, | |
| "widgets_values": [] | |
| }, | |
| { | |
| "id": 9, | |
| "type": "VAELoader", | |
| "pos": [ | |
| 4730, | |
| 1220 | |
| ], | |
| "size": [ | |
| 470, | |
| 110 | |
| ], | |
| "flags": {}, | |
| "order": 1, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "vae_name", | |
| "name": "vae_name", | |
| "type": "COMBO", | |
| "widget": { | |
| "name": "vae_name" | |
| }, | |
| "link": 158 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "VAE", | |
| "name": "VAE", | |
| "type": "VAE", | |
| "links": [ | |
| 17 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "VAELoader", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.8.2", | |
| "models": [ | |
| { | |
| "name": "flux2-vae.safetensors", | |
| "url": "https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors", | |
| "directory": "vae" | |
| } | |
| ] | |
| }, | |
| "widgets_values": [ | |
| "flux2-vae.safetensors" | |
| ] | |
| }, | |
| { | |
| "id": 24, | |
| "type": "CLIPTextEncode", | |
| "pos": [ | |
| 5270, | |
| 500 | |
| ], | |
| "size": [ | |
| 430, | |
| 420 | |
| ], | |
| "flags": {}, | |
| "order": 8, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "clip", | |
| "name": "clip", | |
| "type": "CLIP", | |
| "link": 224 | |
| }, | |
| { | |
| "localized_name": "text", | |
| "name": "text", | |
| "type": "STRING", | |
| "widget": { | |
| "name": "text" | |
| }, | |
| "link": 152 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "CONDITIONING", | |
| "name": "CONDITIONING", | |
| "type": "CONDITIONING", | |
| "slot_index": 0, | |
| "links": [ | |
| 8, | |
| 213 | |
| ] | |
| } | |
| ], | |
| "title": "CLIP Text Encode (Positive Prompt)", | |
| "properties": { | |
| "Node name for S&R": "CLIPTextEncode", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.8.2" | |
| }, | |
| "widgets_values": [ | |
| "{\n \"high_level_description\": \"A laptop on fire while Shrek sits in front of it being entertained\",\n \"style_description\": {\n \"aesthetics\": \"cinematic, high quality, dynamic camera angles\",\n \"lighting\": \"cinematic, ring light, professional, cinema\\\"\",\n \"photo\": \"\",\n \"medium\": \"photograph\",\n \"color_palette\": []\n },\n \"compositional_deconstruction\": {\n \"background\": \"Shrek's swamp\",\n \"elements\": [\n {\n \"type\": \"obj\",\n \"bbox\": [\n 629,\n 138,\n 957,\n 857\n ],\n \"desc\": \"Table\"\n },\n {\n \"type\": \"obj\",\n \"bbox\": [\n 147,\n 593,\n 845,\n 996\n ],\n \"desc\": \"Shrek, being entertained\"\n },\n {\n \"type\": \"obj\",\n \"bbox\": [\n 549,\n 218,\n 781,\n 508\n ],\n \"desc\": \"A laptop on fire\"\n },\n {\n \"type\": \"text\",\n \"bbox\": [\n 64,\n 145,\n 329,\n 610\n ],\n \"text\": \"It has only 8GB RAM!\",\n \"desc\": \"Speech bubble\"\n }\n ]\n }\n}" | |
| ] | |
| }, | |
| { | |
| "id": 164, | |
| "type": "UnetLoaderGGUF", | |
| "pos": [ | |
| 4707.476326752549, | |
| 716.0510275547565 | |
| ], | |
| "size": [ | |
| 270, | |
| 58 | |
| ], | |
| "flags": {}, | |
| "order": 26, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "unet_name", | |
| "name": "unet_name", | |
| "type": "COMBO", | |
| "widget": { | |
| "name": "unet_name" | |
| }, | |
| "link": 233 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "MODEL", | |
| "name": "MODEL", | |
| "type": "MODEL", | |
| "links": [ | |
| 230 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "UnetLoaderGGUF" | |
| }, | |
| "widgets_values": [ | |
| "ideogram4_uncond-Q4_0.gguf" | |
| ] | |
| }, | |
| { | |
| "id": 162, | |
| "type": "UnetLoaderGGUF", | |
| "pos": [ | |
| 4694.429948356017, | |
| 482.2740413559016 | |
| ], | |
| "size": [ | |
| 270, | |
| 58 | |
| ], | |
| "flags": {}, | |
| "order": 25, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "unet_name", | |
| "name": "unet_name", | |
| "type": "COMBO", | |
| "widget": { | |
| "name": "unet_name" | |
| }, | |
| "link": 231 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "MODEL", | |
| "name": "MODEL", | |
| "type": "MODEL", | |
| "links": [ | |
| 234 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "UnetLoaderGGUF" | |
| }, | |
| "widgets_values": [ | |
| "ideogram4-Q4_0.gguf" | |
| ] | |
| }, | |
| { | |
| "id": 165, | |
| "type": "LoraLoaderModelOnly", | |
| "pos": [ | |
| 4982.824242816149, | |
| 481.25212934433125 | |
| ], | |
| "size": [ | |
| 270, | |
| 82 | |
| ], | |
| "flags": {}, | |
| "order": 27, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "model", | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 234 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "MODEL", | |
| "name": "MODEL", | |
| "type": "MODEL", | |
| "links": [ | |
| 235 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "LoraLoaderModelOnly" | |
| }, | |
| "widgets_values": [ | |
| "ideogram\\Realism_Engine_Ideogram4_V1.safetensors", | |
| 1 | |
| ] | |
| }, | |
| { | |
| "id": 155, | |
| "type": "DualModelGuider", | |
| "pos": [ | |
| 5795.5795783327285, | |
| 865.815336204504 | |
| ], | |
| "size": [ | |
| 270, | |
| 180 | |
| ], | |
| "flags": {}, | |
| "order": 21, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "model", | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 223 | |
| }, | |
| { | |
| "localized_name": "positive", | |
| "name": "positive", | |
| "type": "CONDITIONING", | |
| "link": 213 | |
| }, | |
| { | |
| "localized_name": "model_negative", | |
| "name": "model_negative", | |
| "shape": 7, | |
| "type": "MODEL", | |
| "link": 230 | |
| }, | |
| { | |
| "localized_name": "negative", | |
| "name": "negative", | |
| "shape": 7, | |
| "type": "CONDITIONING", | |
| "link": 214 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "GUIDER", | |
| "name": "GUIDER", | |
| "type": "GUIDER", | |
| "links": [ | |
| 215 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "DualModelGuider", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [ | |
| 7 | |
| ] | |
| }, | |
| { | |
| "id": 16, | |
| "type": "KSamplerSelect", | |
| "pos": [ | |
| 5790, | |
| 1100 | |
| ], | |
| "size": [ | |
| 270, | |
| 110 | |
| ], | |
| "flags": {}, | |
| "order": 0, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "localized_name": "SAMPLER", | |
| "name": "SAMPLER", | |
| "type": "SAMPLER", | |
| "links": [ | |
| 13 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "KSamplerSelect", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.8.2" | |
| }, | |
| "widgets_values": [ | |
| "res_2s" | |
| ] | |
| }, | |
| { | |
| "id": 13, | |
| "type": "VAEDecode", | |
| "pos": [ | |
| 6560, | |
| 500 | |
| ], | |
| "size": [ | |
| 230, | |
| 100 | |
| ], | |
| "flags": {}, | |
| "order": 5, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "samples", | |
| "name": "samples", | |
| "type": "LATENT", | |
| "link": 16 | |
| }, | |
| { | |
| "localized_name": "vae", | |
| "name": "vae", | |
| "type": "VAE", | |
| "link": 17 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "IMAGE", | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "slot_index": 0, | |
| "links": [ | |
| 238 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "VAEDecode", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.8.2" | |
| }, | |
| "widgets_values": [] | |
| } | |
| ], | |
| "groups": [ | |
| { | |
| "id": 1, | |
| "title": "Models", | |
| "bounding": [ | |
| 4700, | |
| 420, | |
| 530, | |
| 1100 | |
| ], | |
| "color": "#3f789e", | |
| "flags": {} | |
| }, | |
| { | |
| "id": 2, | |
| "title": "Latent Size", | |
| "bounding": [ | |
| 5260, | |
| 1080, | |
| 450, | |
| 440 | |
| ], | |
| "color": "#3f789e", | |
| "flags": {} | |
| }, | |
| { | |
| "id": 3, | |
| "title": "Sampling", | |
| "bounding": [ | |
| 5740, | |
| 420, | |
| 780, | |
| 1100 | |
| ], | |
| "color": "#3f789e", | |
| "flags": {} | |
| }, | |
| { | |
| "id": 4, | |
| "title": "Prompt", | |
| "bounding": [ | |
| 5260, | |
| 420, | |
| 450, | |
| 640 | |
| ], | |
| "color": "#3f789e", | |
| "flags": {} | |
| }, | |
| { | |
| "id": 5, | |
| "title": "Image Size", | |
| "bounding": [ | |
| 4130, | |
| 1540, | |
| 530, | |
| 420 | |
| ], | |
| "color": "#3f789e", | |
| "flags": {} | |
| }, | |
| { | |
| "id": 9, | |
| "title": "Preset", | |
| "bounding": [ | |
| 4700, | |
| 1540, | |
| 1820, | |
| 780 | |
| ], | |
| "color": "#3f789e", | |
| "flags": {} | |
| } | |
| ], | |
| "links": [ | |
| { | |
| "id": 8, | |
| "origin_id": 24, | |
| "origin_slot": 0, | |
| "target_id": 10, | |
| "target_slot": 0, | |
| "type": "CONDITIONING" | |
| }, | |
| { | |
| "id": 33, | |
| "origin_id": 31, | |
| "origin_slot": 1, | |
| "target_id": 11, | |
| "target_slot": 0, | |
| "type": "INT" | |
| }, | |
| { | |
| "id": 36, | |
| "origin_id": 32, | |
| "origin_slot": 1, | |
| "target_id": 11, | |
| "target_slot": 1, | |
| "type": "INT" | |
| }, | |
| { | |
| "id": 11, | |
| "origin_id": 18, | |
| "origin_slot": 0, | |
| "target_id": 12, | |
| "target_slot": 0, | |
| "type": "NOISE" | |
| }, | |
| { | |
| "id": 13, | |
| "origin_id": 16, | |
| "origin_slot": 0, | |
| "target_id": 12, | |
| "target_slot": 2, | |
| "type": "SAMPLER" | |
| }, | |
| { | |
| "id": 14, | |
| "origin_id": 17, | |
| "origin_slot": 0, | |
| "target_id": 12, | |
| "target_slot": 3, | |
| "type": "SIGMAS" | |
| }, | |
| { | |
| "id": 15, | |
| "origin_id": 11, | |
| "origin_slot": 0, | |
| "target_id": 12, | |
| "target_slot": 4, | |
| "type": "LATENT" | |
| }, | |
| { | |
| "id": 16, | |
| "origin_id": 12, | |
| "origin_slot": 0, | |
| "target_id": 13, | |
| "target_slot": 0, | |
| "type": "LATENT" | |
| }, | |
| { | |
| "id": 17, | |
| "origin_id": 9, | |
| "origin_slot": 0, | |
| "target_id": 13, | |
| "target_slot": 1, | |
| "type": "VAE" | |
| }, | |
| { | |
| "id": 34, | |
| "origin_id": 31, | |
| "origin_slot": 1, | |
| "target_id": 17, | |
| "target_slot": 1, | |
| "type": "INT" | |
| }, | |
| { | |
| "id": 37, | |
| "origin_id": 32, | |
| "origin_slot": 1, | |
| "target_id": 17, | |
| "target_slot": 2, | |
| "type": "INT" | |
| }, | |
| { | |
| "id": 32, | |
| "origin_id": 27, | |
| "origin_slot": 0, | |
| "target_id": 31, | |
| "target_slot": 0, | |
| "type": "INT" | |
| }, | |
| { | |
| "id": 35, | |
| "origin_id": 28, | |
| "origin_slot": 0, | |
| "target_id": 32, | |
| "target_slot": 0, | |
| "type": "INT" | |
| }, | |
| { | |
| "id": 152, | |
| "origin_id": -10, | |
| "origin_slot": 0, | |
| "target_id": 24, | |
| "target_slot": 1, | |
| "type": "STRING" | |
| }, | |
| { | |
| "id": 153, | |
| "origin_id": -10, | |
| "origin_slot": 1, | |
| "target_id": 27, | |
| "target_slot": 0, | |
| "type": "INT" | |
| }, | |
| { | |
| "id": 154, | |
| "origin_id": -10, | |
| "origin_slot": 2, | |
| "target_id": 28, | |
| "target_slot": 0, | |
| "type": "INT" | |
| }, | |
| { | |
| "id": 155, | |
| "origin_id": -10, | |
| "origin_slot": 3, | |
| "target_id": 18, | |
| "target_slot": 0, | |
| "type": "INT" | |
| }, | |
| { | |
| "id": 158, | |
| "origin_id": -10, | |
| "origin_slot": 6, | |
| "target_id": 9, | |
| "target_slot": 0, | |
| "type": "COMBO" | |
| }, | |
| { | |
| "id": 195, | |
| "origin_id": 145, | |
| "origin_slot": 0, | |
| "target_id": 144, | |
| "target_slot": 0, | |
| "type": "STRING" | |
| }, | |
| { | |
| "id": 196, | |
| "origin_id": 148, | |
| "origin_slot": 0, | |
| "target_id": 145, | |
| "target_slot": 0, | |
| "type": "STRING" | |
| }, | |
| { | |
| "id": 197, | |
| "origin_id": 150, | |
| "origin_slot": 0, | |
| "target_id": 146, | |
| "target_slot": 0, | |
| "type": "STRING" | |
| }, | |
| { | |
| "id": 199, | |
| "origin_id": 147, | |
| "origin_slot": 0, | |
| "target_id": 148, | |
| "target_slot": 0, | |
| "type": "STRING" | |
| }, | |
| { | |
| "id": 200, | |
| "origin_id": 148, | |
| "origin_slot": 0, | |
| "target_id": 149, | |
| "target_slot": 0, | |
| "type": "STRING" | |
| }, | |
| { | |
| "id": 201, | |
| "origin_id": 148, | |
| "origin_slot": 0, | |
| "target_id": 150, | |
| "target_slot": 0, | |
| "type": "STRING" | |
| }, | |
| { | |
| "id": 202, | |
| "origin_id": 149, | |
| "origin_slot": 0, | |
| "target_id": 151, | |
| "target_slot": 0, | |
| "type": "STRING" | |
| }, | |
| { | |
| "id": 207, | |
| "origin_id": 151, | |
| "origin_slot": 1, | |
| "target_id": 17, | |
| "target_slot": 0, | |
| "type": "INT" | |
| }, | |
| { | |
| "id": 208, | |
| "origin_id": 144, | |
| "origin_slot": 0, | |
| "target_id": 17, | |
| "target_slot": 3, | |
| "type": "FLOAT" | |
| }, | |
| { | |
| "id": 209, | |
| "origin_id": 146, | |
| "origin_slot": 0, | |
| "target_id": 17, | |
| "target_slot": 4, | |
| "type": "FLOAT" | |
| }, | |
| { | |
| "id": 213, | |
| "origin_id": 24, | |
| "origin_slot": 0, | |
| "target_id": 155, | |
| "target_slot": 1, | |
| "type": "CONDITIONING" | |
| }, | |
| { | |
| "id": 214, | |
| "origin_id": 10, | |
| "origin_slot": 0, | |
| "target_id": 155, | |
| "target_slot": 3, | |
| "type": "CONDITIONING" | |
| }, | |
| { | |
| "id": 215, | |
| "origin_id": 155, | |
| "origin_slot": 0, | |
| "target_id": 12, | |
| "target_slot": 1, | |
| "type": "GUIDER" | |
| }, | |
| { | |
| "id": 218, | |
| "origin_id": 156, | |
| "origin_slot": 0, | |
| "target_id": 147, | |
| "target_slot": 0, | |
| "type": "STRING" | |
| }, | |
| { | |
| "id": 219, | |
| "origin_id": -10, | |
| "origin_slot": 8, | |
| "target_id": 156, | |
| "target_slot": 0, | |
| "type": "COMBO" | |
| }, | |
| { | |
| "id": 223, | |
| "origin_id": 157, | |
| "origin_slot": 0, | |
| "target_id": 155, | |
| "target_slot": 0, | |
| "type": "MODEL" | |
| }, | |
| { | |
| "id": 224, | |
| "origin_id": 158, | |
| "origin_slot": 0, | |
| "target_id": 24, | |
| "target_slot": 0, | |
| "type": "CLIP" | |
| }, | |
| { | |
| "id": 230, | |
| "origin_id": 164, | |
| "origin_slot": 0, | |
| "target_id": 155, | |
| "target_slot": 2, | |
| "type": "MODEL" | |
| }, | |
| { | |
| "id": 231, | |
| "origin_id": -10, | |
| "origin_slot": 4, | |
| "target_id": 162, | |
| "target_slot": 0, | |
| "type": "COMBO" | |
| }, | |
| { | |
| "id": 232, | |
| "origin_id": -10, | |
| "origin_slot": 5, | |
| "target_id": 158, | |
| "target_slot": 0, | |
| "type": "COMBO" | |
| }, | |
| { | |
| "id": 233, | |
| "origin_id": -10, | |
| "origin_slot": 7, | |
| "target_id": 164, | |
| "target_slot": 0, | |
| "type": "COMBO" | |
| }, | |
| { | |
| "id": 234, | |
| "origin_id": 162, | |
| "origin_slot": 0, | |
| "target_id": 165, | |
| "target_slot": 0, | |
| "type": "MODEL" | |
| }, | |
| { | |
| "id": 235, | |
| "origin_id": 165, | |
| "origin_slot": 0, | |
| "target_id": 157, | |
| "target_slot": 0, | |
| "type": "MODEL" | |
| }, | |
| { | |
| "id": 238, | |
| "origin_id": 13, | |
| "origin_slot": 0, | |
| "target_id": -20, | |
| "target_slot": 0, | |
| "type": "IMAGE" | |
| } | |
| ], | |
| "extra": {} | |
| }, | |
| { | |
| "id": "f5f04613-ee09-4cd9-9ada-a880360891d4", | |
| "version": 1, | |
| "state": { | |
| "lastGroupId": 9, | |
| "lastNodeId": 168, | |
| "lastLinkId": 238, | |
| "lastRerouteId": 0 | |
| }, | |
| "revision": 0, | |
| "config": {}, | |
| "name": "JSON Prompt Builder (Gemma4)", | |
| "inputNode": { | |
| "id": -10, | |
| "bounding": [ | |
| 4872, | |
| 2581, | |
| 128, | |
| 88 | |
| ] | |
| }, | |
| "outputNode": { | |
| "id": -20, | |
| "bounding": [ | |
| 6420, | |
| 2571, | |
| 182.4166717529297, | |
| 68 | |
| ] | |
| }, | |
| "inputs": [ | |
| { | |
| "id": "b96a4263-d942-4b93-9225-03d8aff697ed", | |
| "name": "value", | |
| "type": "STRING", | |
| "linkIds": [ | |
| 180 | |
| ], | |
| "label": "user_prompt", | |
| "pos": [ | |
| 4976, | |
| 2605 | |
| ] | |
| }, | |
| { | |
| "id": "bb2cec40-0d4f-4897-a9e3-64b8aa354532", | |
| "name": "clip_name", | |
| "type": "COMBO", | |
| "linkIds": [ | |
| 181 | |
| ], | |
| "pos": [ | |
| 4976, | |
| 2625 | |
| ] | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "519e0a8b-4e24-4efd-9c42-7dd3e24a1984", | |
| "name": "generated_text", | |
| "type": "STRING", | |
| "linkIds": [ | |
| 174 | |
| ], | |
| "localized_name": "generated_text", | |
| "label": "json_structured_prompt", | |
| "pos": [ | |
| 6444, | |
| 2595 | |
| ] | |
| } | |
| ], | |
| "widgets": [], | |
| "nodes": [ | |
| { | |
| "id": 110, | |
| "type": "CLIPLoader", | |
| "pos": [ | |
| 5520, | |
| 2200 | |
| ], | |
| "size": [ | |
| 370, | |
| 170 | |
| ], | |
| "flags": {}, | |
| "order": 1, | |
| "mode": 0, | |
| "showAdvanced": false, | |
| "inputs": [ | |
| { | |
| "localized_name": "clip_name", | |
| "name": "clip_name", | |
| "type": "COMBO", | |
| "widget": { | |
| "name": "clip_name" | |
| }, | |
| "link": 181 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "CLIP", | |
| "name": "CLIP", | |
| "type": "CLIP", | |
| "links": [ | |
| 175 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "CLIPLoader", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.21.0", | |
| "models": [ | |
| { | |
| "name": "gemma4_e4b_it_fp8_scaled.safetensors", | |
| "url": "https://huggingface.co/Comfy-Org/gemma-4/resolve/main/text_encoders/gemma4_e4b_it_fp8_scaled.safetensors", | |
| "directory": "text_encoders" | |
| } | |
| ] | |
| }, | |
| "widgets_values": [ | |
| "gemma4_e4b_it_fp8_scaled.safetensors", | |
| "ideogram4", | |
| "default" | |
| ] | |
| }, | |
| { | |
| "id": 112, | |
| "type": "TextGenerate", | |
| "pos": [ | |
| 5960, | |
| 2190 | |
| ], | |
| "size": [ | |
| 400, | |
| 412 | |
| ], | |
| "flags": {}, | |
| "order": 2, | |
| "mode": 0, | |
| "showAdvanced": true, | |
| "inputs": [ | |
| { | |
| "localized_name": "clip", | |
| "name": "clip", | |
| "type": "CLIP", | |
| "link": 175 | |
| }, | |
| { | |
| "localized_name": "image", | |
| "name": "image", | |
| "shape": 7, | |
| "type": "IMAGE", | |
| "link": null | |
| }, | |
| { | |
| "localized_name": "video", | |
| "name": "video", | |
| "shape": 7, | |
| "type": "IMAGE", | |
| "link": null | |
| }, | |
| { | |
| "localized_name": "audio", | |
| "name": "audio", | |
| "shape": 7, | |
| "type": "AUDIO", | |
| "link": null | |
| }, | |
| { | |
| "localized_name": "prompt", | |
| "name": "prompt", | |
| "type": "STRING", | |
| "widget": { | |
| "name": "prompt" | |
| }, | |
| "link": 178 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "generated_text", | |
| "name": "generated_text", | |
| "type": "STRING", | |
| "links": [ | |
| 174 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "TextGenerate", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.21.0" | |
| }, | |
| "widgets_values": [ | |
| "", | |
| 2048, | |
| "on", | |
| 0.7, | |
| 64, | |
| 0.95, | |
| 0.05, | |
| 1.05, | |
| 0, | |
| 0, | |
| false, | |
| true | |
| ] | |
| }, | |
| { | |
| "id": 113, | |
| "type": "StringConcatenate", | |
| "pos": [ | |
| 5510, | |
| 2580 | |
| ], | |
| "size": [ | |
| 380, | |
| 250 | |
| ], | |
| "flags": {}, | |
| "order": 3, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "string_a", | |
| "name": "string_a", | |
| "type": "STRING", | |
| "widget": { | |
| "name": "string_a" | |
| }, | |
| "link": 176 | |
| }, | |
| { | |
| "localized_name": "string_b", | |
| "name": "string_b", | |
| "type": "STRING", | |
| "widget": { | |
| "name": "string_b" | |
| }, | |
| "link": 177 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "STRING", | |
| "name": "STRING", | |
| "type": "STRING", | |
| "links": [ | |
| 178 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "StringConcatenate", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [ | |
| "", | |
| "", | |
| " " | |
| ] | |
| }, | |
| { | |
| "id": 114, | |
| "type": "PrimitiveStringMultiline", | |
| "pos": [ | |
| 5070, | |
| 2580 | |
| ], | |
| "size": [ | |
| 400, | |
| 200 | |
| ], | |
| "flags": {}, | |
| "order": 0, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "localized_name": "STRING", | |
| "name": "STRING", | |
| "type": "STRING", | |
| "links": [ | |
| 176 | |
| ] | |
| } | |
| ], | |
| "title": "System Prompt", | |
| "properties": { | |
| "Node name for S&R": "PrimitiveStringMultiline", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [ | |
| "You are a scene composition assistant. Given a user request for an image, you output a single JSON document that describes the scene in a structured, render-ready form. You output JSON only — no prose, no markdown fences, no commentary.\n\n# Output format\n\nYour response MUST be a single valid JSON object matching exactly this shape and key set:\n\n```\n{\n \"high_level_description\": \"\",\n \"style_description\": {\n \"aesthetics\": \"\",\n \"lighting\": \"\",\n \"photo\": \"\",\n \"medium\": \"\",\n \"color_palette\": []\n },\n \"compositional_deconstruction\": {\n \"background\": \"\",\n \"elements\": [\n {\n \"type\": \"obj\",\n \"bbox\": [0, 0, 0, 0],\n \"desc\": \"\",\n \"color_palette\": []\n }\n ]\n }\n}\n```\n\nAll keys above are required and must appear exactly as named. Do not add, rename, or remove any keys.\n\n# Field rules\n\n## high_level_description\n\n- String. One sentence or short paragraph summarizing the whole image: setting, time of day, main subjects, and overall mood.\n\n## style_description\n\nA flat object describing how the image is rendered, independent of what it depicts.\n\n- `aesthetics` (string): Overall visual style and treatment (e.g. \"clean product photography, sharp focus, shallow depth of field\", \"moody cinematic\", \"flat vector illustration\").\n- `lighting` (string): Light source, direction, quality, and color temperature (e.g. \"soft natural window light\", \"harsh midday sun from the left\", \"warm tungsten key with cool rim\").\n- `photo` (string): Camera/lens/photographic specifics when relevant (e.g. \"DSLR macro photograph\", \"35mm film, slight grain\", \"200mm telephoto, f/2.8\"). Use an empty string `\"\"` if the medium is not photographic.\n- `medium` (string): The medium category (e.g. \"photography\", \"oil painting\", \"3D render\", \"watercolor\", \"digital illustration\").\n- `color_palette` (array of strings): 3–6 dominant colors of the overall image as uppercase hex codes in `#RRGGBB` form (e.g. `[\"#B0301F\", \"#7A4B2A\", \"#E8D9C0\"]`).\n\n## compositional_deconstruction.background\n\n- String. Describe only the environment behind and around the subjects: setting, surface, atmosphere, depth cues. Do NOT describe any element listed in `elements`.\n\n## compositional_deconstruction.elements\n\nArray with at least 1 item, listed roughly background-to-foreground.\n\nEach element:\n\n- `type` (string): Always `\"obj\"`.\n- `bbox` (array of 4 integers): `[x_min, y_min, x_max, y_max]` on a 1000×1000 canvas with origin at the top-left, x increasing rightward, y increasing downward. Must satisfy `0 ≤ x_min < x_max ≤ 1000` and `0 ≤ y_min < y_max ≤ 1000`. The box must reflect the element's described position and relative size.\n- `desc` (string): Identity, pose and orientation, location in the frame, relative size, key visual details (textures, markings), gaze or motion, and any atmosphere/light interaction specific to this element. Do not restate global background or style information.\n- `color_palette` (array of strings): 2–5 dominant colors of THIS element as uppercase hex codes in `#RRGGBB` form.\n\n# Composition guidance\n\n- Place elements deliberately: vary depth, avoid centering everything, and let bboxes match the prose (\"midground left\" should not have `x_min` near 800).\n- Keep `style_description` and every `desc` mutually consistent in palette, lighting, and atmosphere.\n- Each element's `color_palette` should be plausibly drawn from or harmonious with the overall `style_description.color_palette`.\n- Prefer 3–8 elements unless the user explicitly asks for more or fewer.\n\n# Hard constraints\n\n- Output valid JSON and nothing else.\n- Use only the keys defined above, exactly as spelled. No extra fields.\n- Do not wrap the JSON in code fences or add explanations.\n\n# Instruction\n\nGenerate the JSON based on this user prompt: " | |
| ] | |
| }, | |
| { | |
| "id": 115, | |
| "type": "PrimitiveStringMultiline", | |
| "pos": [ | |
| 5060, | |
| 2850 | |
| ], | |
| "size": [ | |
| 400, | |
| 200 | |
| ], | |
| "flags": {}, | |
| "order": 4, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "localized_name": "value", | |
| "name": "value", | |
| "type": "STRING", | |
| "widget": { | |
| "name": "value" | |
| }, | |
| "link": 180 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "localized_name": "STRING", | |
| "name": "STRING", | |
| "type": "STRING", | |
| "links": [ | |
| 177 | |
| ] | |
| } | |
| ], | |
| "title": "User Prompt", | |
| "properties": { | |
| "Node name for S&R": "PrimitiveStringMultiline", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "cnr_id": "comfy-core", | |
| "ver": "0.23.0" | |
| }, | |
| "widgets_values": [ | |
| "" | |
| ] | |
| } | |
| ], | |
| "groups": [], | |
| "links": [ | |
| { | |
| "id": 175, | |
| "origin_id": 110, | |
| "origin_slot": 0, | |
| "target_id": 112, | |
| "target_slot": 0, | |
| "type": "CLIP" | |
| }, | |
| { | |
| "id": 178, | |
| "origin_id": 113, | |
| "origin_slot": 0, | |
| "target_id": 112, | |
| "target_slot": 4, | |
| "type": "STRING" | |
| }, | |
| { | |
| "id": 176, | |
| "origin_id": 114, | |
| "origin_slot": 0, | |
| "target_id": 113, | |
| "target_slot": 0, | |
| "type": "STRING" | |
| }, | |
| { | |
| "id": 177, | |
| "origin_id": 115, | |
| "origin_slot": 0, | |
| "target_id": 113, | |
| "target_slot": 1, | |
| "type": "STRING" | |
| }, | |
| { | |
| "id": 174, | |
| "origin_id": 112, | |
| "origin_slot": 0, | |
| "target_id": -20, | |
| "target_slot": 0, | |
| "type": "STRING" | |
| }, | |
| { | |
| "id": 180, | |
| "origin_id": -10, | |
| "origin_slot": 0, | |
| "target_id": 115, | |
| "target_slot": 0, | |
| "type": "STRING" | |
| }, | |
| { | |
| "id": 181, | |
| "origin_id": -10, | |
| "origin_slot": 1, | |
| "target_id": 110, | |
| "target_slot": 0, | |
| "type": "COMBO" | |
| } | |
| ], | |
| "extra": {} | |
| } | |
| ] | |
| }, | |
| "config": {}, | |
| "extra": { | |
| "frontendVersion": "1.44.19", | |
| "VHS_latentpreview": false, | |
| "VHS_latentpreviewrate": 0, | |
| "VHS_MetadataImage": true, | |
| "VHS_KeepIntermediate": true, | |
| "favoritedWidgets": { | |
| "favorites": [ | |
| { | |
| "nodeLocatorId": "83e6e004-48ea-408e-9024-eb49c3d7dc14:12", | |
| "widgetName": "$$canvas-image-preview" | |
| } | |
| ] | |
| }, | |
| "ds": { | |
| "scale": 0.585406875067365, | |
| "offset": [ | |
| -4016.983831314087, | |
| -131.81761185220762 | |
| ] | |
| } | |
| }, | |
| "version": 0.4 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment