Files
wildminder-ComfyUI-DyPE/example_workflows/DyPE-ZIT-workflow.json
T

1040 lines
20 KiB
JSON

{
"id": "9ae6082b-c7f4-433c-9971-7a8f65a3ea65",
"revision": 0,
"last_node_id": 59,
"last_link_id": 61,
"nodes": [
{
"id": 44,
"type": "KSampler",
"pos": [
1110,
330
],
"size": [
320,
540
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 40
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 41
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 42
},
{
"name": "latent_image",
"type": "LATENT",
"link": 43
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
38
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.64",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
42,
"fixed",
9,
1,
"res_multistep",
"simple",
1
]
},
{
"id": 40,
"type": "VAELoader",
"pos": [
140,
680
],
"size": [
380,
90
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
39
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.73",
"models": [
{
"name": "ae.safetensors",
"url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors",
"directory": "vae"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"FLUX1\\ae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 42,
"type": "ConditioningZeroOut",
"pos": [
770,
660
],
"size": [
230,
30
],
"flags": {
"collapsed": true
},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 36
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
42
]
}
],
"properties": {
"Node name for S&R": "ConditioningZeroOut",
"cnr_id": "comfy-core",
"ver": "0.3.73",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 46,
"type": "UNETLoader",
"pos": [
140,
310
],
"size": [
380,
110
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
48
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73",
"models": [
{
"name": "z_image_turbo_bf16.safetensors",
"url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_bf16.safetensors",
"directory": "diffusion_models"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"z_image_turbo_bf16.safetensors",
"default"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 52,
"type": "MarkdownNote",
"pos": [
-220,
930
],
"size": [
300,
180
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Better quality",
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"## Speckle noise\n\n* To eliminate white speckle noise, use a LoRA. [DeJPEG-LoRA](https://huggingface.co/wcde/Z-Image-Turbo-DeJPEG-Lora) works quite well. It also improves proportions.\n* Increasing dype_exponent can reduce this noise, but it may distort proportions.\n\n"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 49,
"type": "MarkdownNote",
"pos": [
-400,
270
],
"size": [
490,
600
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "DyPE",
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"### Node Inputs\n\n* **`method`**: The extrapolation strategy.\n * **`vision_yarn`:** Best for 4K+ and non-square images. Fixes stretching and artifacts automatically.\n * **`yarn` / `ntk`**: Legacy methods. Use `yarn` with `yarn_alt_scaling` for manual control.\n* **`enable_dype`**: Toggles the dynamic (time-aware) algorithm. Keep enabled for best quality.\n* **`dype_scale`**: Magnitude of the frequency shift. Default: `2.0`.\n* **`dype_exponent`**: Aggressiveness of the dynamic schedule.\n * `2.0`: Best for **4K**.\n * `1.0`: Best for **2K**.\n * `0.5`: Best for **~1.5K**.\n* **`yarn_alt_scaling`**: *(Legacy `yarn` only)* Switch between Anisotropic (Sharper, potential stretching) and Isotropic (Softer, accurate geometry).\n* **`base_shift` / `max_shift`**: Advanced noise schedule controls. Defaults (`0.5` / `1.15`) are optimized for FLUX.\n\n\n## Join\n\n### [TokenDiffusion](https://t.me/TokenDiff) - AI for every home, creativity for every mind!\n\n### [TokenDiff Community Hub](https://t.me/TokenDiff_hub) - Questions, help, and thoughtful discussion. "
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 39,
"type": "CLIPLoader",
"pos": [
140,
480
],
"size": [
380,
140
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
44
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73",
"models": [
{
"name": "qwen_3_4b.safetensors",
"url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors",
"directory": "text_encoders"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"qwen_3_4B-abliterated.safetensors",
"lumina2",
"default"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 47,
"type": "ModelSamplingAuraFlow",
"pos": [
1110,
280
],
"size": [
230,
50
],
"flags": {
"collapsed": true
},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 56
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
40
]
}
],
"properties": {
"Node name for S&R": "ModelSamplingAuraFlow",
"cnr_id": "comfy-core",
"ver": "0.3.64",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
3
]
},
{
"id": 50,
"type": "LoraLoaderModelOnly",
"pos": [
140,
830
],
"size": [
380,
120
],
"flags": {},
"order": 7,
"mode": 4,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 48
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
49
]
}
],
"properties": {
"Node name for S&R": "LoraLoaderModelOnly",
"cnr_id": "comfy-core",
"ver": "0.3.76"
},
"widgets_values": [
"zit\\ench-ZI-dejpeg_lite.safetensors",
1
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 43,
"type": "VAEDecode",
"pos": [
1280,
930
],
"size": [
230,
80
],
"flags": {
"collapsed": true
},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 38
},
{
"name": "vae",
"type": "VAE",
"link": 39
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
61
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.64",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 41,
"type": "EmptySD3LatentImage",
"pos": [
820,
940
],
"size": [
380,
150
],
"flags": {
"collapsed": true
},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 57
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 58
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
43
]
}
],
"properties": {
"Node name for S&R": "EmptySD3LatentImage",
"cnr_id": "comfy-core",
"ver": "0.3.64",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
2160,
3840,
1
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 9,
"type": "SaveImage",
"pos": [
1480,
330
],
"size": [
420,
380
],
"flags": {
"collapsed": false
},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 61
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": null
}
],
"properties": {
"Node name for S&R": "SaveImage",
"cnr_id": "comfy-core",
"ver": "0.3.64",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"z-image"
]
},
{
"id": 57,
"type": "PrimitiveNode",
"pos": [
580,
800
],
"size": [
210,
90
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "INT",
"type": "INT",
"widget": {
"name": "width"
},
"links": [
57,
59
]
}
],
"title": "width",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
2160,
"fixed"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 58,
"type": "PrimitiveNode",
"pos": [
810,
800
],
"size": [
210,
90
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "INT",
"type": "INT",
"widget": {
"name": "height"
},
"links": [
58,
60
]
}
],
"title": "height",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
3840,
"fixed"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 45,
"type": "CLIPTextEncode",
"pos": [
590,
320
],
"size": [
420,
290
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 44
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
36,
41
]
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.73",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"A surrealist oil painting of Salvador Dalí in a dreamlike, semi-medieval, semi-sci-fi environment. Dalí, featuring his iconic long upward-waxed mustache and eccentric, piercing gaze, wears an ornate ensemble merging a medieval velvet doublet with subtle glowing cybernetic accents. He is holding the word \"Z-Image\" rendered as soft, melting typography—the letters 'Z-Image' are fluid and dripping like liquid gold over his fingers, in the style of his famous melting clocks. Behind him, ancient gothic cathedral towers and stone arches float seamlessly alongside sleek, futuristic glowing monoliths and holographic planetary rings. The scene is set on an infinite, barren desert landscape under a warm twilight sky with deep, elongated shadows. Masterpiece of surrealism, rich oil on canvas texture, dramatic cinematic lighting."
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 48,
"type": "DyPE_FLUX",
"pos": [
190,
1080
],
"size": [
350,
410
],
"flags": {},
"order": 10,
"mode": 4,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 49
}
],
"outputs": [
{
"name": "Patched Model",
"type": "MODEL",
"links": [
55
]
}
],
"properties": {
"Node name for S&R": "DyPE_FLUX",
"cnr_id": "ComfyUI-DyPE",
"ver": "7dbea3b189ef5d75ead0f7bb5c237eee180ac19a"
},
"widgets_values": [
2048,
2048,
"auto",
"vision_yarn",
true,
true,
1024,
1,
2,
2,
0.5,
1.15
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 56,
"type": "SEGA",
"pos": [
630,
1080
],
"size": [
350,
400
],
"flags": {
"collapsed": false
},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 55
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 59
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 60
}
],
"outputs": [
{
"name": "Patched Model",
"type": "MODEL",
"links": [
56
]
}
],
"properties": {
"Node name for S&R": "SEGA"
},
"widgets_values": [
2160,
3840,
"auto",
"sega",
0.15,
1.5,
1,
0,
1,
1.5,
"power_res",
0.08,
1024,
0.5,
1.15
],
"color": "#332922",
"bgcolor": "#593930"
}
],
"links": [
[
36,
45,
0,
42,
0,
"CONDITIONING"
],
[
38,
44,
0,
43,
0,
"LATENT"
],
[
39,
40,
0,
43,
1,
"VAE"
],
[
40,
47,
0,
44,
0,
"MODEL"
],
[
41,
45,
0,
44,
1,
"CONDITIONING"
],
[
42,
42,
0,
44,
2,
"CONDITIONING"
],
[
43,
41,
0,
44,
3,
"LATENT"
],
[
44,
39,
0,
45,
0,
"CLIP"
],
[
48,
46,
0,
50,
0,
"MODEL"
],
[
49,
50,
0,
48,
0,
"MODEL"
],
[
55,
48,
0,
56,
0,
"MODEL"
],
[
56,
56,
0,
47,
0,
"MODEL"
],
[
57,
57,
0,
41,
0,
"INT"
],
[
58,
58,
0,
41,
1,
"INT"
],
[
59,
57,
0,
56,
1,
"INT"
],
[
60,
58,
0,
56,
2,
"INT"
],
[
61,
43,
0,
9,
0,
"IMAGE"
]
],
"groups": [
{
"id": 2,
"title": "Step2 - Image size",
"bounding": [
570,
720,
460,
250
],
"color": "#3f789e",
"flags": {}
},
{
"id": 3,
"title": "Step3 - Prompt",
"bounding": [
570,
240,
460,
460
],
"color": "#3f789e",
"flags": {}
},
{
"id": 4,
"title": "Step1 - Load models",
"bounding": [
120,
240,
420,
730
],
"color": "#3f789e",
"flags": {}
},
{
"id": 5,
"title": "Model Patching",
"bounding": [
120,
1000,
910,
520
],
"color": "#3f789e",
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.5644739300537776,
"offset": [
754.1894189999997,
-27.520564000000075
]
},
"frontendVersion": "1.47.12",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"workflowRendererVersion": "LG"
},
"version": 0.4
}