Files
scraed-LanPaint/example_workflows/Ideogram4_EncodeDecode_Inpaint.json
T
scraed 59aa08dff0 Store masks inside exported videos and convert the example set to ImageEncode/ImageDecode
Mask-in-video (the masks now travel with the video file):
- New videometa module: write/read a JSON payload under the lanpaint-mask
  mp4 metadata tag via PyAV (stream copy, movflags=use_metadata_tags), so
  exporting produces a NEW file and the source is never modified.
- Two server routes: GET /lanpaint/video_mask_meta (read the payload back)
  and POST /lanpaint/export_mask_video (remux into input/<base>_masked.mp4).
- The mask editor exports the painted keyframes (base64 PNGs) + audio
  intervals into the video; loading a video with the tag auto-restores the
  masks (editor and node preview). A video without the tag clears the
  workflow's masks - the video is the source of truth. The export also
  offers a native save dialog (showSaveFilePicker) when available.
- The video widget upload now uses video_upload so MP4s are selectable in
  the file chooser (was image_upload).
- LanPaint_ImageEncode accepts 5D latents from video VAEs encoding a single
  image (e.g. the Hunyuan video VAE) - fixes the Hunyuan example.

Example set conversion (one example per supported model, new files, old
pairs removed after being superseded):
- New *ImageEncode/*EncodeDecode example workflows for SDXL, Flux.1,
  Flux.2 Dev, Flux2 Klein, SD3.5, Hunyuan, Ideogram4, Krea2, Qwen Edit,
  Qwen Image, Z-Image, Wan 2.2 and MiniMax H3 (AV), all using
  LanPaint_ImageEncode/ImageDecode instead of VAEEncode +
  SetLatentNoiseMask + VAEDecode + MaskBlend; every example references its
  own example folder's masked input (hash-verified); preview jpgs generated
  from the test runs; the H3 example ships its output mp4 as a preview.
- HiDream example removed on request; Example_29 added with the H3 masked
  input video.

Fixes along the way: normalize node input.link/output.links fields against
the links arrays in all converted workflows (the frontend renders
null-link nodes as disconnected); stale Inpainting_mode widget removed from
the Flux.2 sampler; Lambda defaults 5.0 (first-order scheme); torchaudio
resample test assertion relaxed (edge ringing); the videometa tests updated
to the final export signature.
2026-08-09 20:41:45 +08:00

2963 lines
62 KiB
JSON

{
"id": "7787daea-1356-4c66-b62a-128f59f23a30",
"revision": 0,
"last_node_id": 343,
"last_link_id": 565,
"nodes": [
{
"id": 37,
"type": "ResolutionSelector",
"pos": [
5900,
900
],
"size": [
380,
170
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"localized_name": "aspect_ratio",
"name": "aspect_ratio",
"type": "COMBO",
"widget": {
"name": "aspect_ratio"
},
"link": null
},
{
"localized_name": "megapixels",
"name": "megapixels",
"type": "FLOAT",
"widget": {
"name": "megapixels"
},
"link": null
}
],
"outputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [
161
]
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [
161
]
}
],
"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": [
"9:16 (Portrait Widescreen)",
1
]
},
{
"id": 100,
"type": "MarkdownNote",
"pos": [
5150,
530
],
"size": [
640,
990
],
"flags": {},
"order": 1,
"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**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\n**(a) Raw input**: Paste or type directly into the subgraph. 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):** Use the **Ideogram4 Caption Prompt Template** output with any LLM tools to obtain the JSON format prompt"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 99,
"type": "MarkdownNote",
"pos": [
4570,
530
],
"size": [
530,
990
],
"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": 98,
"type": "83e6e004-48ea-408e-9024-eb49c3d7dc14",
"pos": [
6476.743849908599,
508.6449647160024
],
"size": [
440,
690
],
"flags": {},
"order": 5,
"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
},
{
"name": "noise_seed",
"type": "INT",
"widget": {
"name": "noise_seed"
},
"link": 523
},
{
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": null
},
{
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
},
"link": null
},
{
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
},
"link": null
},
{
"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
},
{
"label": "inpaint_image",
"name": "inpaint_image",
"type": "IMAGE",
"link": 253
},
{
"label": "inpaint_mask",
"name": "inpaint_mask",
"type": "MASK",
"link": 254
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
556
]
}
],
"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"
]
],
"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": 179,
"type": "SaveImage",
"pos": [
7025.816514763039,
484.88857756254396
],
"size": [
277.2951034932039,
525.7680007700244
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 556
},
{
"localized_name": "filename_prefix",
"name": "filename_prefix",
"type": "STRING",
"widget": {
"name": "filename_prefix"
},
"link": null
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage",
"cnr_id": "comfy-core"
},
"widgets_values": [
"Ideogram4_Inpaint"
]
},
{
"id": 327,
"type": "PrimitiveInt",
"pos": [
5919.063881344126,
1143.3286774978537
],
"size": [
270,
82
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "value",
"name": "value",
"type": "INT",
"widget": {
"name": "value"
},
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [
523
]
}
],
"properties": {
"Node name for S&R": "PrimitiveInt"
},
"widgets_values": [
0,
"fixed"
]
},
{
"id": 177,
"type": "LoadImage",
"pos": [
5923.459283666403,
175.6559758818683
],
"size": [
330.6379176318087,
626.8917604451399
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "COMBO",
"widget": {
"name": "image"
},
"link": null
},
{
"localized_name": "choose file to upload",
"name": "upload",
"type": "IMAGEUPLOAD",
"widget": {
"name": "upload"
},
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
253
]
},
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": [
253
]
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"image": "clipspace/clipspace-painted-masked-1782274301625.png [input]"
},
"widgets_values": [
"Masked_Load_Me_in_Loader (18).png",
"image"
]
}
],
"links": [
[
161,
37,
0,
98,
1,
"INT"
],
[
162,
37,
1,
98,
2,
"INT"
],
[
253,
177,
0,
98,
9,
"IMAGE"
],
[
254,
177,
1,
98,
10,
"MASK"
],
[
523,
327,
0,
98,
3,
"INT"
],
[
556,
98,
0,
179,
0,
"IMAGE"
]
],
"groups": [],
"definitions": {
"subgraphs": [
{
"id": "83e6e004-48ea-408e-9024-eb49c3d7dc14",
"version": 1,
"state": {
"lastGroupId": 12,
"lastNodeId": 343,
"lastLinkId": 565,
"lastRerouteId": 0
},
"revision": 1,
"config": {},
"name": "Text to Image (Ideogram v4)",
"inputNode": {
"id": -10,
"bounding": [
3490,
920,
154.921875,
268
]
},
"outputNode": {
"id": -20,
"bounding": [
6850,
936,
128,
68
]
},
"inputs": [
{
"id": "4bc742d1-7b4b-452c-90d9-0d76ebcdae76",
"name": "text",
"type": "STRING",
"linkIds": [
152
],
"label": "prompt",
"pos": [
3620.921875,
944
]
},
{
"id": "8d4038eb-73c7-45e9-bba1-f068f55e8d32",
"name": "value",
"type": "INT",
"linkIds": [
153
],
"label": "width",
"pos": [
3620.921875,
964
]
},
{
"id": "281550e6-6acf-4cbe-aec1-9eb803b4dec1",
"name": "value_1",
"type": "INT",
"linkIds": [
154
],
"label": "height",
"pos": [
3620.921875,
984
]
},
{
"id": "fae56884-2f1a-470b-a25f-40e7a87ef69d",
"name": "noise_seed",
"type": "INT",
"linkIds": [
155
],
"pos": [
3620.921875,
1004
]
},
{
"id": "3497309c-a7d7-4e28-9330-142c15881632",
"name": "unet_name",
"type": "COMBO",
"linkIds": [
156
],
"pos": [
3620.921875,
1024
]
},
{
"id": "e87126db-7147-465e-b129-370ed2c6cc22",
"name": "clip_name",
"type": "COMBO",
"linkIds": [
157
],
"pos": [
3620.921875,
1044
]
},
{
"id": "a1e6c080-b11b-4d5c-a3a8-fcf4df654cf7",
"name": "vae_name",
"type": "COMBO",
"linkIds": [
158
],
"pos": [
3620.921875,
1064
]
},
{
"id": "b0d16516-95de-44d9-bea8-3cd2e7c78e9a",
"name": "unet_name_1",
"type": "COMBO",
"linkIds": [
216
],
"label": "unconditional_unet",
"pos": [
3620.921875,
1084
]
},
{
"id": "249fd825-e6b3-489d-a341-6d8050500f5e",
"name": "choice",
"type": "COMBO",
"linkIds": [
219
],
"label": "mode",
"pos": [
3620.921875,
1104
]
},
{
"id": "2f66593a-80c3-4fc0-a512-247cee7120f9",
"name": "inpaint_image",
"type": "IMAGE",
"linkIds": [
557,
563
],
"label": "inpaint_image",
"pos": [
3620.921875,
1124
]
},
{
"id": "3ee26dba-045a-40e3-9e31-352701449a82",
"name": "inpaint_mask",
"type": "MASK",
"linkIds": [
558,
564
],
"label": "inpaint_mask",
"pos": [
3620.921875,
1144
]
}
],
"outputs": [
{
"id": "b81e4f60-e543-4f02-875b-b0f1bdc274f2",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
565
],
"localized_name": "IMAGE",
"pos": [
6874,
960
]
}
],
"widgets": [],
"nodes": [
{
"id": 10,
"type": "ConditioningZeroOut",
"pos": [
5450,
960
],
"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": [
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": 16,
"type": "KSamplerSelect",
"pos": [
5790,
1100
],
"size": [
270,
110
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"localized_name": "sampler_name",
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
},
"link": null
}
],
"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": [
"euler"
]
},
{
"id": 14,
"type": "CLIPLoader",
"pos": [
4730,
990
],
"size": [
470,
170
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "clip_name",
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
},
"link": 157
},
{
"localized_name": "type",
"name": "type",
"type": "COMBO",
"widget": {
"name": "type"
},
"link": null
},
{
"localized_name": "device",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "device"
},
"link": null
}
],
"outputs": [
{
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP",
"links": [
24
]
}
],
"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.8.2",
"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": 28,
"type": "PrimitiveInt",
"pos": [
4250,
1800
],
"size": [
270,
110
],
"flags": {},
"order": 12,
"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": 13,
"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
},
{
"localized_name": "expression",
"name": "expression",
"type": "STRING",
"widget": {
"name": "expression"
},
"link": null
}
],
"outputs": [
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": null
},
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": []
},
{
"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": 14,
"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
},
{
"localized_name": "expression",
"name": "expression",
"type": "STRING",
"widget": {
"name": "expression"
},
"link": null
}
],
"outputs": [
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": null
},
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": []
},
{
"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": 15,
"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": [
208
]
}
],
"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": 16,
"mode": 0,
"inputs": [
{
"localized_name": "json_string",
"name": "json_string",
"type": "STRING",
"widget": {
"name": "json_string"
},
"link": 196
},
{
"localized_name": "key",
"name": "key",
"type": "STRING",
"widget": {
"name": "key"
},
"link": null
}
],
"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": 17,
"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": [
209
]
}
],
"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": 148,
"type": "StringReplace",
"pos": [
5050,
2150
],
"size": [
230,
40
],
"flags": {
"collapsed": true
},
"order": 19,
"mode": 0,
"inputs": [
{
"localized_name": "string",
"name": "string",
"type": "STRING",
"widget": {
"name": "string"
},
"link": 199
},
{
"localized_name": "find",
"name": "find",
"type": "STRING",
"widget": {
"name": "find"
},
"link": null
},
{
"localized_name": "replace",
"name": "replace",
"type": "STRING",
"widget": {
"name": "replace"
},
"link": null
}
],
"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": 150,
"type": "JsonExtractString",
"pos": [
5450,
2110
],
"size": [
400,
200
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"localized_name": "json_string",
"name": "json_string",
"type": "STRING",
"widget": {
"name": "json_string"
},
"link": 201
},
{
"localized_name": "key",
"name": "key",
"type": "STRING",
"widget": {
"name": "key"
},
"link": null
}
],
"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": 154,
"type": "UNETLoader",
"pos": [
4730,
740
],
"size": [
470,
170
],
"flags": {},
"order": 23,
"mode": 0,
"showAdvanced": true,
"inputs": [
{
"localized_name": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": 216
},
{
"localized_name": "weight_dtype",
"name": "weight_dtype",
"type": "COMBO",
"widget": {
"name": "weight_dtype"
},
"link": null
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": []
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"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": "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_unconditional_fp8_scaled.safetensors",
"default"
]
},
{
"id": 24,
"type": "CLIPTextEncode",
"pos": [
5270,
500
],
"size": [
430,
420
],
"flags": {},
"order": 10,
"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,
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 surreal streetwear mixed-media collage poster featuring a relaxed female skateboarder mid-air against a vibrant blue sky, backed by giant puffy 3D letters spelling 'COMFY'. The composition blends retro magazine cutout aesthetics with grunge elements like torn paper banners and distressed red stamps, conveying an effortless, cozy vibe with a feminine touch.\",\n \"style_description\": {\n \"aesthetics\": \"Retro magazine cutout style, mixed-media digital collage, high-contrast streetwear graphic, featuring rough ripped paper edges and distressed grunge textures.\",\n \"lighting\": \"High-contrast flash mixed with harsh midday sunlight on the skater cutout, contrasting with flat, bright graphic lighting on the 3D typography.\",\n \"photo\": \"Vintage grainy 35mm film with distressed halftone scan textures and subtle light leaks.\",\n \"medium\": \"Mixed-media digital collage\",\n \"color_palette\": [\"#1E73BE\", \"#FDFDFD\", \"#C82A2A\", \"#657C9C\", \"#EFEFEF\"]\n },\n \"compositional_deconstruction\": {\n \"background\": \"A vibrant, clear blue sky layered with a vintage grainy film texture and subtle halftone dot patterns, transitioning down to an implied pale gray concrete ramp at the very bottom edge.\",\n \"elements\": [\n {\n \"type\": \"obj\",\n \"bbox\": [128, 149, 354, 810],\n \"desc\": \"Massive 3D puffy, inflatable white typography spelling 'COMFY'. The letters stretch across the upper half of the canvas, acting as a surreal, soft cloud-like backdrop.\",\n \"color_palette\": [\"#FDFDFD\", \"#E0E0E0\", \"#D3DBE2\"]\n },\n {\n \"type\": \"obj\",\n \"bbox\": [459, 37, 727, 264],\n \"desc\": \"A cluster of oversized, distressed red stamped circles and dots, applied loosely to the midground like a grunge ink stamp, partially obscuring the bottom left of the text.\",\n \"color_palette\": [\"#C82A2A\", \"#A11D1D\"]\n },\n {\n \"type\": \"obj\",\n \"bbox\": [23, 366, 153, 666],\n \"desc\": \"A vertically oriented, torn paper side banner pinned to the left edge. The rough-edged paper displays the bold, stamped text 'STAY COZY' in high-contrast black ink.\",\n \"color_palette\": [\"#EFEFEF\", \"#1A1A1A\", \"#C82A2A\"]\n },\n {\n \"type\": \"obj\",\n \"bbox\": [287, 210, 756, 819],\n \"desc\": \"A sharp photographic cutout of a female skateboarder mid-air in a relaxed, confident pose. She wears slightly cropped, loose-fitting washed denim jeans and a plain white oversized tee, appearing to effortlessly float above the concrete ramp. Her posture and style add a distinct feminine energy to the scene. A distinct white cutout border surrounds her silhouette.\",\n \"color_palette\": [\"#FDFDFD\", \"#657C9C\", \"#2B2B2B\", \"#DCA57D\"]\n },\n {\n \"type\": \"obj\",\n \"bbox\": [773, 39, 973, 187],\n \"desc\": \"A surreal, miniature floating skateboard cutout, positioned playfully in the upper right sky as if defying gravity.\",\n \"color_palette\": [\"#D2A679\", \"#2B2B2B\", \"#C82A2A\"]\n },\n {\n \"type\": \"obj\",\n \"bbox\": [105, 830, 905, 980],\n \"desc\": \"A wide, horizontal strip of heavily textured torn paper spanning the lower third of the composition. It features the bold typographic phrase 'BEYOND THE COMFORT ZONE' intermixed with 'EFFORTLESS RIDE' alongside ripped edges that reveal the background.\",\n \"color_palette\": [\"#EFEFEF\", \"#1A1A1A\", \"#999999\"]\n }\n ]\n }\n}"
]
},
{
"id": 151,
"type": "ComfyNumberConvert",
"pos": [
5907.68546273005,
1613.2829881809694
],
"size": [
230,
100
],
"flags": {},
"order": 22,
"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": []
}
],
"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": 17,
"type": "Ideogram4Scheduler",
"pos": [
5790,
1262.238996138813
],
"size": [
270,
240
],
"flags": {},
"order": 7,
"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": 149,
"type": "JsonExtractString",
"pos": [
5459.44033170424,
1619.5157558224166
],
"size": [
400,
200
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"localized_name": "json_string",
"name": "json_string",
"type": "STRING",
"widget": {
"name": "json_string"
},
"link": 200
},
{
"localized_name": "key",
"name": "key",
"type": "STRING",
"widget": {
"name": "key"
},
"link": null
}
],
"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": 27,
"type": "PrimitiveInt",
"pos": [
4195.590159230157,
1611.8504293730616
],
"size": [
270,
110
],
"flags": {},
"order": 11,
"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": 18,
"type": "RandomNoise",
"pos": [
5780,
490
],
"size": [
270,
110
],
"flags": {},
"order": 8,
"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": [
190590399309683,
"randomize"
]
},
{
"id": 12,
"type": "LanPaint_SamplerCustomAdvanced",
"pos": [
6146.729556051947,
501.8957758197
],
"size": [
291.4830078125,
378
],
"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": 560
},
{
"localized_name": "LanPaint_NumSteps",
"name": "LanPaint_NumSteps",
"type": "INT",
"widget": {
"name": "LanPaint_NumSteps"
},
"link": null
},
{
"localized_name": "LanPaint_Lambda",
"name": "LanPaint_Lambda",
"type": "FLOAT",
"widget": {
"name": "LanPaint_Lambda"
},
"link": null
},
{
"localized_name": "LanPaint_StepSize",
"name": "LanPaint_StepSize",
"type": "FLOAT",
"widget": {
"name": "LanPaint_StepSize"
},
"link": null
},
{
"localized_name": "LanPaint_Beta",
"name": "LanPaint_Beta",
"type": "FLOAT",
"widget": {
"name": "LanPaint_Beta"
},
"link": null
},
{
"localized_name": "LanPaint_Friction",
"name": "LanPaint_Friction",
"type": "FLOAT",
"widget": {
"name": "LanPaint_Friction"
},
"link": null
},
{
"localized_name": "LanPaint_PromptMode",
"name": "LanPaint_PromptMode",
"type": "COMBO",
"widget": {
"name": "LanPaint_PromptMode"
},
"link": null
},
{
"localized_name": "LanPaint_EarlyStop",
"name": "LanPaint_EarlyStop",
"type": "INT",
"widget": {
"name": "LanPaint_EarlyStop"
},
"link": null
},
{
"localized_name": "LanPaint_Info",
"name": "LanPaint_Info",
"type": "STRING",
"widget": {
"name": "LanPaint_Info"
},
"link": null
},
{
"localized_name": "LanPaint_InnerThreshold",
"name": "LanPaint_InnerThreshold",
"type": "FLOAT",
"widget": {
"name": "LanPaint_InnerThreshold"
},
"link": null
},
{
"localized_name": "LanPaint_InnerPatience",
"name": "LanPaint_InnerPatience",
"type": "INT",
"widget": {
"name": "LanPaint_InnerPatience"
},
"link": null
}
],
"outputs": [
{
"localized_name": "output",
"name": "output",
"type": "LATENT",
"links": [
561
]
},
{
"localized_name": "denoised_output",
"name": "denoised_output",
"type": "LATENT",
"links": [
561
]
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "LanPaint",
"ver": "0.8.2"
},
"widgets_values": [
5,
5.0,
0.2,
1,
15,
"Image First",
1,
"LanPaint Custom Sampler Adv.",
0,
1,
"lanpaint_star_button"
]
},
{
"id": 155,
"type": "DualModelGuider",
"pos": [
5793.090040212954,
855.0042466861462
],
"size": [
270,
180
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 524
},
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 213
},
{
"localized_name": "model_negative",
"name": "model_negative",
"shape": 7,
"type": "MODEL",
"link": 522
},
{
"localized_name": "negative",
"name": "negative",
"shape": 7,
"type": "CONDITIONING",
"link": 214
},
{
"localized_name": "cfg",
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
},
"link": null
}
],
"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": [
4
]
},
{
"id": 156,
"type": "CustomCombo",
"pos": [
4720,
1630
],
"size": [
270,
280
],
"flags": {},
"order": 25,
"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": [
218
]
}
],
"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": 23,
"type": "UNETLoader",
"pos": [
4720,
520
],
"size": [
470,
170
],
"flags": {},
"order": 9,
"mode": 0,
"showAdvanced": true,
"inputs": [
{
"localized_name": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": 156
},
{
"localized_name": "weight_dtype",
"name": "weight_dtype",
"type": "COMBO",
"widget": {
"name": "weight_dtype"
},
"link": null
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
222,
522
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"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": "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_fp8_scaled.safetensors",
"default"
]
},
{
"id": 157,
"type": "CFGOverride",
"pos": [
5779.178385908843,
614.2969660399881
],
"size": [
260,
170
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 222
},
{
"localized_name": "cfg",
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
},
"link": null
},
{
"localized_name": "start_percent",
"name": "start_percent",
"type": "FLOAT",
"widget": {
"name": "start_percent"
},
"link": null
},
{
"localized_name": "end_percent",
"name": "end_percent",
"type": "FLOAT",
"widget": {
"name": "end_percent"
},
"link": null
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
524
]
}
],
"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.7,
1
]
},
{
"id": 147,
"type": "JsonExtractString",
"pos": [
5023.849189156092,
1593.9778676825492
],
"size": [
410,
470
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"localized_name": "json_string",
"name": "json_string",
"type": "STRING",
"widget": {
"name": "json_string"
},
"link": null
},
{
"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": 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": [
559,
562
]
}
],
"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": 342,
"type": "LanPaint_ImageEncode",
"pos": [
6420,
2000
],
"size": [
270,
110
],
"flags": {},
"order": 50,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 557
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 559
},
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 558
}
],
"outputs": [
{
"localized_name": "latent",
"name": "latent",
"type": "LATENT",
"links": [
560
]
}
],
"properties": {
"Node name for S&R": "LanPaint_ImageEncode",
"cnr_id": "LanPaint"
},
"widgets_values": []
},
{
"id": 343,
"type": "LanPaint_ImageDecode",
"pos": [
6730,
2000
],
"size": [
270,
150
],
"flags": {},
"order": 51,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 561
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 562
},
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 563
},
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 564
},
{
"localized_name": "blend_overlap",
"name": "blend_overlap",
"type": "INT",
"widget": {
"name": "blend_overlap"
},
"link": null
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"links": [
565
]
}
],
"properties": {
"Node name for S&R": "LanPaint_ImageDecode",
"cnr_id": "LanPaint"
},
"widgets_values": [
9
]
}
],
"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": 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": 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": 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": 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": 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": 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": 1,
"type": "STRING"
},
{
"id": 219,
"origin_id": -10,
"origin_slot": 8,
"target_id": 156,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 222,
"origin_id": 23,
"origin_slot": 0,
"target_id": 157,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 522,
"origin_id": 23,
"origin_slot": 0,
"target_id": 155,
"target_slot": 2,
"type": "MODEL"
},
{
"id": 524,
"origin_id": 157,
"origin_slot": 0,
"target_id": 155,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 557,
"origin_id": -10,
"origin_slot": 9,
"target_id": 342,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 558,
"origin_id": -10,
"origin_slot": 10,
"target_id": 342,
"target_slot": 2,
"type": "MASK"
},
{
"id": 559,
"origin_id": 9,
"origin_slot": 0,
"target_id": 342,
"target_slot": 1,
"type": "VAE"
},
{
"id": 560,
"origin_id": 342,
"origin_slot": 0,
"target_id": 12,
"target_slot": 4,
"type": "LATENT"
},
{
"id": 561,
"origin_id": 12,
"origin_slot": 0,
"target_id": 343,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 562,
"origin_id": 9,
"origin_slot": 0,
"target_id": 343,
"target_slot": 1,
"type": "VAE"
},
{
"id": 563,
"origin_id": -10,
"origin_slot": 9,
"target_id": 343,
"target_slot": 2,
"type": "IMAGE"
},
{
"id": 564,
"origin_id": -10,
"origin_slot": 10,
"target_id": 343,
"target_slot": 3,
"type": "MASK"
},
{
"id": 565,
"origin_id": 343,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
}
],
"extra": {}
}
]
},
"config": {},
"extra": {
"frontendVersion": "1.44.19",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"ds": {
"scale": 1.2438230891303907,
"offset": [
-7392.794884601207,
-307.9644808523266
]
}
},
"version": 0.4
}