Files
ComfyUI/blueprints/Image Normal Estimation (Marigold V2).json

1178 lines
29 KiB
JSON

{
"revision": 0,
"last_node_id": "91",
"last_link_id": 0,
"nodes": [
{
"id": 91,
"type": "fd1bad31-6e21-4106-8e7b-85465a9381f6",
"pos": [
-1380,
4190
],
"size": [
380,
350
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": null
},
{
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
},
"link": null
},
{
"name": "sigmas",
"type": "STRING",
"widget": {
"name": "sigmas"
},
"link": null
},
{
"name": "prediction",
"type": "COMBO",
"widget": {
"name": "prediction"
},
"link": null
},
{
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": null
},
{
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
},
"link": null
},
{
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
},
"link": null
},
{
"name": "conditioning_name",
"type": "COMBO",
"widget": {
"name": "conditioning_name"
},
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": []
}
],
"title": "Image Normal Estimation (Marigold V2)",
"properties": {
"previewExposures": []
},
"widgets_values": [
"euler",
"0.5, 0",
"normals",
"qwen_image_edit_2509_int8_convrot.safetensors",
"marigold_v2_normals.safetensors",
"marigold_v2_normals_vae.safetensors",
"marigold_v2_normals_conditioning.safetensors"
],
"widgets_values_named": {
"sampler_name": "euler",
"sigmas": "0.5, 0",
"prediction": "normals",
"unet_name": "qwen_image_edit_2509_int8_convrot.safetensors",
"lora_name": "marigold_v2_normals.safetensors",
"vae_name": "marigold_v2_normals_vae.safetensors",
"conditioning_name": "marigold_v2_normals_conditioning.safetensors"
}
}
],
"links": [],
"version": 0.4,
"definitions": {
"subgraphs": [
{
"id": "fd1bad31-6e21-4106-8e7b-85465a9381f6",
"version": 1,
"state": {
"lastGroupId": 4,
"lastNodeId": 91,
"lastLinkId": 110,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Image Normal Estimation (Marigold V2)",
"inputNode": {
"id": -10,
"bounding": [
-2110,
4550,
155.080078125,
208
]
},
"outputNode": {
"id": -20,
"bounding": [
460,
4481,
128,
68
]
},
"inputs": [
{
"id": "945e443f-b9a3-41a0-80ff-205d4ea6b550",
"name": "pixels",
"type": "IMAGE",
"linkIds": [
17
],
"localized_name": "pixels",
"pos": [
-1978.919921875,
4574
]
},
{
"id": "f10970ae-bbd8-4d4d-8c86-5afe1f2673d4",
"name": "sampler_name",
"type": "COMBO",
"linkIds": [
35
],
"pos": [
-1978.919921875,
4594
]
},
{
"id": "e7f0b98f-40fa-4f71-8dff-0b1d9b3ba526",
"name": "sigmas",
"type": "STRING",
"linkIds": [
36
],
"pos": [
-1978.919921875,
4614
]
},
{
"id": "663f265f-75bd-45b0-9457-39dc96d68cce",
"name": "prediction",
"type": "COMBO",
"linkIds": [
37
],
"pos": [
-1978.919921875,
4634
]
},
{
"id": "e94ec076-d8e7-463c-b6e5-35c90c36bc92",
"name": "unet_name",
"type": "COMBO",
"linkIds": [
38
],
"pos": [
-1978.919921875,
4654
]
},
{
"id": "b834c8bb-b51a-4a9b-b24c-7d39d8e2b27a",
"name": "lora_name",
"type": "COMBO",
"linkIds": [
39
],
"pos": [
-1978.919921875,
4674
]
},
{
"id": "d53a2944-e126-4e41-a025-98e126db2c57",
"name": "vae_name",
"type": "COMBO",
"linkIds": [
40
],
"pos": [
-1978.919921875,
4694
]
},
{
"id": "7b8c34b9-7565-4278-9eef-b331045db837",
"name": "conditioning_name",
"type": "COMBO",
"linkIds": [
41
],
"pos": [
-1978.919921875,
4714
]
}
],
"outputs": [
{
"id": "bdf62bcc-0f6b-4a29-bdae-b2c16e657e76",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
30
],
"localized_name": "IMAGE",
"pos": [
484,
4505
]
}
],
"widgets": [],
"nodes": [
{
"id": 26,
"type": "UNETLoader",
"pos": [
-1730,
4080
],
"size": [
610,
90
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": 38
},
{
"localized_name": "weight_dtype",
"name": "weight_dtype",
"type": "COMBO",
"widget": {
"name": "weight_dtype"
},
"link": null
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
5
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"models": [
{
"name": "qwen_image_edit_2509_int8_convrot.safetensors",
"url": "https://huggingface.co/Comfy-Org/marigold-v2-0/resolve/main/diffusion_models/qwen_image_edit_2509_int8_convrot.safetensors",
"directory": "diffusion_models"
}
]
},
"widgets_values": [
"qwen_image_edit_2509_int8_convrot.safetensors",
"default"
],
"widgets_values_named": {
"unet_name": "qwen_image_edit_2509_int8_convrot.safetensors",
"weight_dtype": "default"
},
"color": "#223",
"bgcolor": "#335"
},
{
"id": 27,
"type": "LoraLoaderModelOnly",
"pos": [
-1730,
4240
],
"size": [
610,
120
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 5
},
{
"localized_name": "lora_name",
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
},
"link": 39
},
{
"localized_name": "strength_model",
"name": "strength_model",
"type": "FLOAT",
"widget": {
"name": "strength_model"
},
"link": null
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
8
]
}
],
"properties": {
"Node name for S&R": "LoraLoaderModelOnly",
"models": [
{
"name": "marigold_v2_normals.safetensors",
"url": "https://huggingface.co/Comfy-Org/marigold-v2-0/resolve/main/loras/marigold_v2_normals.safetensors",
"directory": "loras"
}
]
},
"widgets_values": [
"marigold_v2_normals.safetensors",
1
],
"widgets_values_named": {
"lora_name": "marigold_v2_normals.safetensors",
"strength_model": 1
},
"color": "#223",
"bgcolor": "#335"
},
{
"id": 28,
"type": "ModelSamplingAuraFlow",
"pos": [
-1040,
4390
],
"size": [
270,
100
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 8
},
{
"localized_name": "shift",
"name": "shift",
"type": "FLOAT",
"widget": {
"name": "shift"
},
"link": null
},
{
"localized_name": "sampling",
"name": "sampling",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "sampling"
},
"link": null
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
12
]
}
],
"properties": {
"Node name for S&R": "ModelSamplingAuraFlow"
},
"widgets_values": [
1.73,
"flow"
],
"widgets_values_named": {
"shift": 1.73,
"sampling": "flow"
},
"color": "#223",
"bgcolor": "#335"
},
{
"id": 29,
"type": "ConditioningLoader",
"pos": [
-1730,
4580
],
"size": [
610,
90
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning_name",
"name": "conditioning_name",
"type": "COMBO",
"widget": {
"name": "conditioning_name"
},
"link": 41
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
13
]
}
],
"properties": {
"Node name for S&R": "ConditioningLoader",
"models": [
{
"name": "marigold_v2_normals_conditioning.safetensors",
"url": "https://huggingface.co/Comfy-Org/marigold-v2-0/resolve/main/embeddings/marigold_v2_normals_conditioning.safetensors",
"directory": "embeddings"
}
]
},
"widgets_values": [
"marigold_v2_normals_conditioning.safetensors"
],
"widgets_values_named": {
"conditioning_name": "marigold_v2_normals_conditioning.safetensors"
},
"color": "#432",
"bgcolor": "#653"
},
{
"id": 30,
"type": "VAELoader",
"pos": [
-1730,
4430
],
"size": [
610,
90
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "vae_name",
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
},
"link": 40
}
],
"outputs": [
{
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"links": [
18,
21
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"models": [
{
"name": "marigold_v2_normals_vae.safetensors",
"url": "https://huggingface.co/Comfy-Org/marigold-v2-0/resolve/main/vae/marigold_v2_normals_vae.safetensors",
"directory": "vae"
}
]
},
"widgets_values": [
"marigold_v2_normals_vae.safetensors"
],
"widgets_values_named": {
"vae_name": "marigold_v2_normals_vae.safetensors"
},
"color": "#323",
"bgcolor": "#535"
},
{
"id": 31,
"type": "DisableNoise",
"pos": [
-740,
4160
],
"size": [
270,
40
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "NOISE",
"name": "NOISE",
"type": "NOISE",
"links": [
26
]
}
],
"properties": {
"Node name for S&R": "DisableNoise"
}
},
{
"id": 32,
"type": "KSamplerSelect",
"pos": [
-740,
4270
],
"size": [
270,
70
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "sampler_name",
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
},
"link": 35
}
],
"outputs": [
{
"localized_name": "SAMPLER",
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
25
]
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
],
"widgets_values_named": {
"sampler_name": "euler"
}
},
{
"id": 33,
"type": "BasicGuider",
"pos": [
-740,
4400
],
"size": [
270,
60
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 12
},
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 13
}
],
"outputs": [
{
"localized_name": "GUIDER",
"name": "GUIDER",
"type": "GUIDER",
"links": [
14
]
}
],
"properties": {
"Node name for S&R": "BasicGuider"
}
},
{
"id": 34,
"type": "ManualSigmas",
"pos": [
-740,
4510
],
"size": [
270,
100
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "sigmas",
"name": "sigmas",
"type": "STRING",
"widget": {
"name": "sigmas"
},
"link": 36
}
],
"outputs": [
{
"localized_name": "SIGMAS",
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
27
]
}
],
"properties": {
"Node name for S&R": "ManualSigmas"
},
"widgets_values": [
"0.5, 0"
],
"widgets_values_named": {
"sigmas": "0.5, 0"
}
},
{
"id": 35,
"type": "SamplerCustomAdvanced",
"pos": [
-370,
4290
],
"size": [
230,
120
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "noise",
"name": "noise",
"type": "NOISE",
"link": 26
},
{
"localized_name": "guider",
"name": "guider",
"type": "GUIDER",
"link": 14
},
{
"localized_name": "sampler",
"name": "sampler",
"type": "SAMPLER",
"link": 25
},
{
"localized_name": "sigmas",
"name": "sigmas",
"type": "SIGMAS",
"link": 27
},
{
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 19
}
],
"outputs": [
{
"localized_name": "output",
"name": "output",
"type": "LATENT",
"links": [
20
]
},
{
"localized_name": "denoised_output",
"name": "denoised_output",
"type": "LATENT",
"links": null
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
}
},
{
"id": 36,
"type": "VAEEncode",
"pos": [
-1550,
4860
],
"size": [
230,
60
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 17
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 18
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
19
]
}
],
"properties": {
"Node name for S&R": "VAEEncode"
},
"color": "#322",
"bgcolor": "#533"
},
{
"id": 37,
"type": "MarigoldV2PostProcess",
"pos": [
50,
4250
],
"size": [
280,
70
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 23
},
{
"localized_name": "prediction",
"name": "prediction",
"type": "COMBO",
"widget": {
"name": "prediction"
},
"link": 37
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
30
]
}
],
"properties": {
"Node name for S&R": "MarigoldV2PostProcess"
},
"widgets_values": [
"depth"
],
"widgets_values_named": {
"prediction": "depth"
}
},
{
"id": 38,
"type": "VAEDecode",
"pos": [
60,
4130
],
"size": [
230,
60
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 20
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 21
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
23
]
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"color": "#322",
"bgcolor": "#533"
}
],
"groups": [
{
"id": 1,
"title": "Models",
"bounding": [
-1740,
4010,
630,
686
],
"color": "#3f789e",
"flags": {}
},
{
"id": 2,
"title": "Image Encoding",
"bounding": [
-1740,
4720,
630,
300
],
"color": "#3f789e",
"flags": {}
},
{
"id": 3,
"title": "Sampling",
"bounding": [
-1080,
4010,
1030,
690
],
"color": "#3f789e",
"flags": {}
},
{
"id": 4,
"title": "Decoding",
"bounding": [
-20,
4010,
420,
390
],
"color": "#3f789e",
"flags": {}
}
],
"links": [
{
"id": 5,
"origin_id": 26,
"origin_slot": 0,
"target_id": 27,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 8,
"origin_id": 27,
"origin_slot": 0,
"target_id": 28,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 12,
"origin_id": 28,
"origin_slot": 0,
"target_id": 33,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 13,
"origin_id": 29,
"origin_slot": 0,
"target_id": 33,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 26,
"origin_id": 31,
"origin_slot": 0,
"target_id": 35,
"target_slot": 0,
"type": "NOISE"
},
{
"id": 14,
"origin_id": 33,
"origin_slot": 0,
"target_id": 35,
"target_slot": 1,
"type": "GUIDER"
},
{
"id": 25,
"origin_id": 32,
"origin_slot": 0,
"target_id": 35,
"target_slot": 2,
"type": "SAMPLER"
},
{
"id": 27,
"origin_id": 34,
"origin_slot": 0,
"target_id": 35,
"target_slot": 3,
"type": "SIGMAS"
},
{
"id": 19,
"origin_id": 36,
"origin_slot": 0,
"target_id": 35,
"target_slot": 4,
"type": "LATENT"
},
{
"id": 18,
"origin_id": 30,
"origin_slot": 0,
"target_id": 36,
"target_slot": 1,
"type": "VAE"
},
{
"id": 23,
"origin_id": 38,
"origin_slot": 0,
"target_id": 37,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 20,
"origin_id": 35,
"origin_slot": 0,
"target_id": 38,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 21,
"origin_id": 30,
"origin_slot": 0,
"target_id": 38,
"target_slot": 1,
"type": "VAE"
},
{
"id": 17,
"origin_id": -10,
"origin_slot": 0,
"target_id": 36,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 30,
"origin_id": 37,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 35,
"origin_id": -10,
"origin_slot": 1,
"target_id": 32,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 36,
"origin_id": -10,
"origin_slot": 2,
"target_id": 34,
"target_slot": 0,
"type": "STRING"
},
{
"id": 37,
"origin_id": -10,
"origin_slot": 3,
"target_id": 37,
"target_slot": 1,
"type": "COMBO"
},
{
"id": 38,
"origin_id": -10,
"origin_slot": 4,
"target_id": 26,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 39,
"origin_id": -10,
"origin_slot": 5,
"target_id": 27,
"target_slot": 1,
"type": "COMBO"
},
{
"id": 40,
"origin_id": -10,
"origin_slot": 6,
"target_id": 30,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 41,
"origin_id": -10,
"origin_slot": 7,
"target_id": 29,
"target_slot": 0,
"type": "COMBO"
}
],
"extra": {},
"category": "Preprocessors/Normal",
"description": "Estimates surface normals from an input image using Marigold V2, producing a normal map of surface orientation for relighting and geometry-aware processing."
}
]
},
"extra": {}
}