Ideogram4-Inpaint-LoRA / ideogram4_reference_workflow.json
BitPoet's picture
Upload ideogram4_reference_workflow.json
d04ae0f verified
{
"id": "2bafd387-a303-4b6f-ad46-9bb9ce0561b5",
"revision": 0,
"last_node_id": 369,
"last_link_id": 690,
"nodes": [
{
"id": 100,
"type": "MarkdownNote",
"pos": [
5122.727272727271,
476.36363636363643
],
"size": [
640,
980
],
"flags": {
"collapsed": true
},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Note: Ideogram 4.0",
"properties": {},
"widgets_values": [
"### About the model\n\nThe model is trained on **structured JSON captions** (scene summary, style block, background, and optional per-object descriptions with bounding boxes and hex color palettes). Official inference validates prompts against that schema. Guidance uses **flow-matching** with **asymmetric classifier-free guidance** (the unconditional pass drops text tokens)—not a separate negative prompt string.\n\n**Practical strengths:** flexible resolution (about **256–2048 px per side**), layout via normalized bounding boxes `[y_min, x_min, y_max, x_max]` on a 0–1000 grid, palette control with hex colors, and strong in-image text rendering when described in JSON.\n\n**NOTE: If you see \"Image blocked by safety filter\" it is because of safety training in the model itself, ComfyUI does not have any safety filter.**\n---\n\n### How to build prompts here\n\nThis template supports **three** ways to produce the JSON the model expects:\n\n**(a) Raw input**: Paste or type directly into the subgraph **CLIP Text Encode** prompt (or the exposed **prompt** widget). You may use plain natural language, but **structured JSON** (as in the subgraph default) gives the most predictable layout and style control.\n\n**(b) Model-assisted (LLM)**: Enable the **LLM Prompt Builder** group (Gemma 4). Enter a short idea in **user_prompt**; the system prompt asks Gemma to emit schema-compliant JSON. Preview the result, then copy or route it to the image subgraph prompt."
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 352,
"type": "MarkdownNote",
"pos": [
4524.745734671553,
1147.0064563073004
],
"size": [
380.2965520238922,
88
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Character card for a fictional, photorealistic subject with consistent facial and body features. The subject is a middle-aged, handsome scientist with short, dark hair and a stubble, wearing a lab coat and a futuristic headband with a microscopic lens and a digital screen."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 99,
"type": "MarkdownNote",
"pos": [
4499.090909090908,
509.09090909090924
],
"size": [
523.1698654463489,
590.0614091188509
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Note: Model link",
"properties": {},
"widgets_values": [
"Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links (for Local Users)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors)\n\n**diffusion_models**\n\n- [ideogram4_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Ideogram-4/resolve/main/diffusion_models/ideogram4_fp8_scaled.safetensors)\n- [ideogram4_unconditional_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Ideogram-4/resolve/main/diffusion_models/ideogram4_unconditional_fp8_scaled.safetensors)\n\n**text_encoders**\n\n- [qwen3vl_8b_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Qwen3-VL/resolve/main/text_encoders/qwen3vl_8b_fp8_scaled.safetensors)\n- [gemma4_e4b_it_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/gemma-4/resolve/main/text_encoders/gemma4_e4b_it_fp8_scaled.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 vae/\n│ │ └── flux2-vae.safetensors\n│ ├── 📂 diffusion_models/\n│ │ ├── ideogram4_fp8_scaled.safetensors\n│ │ └── ideogram4_unconditional_fp8_scaled.safetensors\n│ └── 📂 text_encoders/\n│ ├── qwen3vl_8b_fp8_scaled.safetensors\n│ └── gemma4_e4b_it_fp8_scaled.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 353,
"type": "MarkdownNote",
"pos": [
4522.341342154346,
1290.409313208149
],
"size": [
375.4981539761284,
460.2573187350913
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"{\n \"high_level_description\": \"Character card for a fictional, photorealistic subject with consistent facial and body features. The subject is a lean male 40-year-old factory worker with messy short hair in a blue overall\",\n \"style_description\": {\n \"aesthetics\": \"\",\n \"lighting\": \"Perfect studio light\",\n \"photo\": \"\",\n \"medium\": \"\"\n },\n \"compositional_deconstruction\": {\n \"background\": \"The background is a neutral white\",\n \"elements\": [\n {\n \"type\": \"obj\",\n \"bbox\": [57, 18, 369, 170],\n \"desc\": \"Frontal head shot of the subject\"\n },\n {\n \"type\": \"obj\",\n \"bbox\": [425, 43, 997, 302],\n \"desc\": \"Torso photograph of the subject in which she is visible from head to waist\"\n },\n {\n \"type\": \"text\",\n \"bbox\": [8, 18, 42, 169],\n \"text\": \"Head (frontal)\",\n \"desc\": \"Dark gray sans-serif text on white background\"\n },\n {\n \"type\": \"text\",\n \"bbox\": [8, 177, 49, 320],\n \"text\": \"Head (profile)\",\n \"desc\": \"Dark gray sans-serif text on white background\"\n },\n {\n \"type\": \"obj\",\n \"bbox\": [57, 176, 364, 318],\n \"desc\": \"Profile head shot of the subject\"\n },\n {\n \"type\": \"text\",\n \"bbox\": [380, 44, 415, 302],\n \"text\": \"Torso\",\n \"desc\": \"Dark gray sans-serif text on white background\"\n },\n {\n \"type\": \"obj\",\n \"bbox\": [55, 398, 998, 653],\n \"desc\": \"Frontal full body shot of the subject in which she is visible from head to toes\"\n },\n {\n \"type\": \"text\",\n \"bbox\": [8, 397, 42, 652],\n \"text\": \"Full frontal\",\n \"desc\": \"Dark gray sans-serif text on white background\"\n },\n {\n \"type\": \"text\",\n \"bbox\": [11, 697, 41, 942],\n \"text\": \"Angled profile shot\",\n \"desc\": \"Dark gray sans-serif text on white background\"\n },\n {\n \"type\": \"obj\",\n \"bbox\": [56, 698, 997, 941],\n \"desc\": \"An angled full body profile shot of the subject in which she is visible from head to toes\"\n }\n ]\n }\n}"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 361,
"type": "PreviewAny",
"pos": [
7554.314311564072,
1501.4599678679
],
"size": [
620.9399846828428,
161.25473458795773
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 688
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.24.0",
"Node name for S&R": "PreviewAny"
},
"widgets_values": [
null,
null,
null
]
},
{
"id": 349,
"type": "PreviewImage",
"pos": [
5695.375329441206,
1042.8311155714396
],
"size": [
565.596334642405,
302.6016378630454
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 660
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "PreviewImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 358,
"type": "LoadImage",
"pos": [
5170.386159940669,
567.4764211769806
],
"size": [
499.3105654466626,
417.74963953456927
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
676,
677
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"title": "Load Input Image",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.24.0",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"idoinpaint_reference (1).png",
"image"
]
},
{
"id": 25,
"type": "PreviewImage",
"pos": [
6867.255279383544,
540.0652588310528
],
"size": [
578.5999999999995,
495.20000000000005
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 150
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "PreviewImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 347,
"type": "Ideogram4PromptBuilderKJ",
"pos": [
5166.075986755594,
1044.5980858503012
],
"size": [
501.8608859519427,
390
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "image",
"shape": 7,
"type": "IMAGE",
"link": 677
},
{
"name": "import_json",
"shape": 7,
"type": "STRING",
"link": 690
},
{
"name": "bboxes",
"shape": 7,
"type": "BOUNDING_BOX",
"link": null
}
],
"outputs": [
{
"name": "prompt",
"type": "STRING",
"links": [
659,
688
]
},
{
"name": "preview",
"type": "IMAGE",
"links": [
660
]
},
{
"name": "bboxes",
"type": "BOUNDING_BOX",
"links": null
},
{
"name": "width",
"type": "INT",
"links": [
680
]
},
{
"name": "height",
"type": "INT",
"links": [
681
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "ce5967b3bfbf569d14dd4d721ac9906458e5e7b6",
"Node name for S&R": "Ideogram4PromptBuilderKJ",
"dockPinned": true,
"dockGraph": {
"x": -63.5728182459276,
"y": 435.62982183421036,
"w": 560,
"h": 638
},
"docked": true,
"dockMin": false
},
"widgets_values": [
1024,
1024,
"",
"",
"none",
"",
"",
"",
"",
"[{\"x\":0.4649289733183957,\"y\":0.29642691413842015,\"w\":0.24513651094232386,\"h\":0.11049591551808241,\"type\":\"obj\",\"text\":\"\",\"desc\":\"Add black sunglasses\",\"palette\":[]}]",
25,
"when empty",
""
],
"ideo": {
"boxes": [
{
"x": 0.4649289733183957,
"y": 0.29642691413842015,
"w": 0.24513651094232386,
"h": 0.11049591551808241,
"type": "obj",
"text": "",
"desc": "Add black sunglasses",
"palette": []
}
],
"palette": [],
"importMode": "when empty",
"dock": {
"pinned": true,
"graph": {
"x": -63.5728182459276,
"y": 435.62982183421036,
"w": 560,
"h": 638
},
"panelH": 150,
"min": false
}
}
},
{
"id": 368,
"type": "GetNode",
"pos": [
4926.075986755594,
1136.5980858503012
],
"size": [
210,
60
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "*",
"type": "*",
"links": [
690
]
}
],
"properties": {
"Node name for S&R": "GetNode",
"aux_id": "kijai/ComfyUI-KJNodes"
},
"widgets_values": [
""
]
},
{
"id": 369,
"type": "GetNode",
"pos": [
4686.075986755594,
1136.5980858503012
],
"size": [
210,
60
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "*",
"type": "*",
"links": null
}
],
"properties": {
"Node name for S&R": "GetNode",
"aux_id": "kijai/ComfyUI-KJNodes"
},
"widgets_values": [
""
]
},
{
"id": 98,
"type": "83e6e004-48ea-408e-9024-eb49c3d7dc14",
"pos": [
6330,
550
],
"size": [
497.06012314613724,
716.4111554674901
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"label": "prompt",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 659
},
{
"label": "width",
"name": "value",
"type": "INT",
"widget": {
"name": "value"
},
"link": 680
},
{
"label": "height",
"name": "value_1",
"type": "INT",
"widget": {
"name": "value_1"
},
"link": 681
},
{
"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
},
{
"name": "reference_image",
"type": "IMAGE",
"link": 676
},
{
"label": "inpaint_lora",
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
},
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
150
]
},
{
"label": "Width",
"name": "INT",
"type": "INT",
"links": []
},
{
"label": "Height",
"name": "INT_1",
"type": "INT",
"links": []
}
],
"properties": {
"proxyWidgets": [
[
"24",
"text"
],
[
"27",
"value"
],
[
"28",
"value"
],
[
"18",
"noise_seed"
],
[
"23",
"unet_name"
],
[
"14",
"clip_name"
],
[
"9",
"vae_name"
],
[
"154",
"unet_name"
],
[
"156",
"choice"
],
[
"359",
"lora_name"
],
[
"344",
"control_after_generate"
],
[
"357",
"$$canvas-image-preview"
]
],
"cnr_id": "comfy-core",
"ver": "0.23.0",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
}
],
"links": [
[
150,
98,
0,
25,
0,
"IMAGE"
],
[
659,
347,
0,
98,
0,
"STRING"
],
[
660,
347,
1,
349,
0,
"IMAGE"
],
[
676,
358,
0,
98,
5,
"IMAGE"
],
[
677,
358,
0,
347,
0,
"IMAGE"
],
[
680,
347,
3,
98,
1,
"INT"
],
[
681,
347,
4,
98,
2,
"INT"
],
[
688,
347,
0,
361,
0,
"STRING"
],
[
690,
368,
0,
347,
1,
"STRING"
]
],
"groups": [
{
"id": 7,
"title": "LLM Prompt Builder (Select and Ctrl+B to enable)",
"bounding": [
5096.272727272686,
524.5454545454546,
1216.30462156075,
1098.8160550279802
],
"color": "#444",
"flags": {}
}
],
"definitions": {
"subgraphs": [
{
"id": "83e6e004-48ea-408e-9024-eb49c3d7dc14",
"version": 1,
"state": {
"lastGroupId": 10,
"lastNodeId": 369,
"lastLinkId": 690,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Text to Image (Ideogram v4)",
"inputNode": {
"id": -10,
"bounding": [
3490,
920,
154.9000015258789,
268
]
},
"outputNode": {
"id": -20,
"bounding": [
6850,
936,
128,
108
]
},
"inputs": [
{
"id": "4bc742d1-7b4b-452c-90d9-0d76ebcdae76",
"name": "text",
"type": "STRING",
"linkIds": [
152
],
"label": "prompt",
"pos": [
3620.900001525879,
944
]
},
{
"id": "8d4038eb-73c7-45e9-bba1-f068f55e8d32",
"name": "value",
"type": "INT",
"linkIds": [
153
],
"label": "width",
"pos": [
3620.900001525879,
964
]
},
{
"id": "281550e6-6acf-4cbe-aec1-9eb803b4dec1",
"name": "value_1",
"type": "INT",
"linkIds": [
154
],
"label": "height",
"pos": [
3620.900001525879,
984
]
},
{
"id": "fae56884-2f1a-470b-a25f-40e7a87ef69d",
"name": "noise_seed",
"type": "INT",
"linkIds": [
663
],
"pos": [
3620.900001525879,
1004
]
},
{
"id": "3497309c-a7d7-4e28-9330-142c15881632",
"name": "unet_name",
"type": "COMBO",
"linkIds": [
156
],
"pos": [
3620.900001525879,
1024
]
},
{
"id": "e87126db-7147-465e-b129-370ed2c6cc22",
"name": "clip_name",
"type": "COMBO",
"linkIds": [
157
],
"pos": [
3620.900001525879,
1044
]
},
{
"id": "a1e6c080-b11b-4d5c-a3a8-fcf4df654cf7",
"name": "vae_name",
"type": "COMBO",
"linkIds": [
158
],
"pos": [
3620.900001525879,
1064
]
},
{
"id": "b0d16516-95de-44d9-bea8-3cd2e7c78e9a",
"name": "unet_name_1",
"type": "COMBO",
"linkIds": [
216
],
"label": "unconditional_unet",
"pos": [
3620.900001525879,
1084
]
},
{
"id": "249fd825-e6b3-489d-a341-6d8050500f5e",
"name": "choice",
"type": "COMBO",
"linkIds": [
219
],
"label": "mode",
"pos": [
3620.900001525879,
1104
]
},
{
"id": "94a1887c-7b49-4132-8270-d46ed732a4eb",
"name": "reference_image",
"type": "IMAGE",
"linkIds": [
675
],
"pos": [
3620.900001525879,
1124
]
},
{
"id": "a7246dfd-ec7c-4c79-a367-64172ce78da4",
"name": "lora_name",
"type": "COMBO",
"linkIds": [
689
],
"label": "inpaint_lora",
"pos": [
3620.900001525879,
1144
]
}
],
"outputs": [
{
"id": "b81e4f60-e543-4f02-875b-b0f1bdc274f2",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
25
],
"localized_name": "IMAGE",
"pos": [
6874,
960
]
},
{
"id": "550f480e-392b-408e-a84a-ded968fdc5f9",
"name": "INT",
"type": "INT",
"linkIds": [
227
],
"label": "Width",
"pos": [
6874,
980
]
},
{
"id": "72399059-ddd3-4c89-9fe5-12145c7ffec1",
"name": "INT_1",
"type": "INT",
"linkIds": [
228
],
"label": "Height",
"pos": [
6874,
1000
]
}
],
"widgets": [],
"nodes": [
{
"id": 9,
"type": "VAELoader",
"pos": [
4730,
1220
],
"size": [
470,
110
],
"flags": {},
"order": 2,
"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,
672
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "VAELoader",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"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": 11,
"type": "EmptyFlux2LatentImage",
"pos": [
5330,
1180
],
"size": [
270,
170
],
"flags": {},
"order": 4,
"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,
673
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "EmptyFlux2LatentImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 12,
"type": "SamplerCustomAdvanced",
"pos": [
6160,
500
],
"size": [
290,
170
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "noise",
"name": "noise",
"type": "NOISE",
"link": 658
},
{
"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": 226
},
{
"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": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "SamplerCustomAdvanced",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 13,
"type": "VAEDecode",
"pos": [
6560,
500
],
"size": [
230,
100
],
"flags": {},
"order": 6,
"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": [
25
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "VAEDecode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 24,
"type": "CLIPTextEncode",
"pos": [
5270,
500
],
"size": [
430,
420
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 24
},
{
"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,
671
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "CLIPTextEncode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"{\n \"high_level_description\": \"A highly intimate and dramatic scene featuring two women in a luxurious living room, illuminated by warm, moody lighting.\",\n \"style_description\": {\n \"aesthetics\": \"moody cinematic, hyperrealistic, high contrast\",\n \"lighting\": \"warm, low-key tungsten lighting casting deep shadows\",\n \"photo\": \"85mm prime lens, shallow depth of field\",\n \"medium\": \"photography\",\n \"color_palette\": [\n \"#4A2C2A\",\n \"#FFB88C\",\n \"#212121\",\n \"#F5E0C8\"\n ]\n },\n \"compositional_deconstruction\": {\n \"background\": \"The living room setting is dimly visible, suggesting dark wood paneling or rich, shadowed wall textures, creating a sense of opulent privacy.\",\n \"elements\": [\n {\n \"type\": \"obj\",\n \"bbox\": [\n 50,\n 250,\n 950,\n 850\n ],\n \"desc\": \"A large, tufted black leather couch, providing a dark, textured base for the figures. It occupies the central midground.\",\n \"color_palette\": [\n \"#212121\",\n \"#333333\"\n ]\n },\n {\n \"type\": \"obj\",\n \"bbox\": [\n 250,\n 200,\n 750,\n 650\n ],\n \"desc\": \"The blond woman, seated provocatively on the couch with legs spread wide. Her skin glows softly under the warm light, contrasting with the dark leather.\",\n \"color_palette\": [\n \"#F5E0C8\",\n \"#FFB88C\",\n \"#D4AF37\"\n ]\n },\n {\n \"type\": \"obj\",\n \"bbox\": [\n 300,\n 550,\n 650,\n 850\n ],\n \"desc\": \"The black-haired woman, kneeling directly in front of the blond woman, her face completely pressed into the blond woman's groin area. Her posture is submissive and intensely focused.\",\n \"color_palette\": [\n \"#1A1A1A\",\n \"#4A2C2A\"\n ]\n }\n ]\n }\n}"
]
},
{
"id": 31,
"type": "ComfyMathExpression",
"pos": [
5340,
1400
],
"size": [
230,
80
],
"flags": {
"collapsed": true
},
"order": 14,
"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": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "ComfyMathExpression",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"max(((a + 15) // 16) * 16, 256)"
]
},
{
"id": 32,
"type": "ComfyMathExpression",
"pos": [
5350,
1470
],
"size": [
230,
80
],
"flags": {
"collapsed": true
},
"order": 15,
"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": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "ComfyMathExpression",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"max(((a + 15) // 16) * 16, 256)"
]
},
{
"id": 144,
"type": "ComfyNumberConvert",
"pos": [
5920,
1870
],
"size": [
230,
100
],
"flags": {},
"order": 16,
"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": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "ComfyNumberConvert",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 145,
"type": "JsonExtractString",
"pos": [
5450,
1870
],
"size": [
400,
200
],
"flags": {},
"order": 17,
"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": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "JsonExtractString",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"",
"mu"
]
},
{
"id": 146,
"type": "ComfyNumberConvert",
"pos": [
5930,
2110
],
"size": [
230,
100
],
"flags": {},
"order": 18,
"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": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "ComfyNumberConvert",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 147,
"type": "JsonExtractString",
"pos": [
5010,
1630
],
"size": [
410,
470
],
"flags": {},
"order": 19,
"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": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "JsonExtractString",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"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}",
"Default"
]
},
{
"id": 148,
"type": "StringReplace",
"pos": [
5050,
2150
],
"size": [
230,
40
],
"flags": {
"collapsed": true
},
"order": 20,
"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": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "StringReplace",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"",
"'",
"\""
]
},
{
"id": 149,
"type": "JsonExtractString",
"pos": [
5460,
1610
],
"size": [
400,
200
],
"flags": {},
"order": 21,
"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": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "JsonExtractString",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"",
"num_steps"
]
},
{
"id": 150,
"type": "JsonExtractString",
"pos": [
5450,
2110
],
"size": [
400,
200
],
"flags": {},
"order": 22,
"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": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "JsonExtractString",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"",
"std"
]
},
{
"id": 151,
"type": "ComfyNumberConvert",
"pos": [
5920,
1620
],
"size": [
230,
100
],
"flags": {},
"order": 23,
"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": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "ComfyNumberConvert",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 154,
"type": "UNETLoader",
"pos": [
4730,
740
],
"size": [
470,
170
],
"flags": {},
"order": 24,
"mode": 0,
"showAdvanced": true,
"inputs": [
{
"localized_name": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": 216
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
211
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "UNETLoader",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"models": [
{
"name": "ideogram4_unconditional_fp8_scaled.safetensors",
"url": "https://huggingface.co/Comfy-Org/Ideogram-4/resolve/main/diffusion_models/ideogram4_unconditional_fp8_scaled.safetensors",
"directory": "diffusion_models"
}
]
},
"widgets_values": [
"Ideogram4\\ideogram4_unconditional_fp8_scaled.safetensors",
"default"
]
},
{
"id": 157,
"type": "CFGOverride",
"pos": [
5790,
650
],
"size": [
260,
170
],
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 679
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
223
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "CFGOverride",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
3,
0.9,
1
]
},
{
"id": 156,
"type": "CustomCombo",
"pos": [
4720,
1630
],
"size": [
270,
280
],
"flags": {},
"order": 26,
"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": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "CustomCombo",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"Default",
1,
"Quality",
"Default",
"Turbo",
""
]
},
{
"id": 17,
"type": "Ideogram4Scheduler",
"pos": [
5790,
1260
],
"size": [
270,
240
],
"flags": {},
"order": 8,
"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": [
225
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "Ideogram4Scheduler",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
20,
1024,
1024,
0.5,
1.75
]
},
{
"id": 27,
"type": "PrimitiveInt",
"pos": [
4240,
1610
],
"size": [
270,
110
],
"flags": {},
"order": 12,
"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,
227
]
}
],
"title": "Int (Width)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "PrimitiveInt",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
1024,
"fixed"
]
},
{
"id": 28,
"type": "PrimitiveInt",
"pos": [
4250,
1800
],
"size": [
270,
110
],
"flags": {},
"order": 13,
"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,
228
]
}
],
"title": "Int (Height)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "PrimitiveInt",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
1024,
"fixed"
]
},
{
"id": 14,
"type": "CLIPLoader",
"pos": [
4730,
990
],
"size": [
470,
170
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "clip_name",
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
},
"link": 157
}
],
"outputs": [
{
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP",
"links": [
24
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "CLIPLoader",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"models": [
{
"name": "qwen3vl_8b_fp8_scaled.safetensors",
"url": "https://huggingface.co/Comfy-Org/Qwen3-VL/resolve/main/text_encoders/qwen3vl_8b_fp8_scaled.safetensors",
"directory": "text_encoders"
}
]
},
"widgets_values": [
"qwen3vl_8b_fp8_scaled.safetensors",
"ideogram4",
"default"
]
},
{
"id": 10,
"type": "ConditioningZeroOut",
"pos": [
6123.5445828121765,
968.8459811211249
],
"size": [
250,
80
],
"flags": {
"collapsed": false
},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 8
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
657
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.9.1",
"Node name for S&R": "ConditioningZeroOut",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"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": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "KSamplerSelect",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"res_multistep"
]
},
{
"id": 18,
"type": "RandomNoise",
"pos": [
5801.141527165676,
494.5303272497877
],
"size": [
270,
110
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "noise_seed",
"name": "noise_seed",
"type": "INT",
"widget": {
"name": "noise_seed"
},
"link": 663
}
],
"outputs": [
{
"localized_name": "NOISE",
"name": "NOISE",
"type": "NOISE",
"links": [
658
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "RandomNoise",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
2344343432432,
"fixed"
]
},
{
"id": 155,
"type": "DualModelGuider",
"pos": [
5790,
870
],
"size": [
270,
180
],
"flags": {},
"order": 25,
"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": 211
},
{
"localized_name": "negative",
"name": "negative",
"shape": 7,
"type": "CONDITIONING",
"link": 657
}
],
"outputs": [
{
"localized_name": "GUIDER",
"name": "GUIDER",
"type": "GUIDER",
"links": [
215
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "DualModelGuider",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
3
]
},
{
"id": 158,
"type": "ExtendIntermediateSigmas",
"pos": [
6117.198315216999,
1226.5781730184942
],
"size": [
277.1353515625,
130
],
"flags": {},
"order": 28,
"mode": 4,
"inputs": [
{
"localized_name": "sigmas",
"name": "sigmas",
"type": "SIGMAS",
"link": 225
}
],
"outputs": [
{
"localized_name": "SIGMAS",
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
226
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.24.0",
"Node name for S&R": "ExtendIntermediateSigmas"
},
"widgets_values": [
2,
1,
0.98,
"linear"
]
},
{
"id": 356,
"type": "Ideogram4ReferenceConditioning",
"pos": [
5280,
2410
],
"size": [
390,
250
],
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 671
},
{
"localized_name": "reference_image",
"name": "reference_image",
"type": "IMAGE",
"link": 675
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 672
},
{
"localized_name": "target_latent",
"name": "target_latent",
"type": "LATENT",
"link": 673
}
],
"outputs": [
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"links": [
213
]
},
{
"localized_name": "reference_latent",
"name": "reference_latent",
"type": "LATENT",
"links": null
},
{
"localized_name": "resized_reference",
"name": "resized_reference",
"type": "IMAGE",
"links": [
674
]
}
],
"properties": {
"Node name for S&R": "Ideogram4ReferenceConditioning",
"cnr_id": "bitpoet-idoinpaint"
},
"widgets_values": [
"stretch"
]
},
{
"id": 23,
"type": "UNETLoader",
"pos": [
4749.651905750592,
513.4106876109798
],
"size": [
470,
170
],
"flags": {},
"order": 10,
"mode": 0,
"showAdvanced": true,
"inputs": [
{
"localized_name": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": 156
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
678
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "UNETLoader",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"models": [
{
"name": "ideogram4_fp8_scaled.safetensors",
"url": "https://huggingface.co/Comfy-Org/Ideogram-4/resolve/main/diffusion_models/ideogram4_fp8_scaled.safetensors",
"directory": "diffusion_models"
}
]
},
"widgets_values": [
"Ideogram4\\ideogram4_fp8_scaled.safetensors",
"default"
]
},
{
"id": 367,
"type": "MarkdownNote",
"pos": [
4674.335285914463,
2421.376751425065
],
"size": [
444.93015874915363,
282.9321328670285
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"The reference image is appended to the text embedding and target latent, using an extra indicator."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 357,
"type": "PreviewImage",
"pos": [
5860,
2410
],
"size": [
390,
310
],
"flags": {},
"order": 30,
"mode": 4,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 674
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.23.0",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 359,
"type": "LoraLoaderModelOnly",
"pos": [
5260.664052545607,
294.33445030895064
],
"size": [
436.2700603606945,
95.85583836339123
],
"flags": {},
"order": 31,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 678
},
{
"localized_name": "lora_name",
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
},
"link": 689
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
679
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.24.0",
"Node name for S&R": "LoraLoaderModelOnly"
},
"widgets_values": [
"IDO4\\IdoInpaint_2.safetensors",
1
]
}
],
"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": {}
},
{
"id": 10,
"title": "Reference Conditioning",
"bounding": [
4640,
2340,
1660,
440
],
"color": "#6b4c8a",
"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": 13,
"origin_id": 16,
"origin_slot": 0,
"target_id": 12,
"target_slot": 2,
"type": "SAMPLER"
},
{
"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": 24,
"origin_id": 14,
"origin_slot": 0,
"target_id": 24,
"target_slot": 0,
"type": "CLIP"
},
{
"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": 25,
"origin_id": 13,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"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": 156,
"origin_id": -10,
"origin_slot": 4,
"target_id": 23,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 157,
"origin_id": -10,
"origin_slot": 5,
"target_id": 14,
"target_slot": 0,
"type": "COMBO"
},
{
"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": 211,
"origin_id": 154,
"origin_slot": 0,
"target_id": 155,
"target_slot": 2,
"type": "MODEL"
},
{
"id": 213,
"origin_id": 356,
"origin_slot": 0,
"target_id": 155,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 215,
"origin_id": 155,
"origin_slot": 0,
"target_id": 12,
"target_slot": 1,
"type": "GUIDER"
},
{
"id": 216,
"origin_id": -10,
"origin_slot": 7,
"target_id": 154,
"target_slot": 0,
"type": "COMBO"
},
{
"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": 225,
"origin_id": 17,
"origin_slot": 0,
"target_id": 158,
"target_slot": 0,
"type": "SIGMAS"
},
{
"id": 226,
"origin_id": 158,
"origin_slot": 0,
"target_id": 12,
"target_slot": 3,
"type": "SIGMAS"
},
{
"id": 227,
"origin_id": 27,
"origin_slot": 0,
"target_id": -20,
"target_slot": 1,
"type": "INT"
},
{
"id": 228,
"origin_id": 28,
"origin_slot": 0,
"target_id": -20,
"target_slot": 2,
"type": "INT"
},
{
"id": 657,
"origin_id": 10,
"origin_slot": 0,
"target_id": 155,
"target_slot": 3,
"type": "CONDITIONING"
},
{
"id": 658,
"origin_id": 18,
"origin_slot": 0,
"target_id": 12,
"target_slot": 0,
"type": "NOISE"
},
{
"id": 663,
"origin_id": -10,
"origin_slot": 3,
"target_id": 18,
"target_slot": 0,
"type": "INT"
},
{
"id": 671,
"origin_id": 24,
"origin_slot": 0,
"target_id": 356,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 672,
"origin_id": 9,
"origin_slot": 0,
"target_id": 356,
"target_slot": 2,
"type": "VAE"
},
{
"id": 673,
"origin_id": 11,
"origin_slot": 0,
"target_id": 356,
"target_slot": 3,
"type": "LATENT"
},
{
"id": 674,
"origin_id": 356,
"origin_slot": 2,
"target_id": 357,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 675,
"origin_id": -10,
"origin_slot": 9,
"target_id": 356,
"target_slot": 1,
"type": "IMAGE"
},
{
"id": 678,
"origin_id": 23,
"origin_slot": 0,
"target_id": 359,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 679,
"origin_id": 359,
"origin_slot": 0,
"target_id": 157,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 689,
"origin_id": -10,
"origin_slot": 10,
"target_id": 359,
"target_slot": 1,
"type": "COMBO"
}
],
"extra": {}
}
]
},
"config": {},
"extra": {
"frontendVersion": "1.45.15",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"ds": {
"scale": 0.6303940863128504,
"offset": [
-4412.212770538605,
-380.55467653444873
]
}
},
"version": 0.4
}