Files
wildminder-ComfyUI-DyPE/example_workflows/DyPE-Flux-workflow.json
T
2025-11-28 23:37:12 +03:00

801 lines
18 KiB
JSON

{
"id": "908d0bfb-e192-4627-9b57-147496e6e2dd",
"revision": 0,
"last_node_id": 106,
"last_link_id": 292,
"nodes": [
{
"id": 40,
"type": "DualCLIPLoader",
"pos": [
-320,
290
],
"size": [
270,
130
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
64
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.40",
"Node name for S&R": "DualCLIPLoader",
"models": [
{
"name": "clip_l.safetensors",
"url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors",
"directory": "text_encoders"
},
{
"name": "t5xxl_fp16.safetensors",
"url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors",
"directory": "text_encoders"
}
],
"ue_properties": {
"widget_ue_connectable": {
"clip_name1": true,
"clip_name2": true,
"type": true,
"device": true
},
"version": "7.5.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"clip_l.safetensors",
"t5xxl_fp16.safetensors",
"flux",
"default"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 43,
"type": "MarkdownNote",
"pos": [
-870,
110
],
"size": [
520,
390
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Model links",
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"## Model links\n\n**Diffusion Model**\n\n- [flux1-krea-dev_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/FLUX.1-Krea-dev_ComfyUI/resolve/main/split_files/diffusion_models/flux1-krea-dev_fp8_scaled.safetensors)\n\nIf you need the original weights, head to [black-forest-labs/FLUX.1-Krea-dev](https://huggingface.co/black-forest-labs/FLUX.1-Krea-dev/), accept the agreement in the repo, then click the link below to download the models:\n\n- [flux1-krea-dev.safetensors](https://huggingface.co/black-forest-labs/FLUX.1-Krea-dev/resolve/main/flux1-krea-dev.safetensors)\n\n**Text Encoder**\n\n- [clip_l.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/blob/main/clip_l.safetensors)\n\n- [t5xxl_fp16.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors) or [t5xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp8_e4m3fn_scaled.safetensors)\n\n**VAE**\n\n- [ae.safetensors](https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors)\n\n\n```\nComfyUI/\n├── models/\n│ ├── diffusion_models/\n│ │ └─── flux1-krea-dev_fp8_scaled.safetensors\n│ ├── text_encoders/\n│ │ ├── clip_l.safetensors\n│ │ └─── t5xxl_fp16.safetensors # or t5xxl_fp8_e4m3fn_scaled.safetensors\n│ └── vae/\n│ └── ae.safetensors\n```\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 39,
"type": "VAELoader",
"pos": [
-320,
470
],
"size": [
270,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
77,
85
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.40",
"Node name for S&R": "VAELoader",
"models": [
{
"name": "ae.safetensors",
"url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors",
"directory": "vae"
}
],
"ue_properties": {
"widget_ue_connectable": {
"vae_name": true
},
"version": "7.5.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"FLUX1\\ae.safetensors"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 42,
"type": "ConditioningZeroOut",
"pos": [
151.75751860615074,
416.7514387263594
],
"size": [
200,
30
],
"flags": {
"collapsed": true
},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 66
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
110
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.40",
"Node name for S&R": "ConditioningZeroOut",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
391.97558139331176,
122.95473372107558
],
"size": [
319.2356335124862,
46
],
"flags": {
"collapsed": false
},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 52
},
{
"name": "vae",
"type": "VAE",
"link": 85
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.40",
"Node name for S&R": "VAEDecode",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 38,
"type": "UNETLoader",
"pos": [
-319.9999999999996,
154.75892789151453
],
"size": [
270,
82
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
291
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.40",
"Node name for S&R": "UNETLoader",
"models": [
{
"name": "flux1-krea-dev_fp8_scaled.safetensors",
"url": "https://huggingface.co/Comfy-Org/FLUX.1-Krea-dev_ComfyUI/resolve/main/split_files/diffusion_models/flux1-krea-dev_fp8_scaled.safetensors",
"directory": "diffusion_models"
}
],
"ue_properties": {
"widget_ue_connectable": {
"unet_name": true,
"weight_dtype": true
},
"version": "7.5.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"FLUX1\\flux1-krea-dev.safetensors",
"default"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 55,
"type": "VAEDecodeTiled",
"pos": [
391.97558139331176,
226.612614517858
],
"size": [
322.89304359551966,
150
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 112
},
{
"name": "vae",
"type": "VAE",
"link": 77
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
288
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.66",
"Node name for S&R": "VAEDecodeTiled",
"ue_properties": {
"widget_ue_connectable": {
"tile_size": true,
"overlap": true,
"temporal_size": true,
"temporal_overlap": true
},
"version": "7.5.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
512,
64,
64,
8
]
},
{
"id": 45,
"type": "CLIPTextEncode",
"pos": [
7.045080197257759,
159.16529405661166
],
"size": [
330,
210
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
66,
111
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.47",
"Node name for S&R": "CLIPTextEncode",
"ue_properties": {
"widget_ue_connectable": {
"text": true
},
"version": "7.5.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"A muscular, bald man holds a flower above his head with both arms, set against a soft circular background in black and white."
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 27,
"type": "EmptySD3LatentImage",
"pos": [
-320,
630
],
"size": [
270,
120
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
287
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.40",
"Node name for S&R": "EmptySD3LatentImage",
"ue_properties": {
"widget_ue_connectable": {
"width": true,
"height": true,
"batch_size": true
},
"version": "7.5.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
2048,
3072,
1
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 31,
"type": "KSampler",
"pos": [
395.5510343546297,
433.7293334706151
],
"size": [
319.9248663379035,
486
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 292
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 111
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 110
},
{
"name": "latent_image",
"type": "LATENT",
"link": 287
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
52,
112
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.40",
"Node name for S&R": "KSampler",
"ue_properties": {
"widget_ue_connectable": {
"seed": true,
"steps": true,
"cfg": true,
"sampler_name": true,
"scheduler": true,
"denoise": true
},
"version": "7.5.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
42,
"fixed",
30,
1,
"euler",
"beta",
1
]
},
{
"id": 69,
"type": "MarkdownNote",
"pos": [
-869.9740753786278,
574.7910364476191
],
"size": [
519.2421649643175,
338.01057378012047
],
"flags": {},
"order": 5,
"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## 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": "#322",
"bgcolor": "#533"
},
{
"id": 104,
"type": "SaveImage",
"pos": [
756.4546199065986,
123.01805911034799
],
"size": [
521.9900516956579,
799.3659500468921
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 288
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.40",
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"flux_dype"
]
},
{
"id": 106,
"type": "DyPE_FLUX",
"pos": [
20.50266316562786,
590.5579455354278
],
"size": [
301.89999999999986,
322
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 291
}
],
"outputs": [
{
"name": "Patched Model",
"type": "MODEL",
"links": [
292
]
}
],
"title": "DyPE",
"properties": {
"cnr_id": "ComfyUI-DyPE",
"ver": "a717a8a26882dbb852f19c05d1bfe973d9f7eab3",
"Node name for S&R": "DyPE_FLUX"
},
"widgets_values": [
2048,
2048,
"auto",
"vision_yarn",
false,
true,
1024,
1,
2,
2,
0.5,
1.15
],
"color": "#332922",
"bgcolor": "#593930"
}
],
"links": [
[
52,
31,
0,
8,
0,
"LATENT"
],
[
64,
40,
0,
45,
0,
"CLIP"
],
[
66,
45,
0,
42,
0,
"CONDITIONING"
],
[
77,
39,
0,
55,
1,
"VAE"
],
[
85,
39,
0,
8,
1,
"VAE"
],
[
110,
42,
0,
31,
2,
"CONDITIONING"
],
[
111,
45,
0,
31,
1,
"CONDITIONING"
],
[
112,
31,
0,
55,
0,
"LATENT"
],
[
287,
27,
0,
31,
3,
"LATENT"
],
[
288,
55,
0,
104,
0,
"IMAGE"
],
[
291,
38,
0,
106,
0,
"MODEL"
],
[
292,
106,
0,
31,
0,
"MODEL"
]
],
"groups": [
{
"id": 1,
"title": "Step 1 - Load Models Here",
"bounding": [
-330,
80,
300,
460
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "Step 2 - Image Size",
"bounding": [
-330,
560,
300,
200
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "Step 3 - Prompt",
"bounding": [
-10,
80,
361.9005764856456,
399.16989485829595
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 5,
"title": "Model patch",
"bounding": [
-10,
510,
364.41774449769594,
418.2186315256216
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.7513148009015777,
"offset": [
981.9790000000002,
69.86000000000001
]
},
"frontendVersion": "1.32.9",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"workflowRendererVersion": "LG"
},
"version": 0.4
}