ComfyUI/blueprints/Text to Image (Omnigen2).json
2026-04-12 17:18:09 +08:00

1116 lines
27 KiB
JSON

{
"id": "3edcffe9-38d6-4ab9-a424-755816ead465",
"revision": 0,
"last_node_id": 42,
"last_link_id": 0,
"nodes": [
{
"id": 42,
"type": "4b17d220-4312-4981-9eae-9a76bf3b6ec9",
"pos": [
-500,
30
],
"size": [
390,
470
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": null
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": []
}
],
"properties": {
"proxyWidgets": [
[
"-1",
"text"
],
[
"-1",
"width"
],
[
"-1",
"height"
],
[
"21",
"noise_seed"
],
[
"21",
"control_after_generate"
]
]
},
"widgets_values": [
"",
1024,
1024
]
}
],
"links": [],
"groups": [],
"definitions": {
"subgraphs": [
{
"id": "4b17d220-4312-4981-9eae-9a76bf3b6ec9",
"version": 1,
"state": {
"lastGroupId": 8,
"lastNodeId": 41,
"lastLinkId": 82,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Text to Image (Omnigen2)",
"inputNode": {
"id": -10,
"bounding": [
-710,
315.3636169433594,
120,
100
]
},
"outputNode": {
"id": -20,
"bounding": [
902.3638671875001,
305.3636169433594,
120,
60
]
},
"inputs": [
{
"id": "3385ea55-7abe-4db0-a3b4-78edeb8007ae",
"name": "text",
"type": "STRING",
"linkIds": [
79
],
"pos": [
-610,
335.3636169433594
]
},
{
"id": "7340e51e-95ae-4b91-b97e-1c4d6ea61c17",
"name": "width",
"type": "INT",
"linkIds": [
80
],
"pos": [
-610,
355.3636169433594
]
},
{
"id": "e28b5fd6-362e-46b7-b384-582f6d8b4024",
"name": "height",
"type": "INT",
"linkIds": [
81
],
"pos": [
-610,
375.3636169433594
]
}
],
"outputs": [
{
"id": "68a6110f-4613-4041-8d48-e614b4c6e7fe",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
9
],
"localized_name": "IMAGE",
"pos": [
922.3638671875001,
325.3636169433594
]
}
],
"widgets": [],
"nodes": [
{
"id": 28,
"type": "SamplerCustomAdvanced",
"pos": [
630,
100
],
"size": [
212.3638671875,
106
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "noise",
"name": "noise",
"type": "NOISE",
"link": 33
},
{
"localized_name": "guider",
"name": "guider",
"type": "GUIDER",
"link": 34
},
{
"localized_name": "sampler",
"name": "sampler",
"type": "SAMPLER",
"link": 35
},
{
"localized_name": "sigmas",
"name": "sigmas",
"type": "SIGMAS",
"link": 36
},
{
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 49
}
],
"outputs": [
{
"localized_name": "output",
"name": "output",
"type": "LATENT",
"slot_index": 0,
"links": [
46
]
},
{
"localized_name": "denoised_output",
"name": "denoised_output",
"type": "LATENT",
"links": null
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced",
"cnr_id": "comfy-core",
"ver": "0.3.42"
},
"widgets_values": []
},
{
"id": 20,
"type": "KSamplerSelect",
"pos": [
290,
430
],
"size": [
315,
58
],
"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": [
35
]
}
],
"properties": {
"Node name for S&R": "KSamplerSelect",
"cnr_id": "comfy-core",
"ver": "0.3.42"
},
"widgets_values": [
"euler"
]
},
{
"id": 27,
"type": "DualCFGGuider",
"pos": [
290,
240
],
"size": [
310,
166
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 53
},
{
"localized_name": "cond1",
"name": "cond1",
"type": "CONDITIONING",
"link": 77
},
{
"localized_name": "cond2",
"name": "cond2",
"type": "CONDITIONING",
"link": 76
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 45
},
{
"localized_name": "cfg_conds",
"name": "cfg_conds",
"type": "FLOAT",
"widget": {
"name": "cfg_conds"
},
"link": null
},
{
"localized_name": "cfg_cond2_negative",
"name": "cfg_cond2_negative",
"type": "FLOAT",
"widget": {
"name": "cfg_cond2_negative"
},
"link": null
},
{
"localized_name": "style",
"name": "style",
"type": "COMBO",
"widget": {
"name": "style"
},
"link": null
}
],
"outputs": [
{
"localized_name": "GUIDER",
"name": "GUIDER",
"type": "GUIDER",
"slot_index": 0,
"links": [
34
]
}
],
"properties": {
"Node name for S&R": "DualCFGGuider",
"cnr_id": "comfy-core",
"ver": "0.3.42"
},
"widgets_values": [
5,
2,
"regular"
]
},
{
"id": 23,
"type": "BasicScheduler",
"pos": [
290,
530
],
"size": [
210,
106
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 52
},
{
"localized_name": "scheduler",
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
},
"link": null
},
{
"localized_name": "steps",
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"link": null
},
{
"localized_name": "denoise",
"name": "denoise",
"type": "FLOAT",
"widget": {
"name": "denoise"
},
"link": null
}
],
"outputs": [
{
"localized_name": "SIGMAS",
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
36
]
}
],
"properties": {
"Node name for S&R": "BasicScheduler",
"cnr_id": "comfy-core",
"ver": "0.3.42"
},
"widgets_values": [
"simple",
20,
1
]
},
{
"id": 13,
"type": "VAELoader",
"pos": [
-520,
360
],
"size": [
290,
60
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "vae_name",
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
},
"link": null
}
],
"outputs": [
{
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"links": [
14
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.42",
"models": [
{
"name": "ae.safetensors",
"url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors",
"directory": "vae"
}
]
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 10,
"type": "CLIPLoader",
"pos": [
-520,
210
],
"size": [
290,
106
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "clip_name",
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
},
"link": null
},
{
"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": [
10,
11
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.42",
"models": [
{
"name": "qwen_2.5_vl_fp16.safetensors",
"url": "https://huggingface.co/Comfy-Org/Omnigen2_ComfyUI_repackaged/resolve/main/split_files/text_encoders/qwen_2.5_vl_fp16.safetensors",
"directory": "text_encoders"
}
]
},
"widgets_values": [
"qwen_2.5_vl_fp16.safetensors",
"omnigen2",
"default"
]
},
{
"id": 12,
"type": "UNETLoader",
"pos": [
-520,
90
],
"size": [
290,
82
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": null
},
{
"localized_name": "weight_dtype",
"name": "weight_dtype",
"type": "COMBO",
"widget": {
"name": "weight_dtype"
},
"link": null
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
52,
53
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.3.42",
"models": [
{
"name": "omnigen2_fp16.safetensors",
"url": "https://huggingface.co/Comfy-Org/Omnigen2_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/omnigen2_fp16.safetensors",
"directory": "diffusion_models"
}
]
},
"widgets_values": [
"omnigen2_fp16.safetensors",
"default"
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
610,
580
],
"size": [
210,
46
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 46
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 14
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
9
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.42"
},
"widgets_values": []
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
-177.5792694091797,
278.33154296875
],
"size": [
418.45758056640625,
132.5428924560547
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 10
},
{
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
45,
76
]
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.42"
},
"widgets_values": [
"blurry, low quality, distorted, ugly, bad anatomy, deformed, poorly drawn"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
-180.14205932617188,
91.97244262695312
],
"size": [
426.5657043457031,
138.57876586914062
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 11
},
{
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 79
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
77
]
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.42"
},
"widgets_values": [
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 11,
"type": "EmptySD3LatentImage",
"pos": [
-513.6055297851562,
523.306640625
],
"size": [
270,
106
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 80
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 81
},
{
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"widget": {
"name": "batch_size"
},
"link": null
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
49
]
}
],
"properties": {
"Node name for S&R": "EmptySD3LatentImage",
"cnr_id": "comfy-core",
"ver": "0.3.42"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 21,
"type": "RandomNoise",
"pos": [
290,
110
],
"size": [
310,
82
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "noise_seed",
"name": "noise_seed",
"type": "INT",
"widget": {
"name": "noise_seed"
},
"link": null
}
],
"outputs": [
{
"localized_name": "NOISE",
"name": "NOISE",
"type": "NOISE",
"links": [
33
]
}
],
"properties": {
"Node name for S&R": "RandomNoise",
"cnr_id": "comfy-core",
"ver": "0.3.42"
},
"widgets_values": [
0,
"randomize"
]
}
],
"groups": [
{
"id": 1,
"title": "Step 1 - Load models",
"bounding": [
-530,
20,
320,
410
],
"color": "#444",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "Step 3 - Prompt",
"bounding": [
-190,
20,
450,
410
],
"color": "#444",
"font_size": 24,
"flags": {}
},
{
"id": 5,
"title": "Custom Sampling",
"bounding": [
280,
20,
561.83544921875,
630.7272338867188
],
"color": "#444",
"font_size": 24,
"flags": {}
},
{
"id": 8,
"title": "Step 2 - image size",
"bounding": [
-530,
450,
320.3025817871094,
192.70652770996094
],
"color": "#444",
"font_size": 24,
"flags": {}
}
],
"links": [
{
"id": 33,
"origin_id": 21,
"origin_slot": 0,
"target_id": 28,
"target_slot": 0,
"type": "NOISE"
},
{
"id": 34,
"origin_id": 27,
"origin_slot": 0,
"target_id": 28,
"target_slot": 1,
"type": "GUIDER"
},
{
"id": 35,
"origin_id": 20,
"origin_slot": 0,
"target_id": 28,
"target_slot": 2,
"type": "SAMPLER"
},
{
"id": 36,
"origin_id": 23,
"origin_slot": 0,
"target_id": 28,
"target_slot": 3,
"type": "SIGMAS"
},
{
"id": 49,
"origin_id": 11,
"origin_slot": 0,
"target_id": 28,
"target_slot": 4,
"type": "LATENT"
},
{
"id": 53,
"origin_id": 12,
"origin_slot": 0,
"target_id": 27,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 77,
"origin_id": 6,
"origin_slot": 0,
"target_id": 27,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 76,
"origin_id": 7,
"origin_slot": 0,
"target_id": 27,
"target_slot": 2,
"type": "CONDITIONING"
},
{
"id": 45,
"origin_id": 7,
"origin_slot": 0,
"target_id": 27,
"target_slot": 3,
"type": "CONDITIONING"
},
{
"id": 52,
"origin_id": 12,
"origin_slot": 0,
"target_id": 23,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 46,
"origin_id": 28,
"origin_slot": 0,
"target_id": 8,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 14,
"origin_id": 13,
"origin_slot": 0,
"target_id": 8,
"target_slot": 1,
"type": "VAE"
},
{
"id": 11,
"origin_id": 10,
"origin_slot": 0,
"target_id": 6,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 10,
"origin_id": 10,
"origin_slot": 0,
"target_id": 7,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 9,
"origin_id": 8,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 79,
"origin_id": -10,
"origin_slot": 0,
"target_id": 6,
"target_slot": 1,
"type": "STRING"
},
{
"id": 80,
"origin_id": -10,
"origin_slot": 1,
"target_id": 11,
"target_slot": 0,
"type": "INT"
},
{
"id": 81,
"origin_id": -10,
"origin_slot": 2,
"target_id": 11,
"target_slot": 1,
"type": "INT"
}
],
"extra": {
"workflowRendererVersion": "LG"
},
"category": "Image generation and editing/Text to image"
}
]
},
"config": {},
"extra": {
"ds": {
"scale": 0.8864955507884028,
"offset": [
1479.96031239027,
178.22739681417374
]
},
"workflowRendererVersion": "LG"
},
"version": 0.4
}