ComfyUI / workflows /flux-redux-schnell.json
aleph65's picture
Add flux-redux workflow drafts (v1): style+composition (Union-Pro-2.0), fal dev replica, prompt, Replicate schnell replica, BFL depth-lora variant + research notes; frozen starting points in wip/flux-redux/
7cd8b95 verified
Raw
History Blame Contribute Delete
15.8 kB
{
"id": "00000000-0000-0000-0000-000000000000",
"revision": 0,
"last_node_id": 18,
"last_link_id": 17,
"nodes": [
{
"id": 1,
"type": "MarkdownNote",
"pos": [
-1300,
-80
],
"size": [
540,
440
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"Node name for S&R": "MarkdownNote",
"cnr_id": "comfy-core",
"ver": "0.27.0"
},
"widgets_values": [
"## FLUX Redux schnell \u2014 Replicate `flux-redux-schnell` replica (v1 draft)\n\nParity with Replicate's `black-forest-labs/flux-redux-schnell` endpoint: image variations in\n**4 steps**, no prompt (their `redux_image` replaces it), no guidance (schnell ignores it \u2014 the\nendpoint schema has none, hence no FluxGuidance node), no safety checker locally.\n\n**Models** (HF `aleph65/ComfyUI`): `diffusion_models/flux1-schnell.safetensors` (bf16,\nApache-2.0, HF repo not gated) \u00b7 `text_encoders/t5xxl_fp16.safetensors` + `clip_l.safetensors`\n\u00b7 `vae/ae.safetensors` \u00b7 `style_models/flux1-redux-dev.safetensors` \u00b7\n`clip_vision/sigclip_vision_patch14_384.safetensors`\n\n**Endpoint mapping** \u2014 aspect_ratio @ ~1MP \u2192 EmptySD3LatentImage size (default 1:1 =\n1024x1024); num_outputs 1\u20134 \u2192 batch_size; num_inference_steps (max 4) \u2192 steps; seed \u2192 noise\nseed (values do NOT reproduce Replicate's outputs). euler / simple / denoise 1.0 /\nApply Style Model 1.0 multiply. Lower steps = faster + worse, exactly like the endpoint.\n"
]
},
{
"id": 2,
"type": "UNETLoader",
"pos": [
-720,
-80
],
"size": [
340,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
7,
9
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.27.0"
},
"widgets_values": [
"flux1-schnell.safetensors",
"default"
]
},
{
"id": 3,
"type": "DualCLIPLoader",
"pos": [
-720,
60
],
"size": [
340,
130
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
3
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.27.0"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux",
"default"
]
},
{
"id": 4,
"type": "VAELoader",
"pos": [
-720,
250
],
"size": [
340,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
16
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.27.0"
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 5,
"type": "LoadImage",
"pos": [
-720,
420
],
"size": [
274,
314
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
2
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [],
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.27.0"
},
"title": "Style reference (Image A)",
"widgets_values": [
"style_ref.png",
"image"
]
},
{
"id": 6,
"type": "CLIPVisionLoader",
"pos": [
-720,
780
],
"size": [
340,
58
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP_VISION",
"type": "CLIP_VISION",
"links": [
1
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPVisionLoader",
"cnr_id": "comfy-core",
"ver": "0.27.0"
},
"widgets_values": [
"sigclip_vision_patch14_384.safetensors"
]
},
{
"id": 7,
"type": "CLIPVisionEncode",
"pos": [
-340,
480
],
"size": [
290,
78
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": 1
},
{
"name": "image",
"type": "IMAGE",
"link": 2
}
],
"outputs": [
{
"name": "CLIP_VISION_OUTPUT",
"type": "CLIP_VISION_OUTPUT",
"links": [
6
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPVisionEncode",
"cnr_id": "comfy-core",
"ver": "0.27.0"
},
"widgets_values": [
"center"
]
},
{
"id": 8,
"type": "StyleModelLoader",
"pos": [
-720,
870
],
"size": [
340,
58
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STYLE_MODEL",
"type": "STYLE_MODEL",
"links": [
5
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "StyleModelLoader",
"cnr_id": "comfy-core",
"ver": "0.27.0"
},
"widgets_values": [
"flux1-redux-dev.safetensors"
]
},
{
"id": 9,
"type": "CLIPTextEncode",
"pos": [
-300,
60
],
"size": [
400,
160
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
4
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.27.0"
},
"title": "Prompt (endpoint has none \u2014 leave empty)",
"widgets_values": [
""
]
},
{
"id": 10,
"type": "StyleModelApply",
"pos": [
140,
100
],
"size": [
320,
102
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 4
},
{
"name": "style_model",
"type": "STYLE_MODEL",
"link": 5
},
{
"name": "clip_vision_output",
"type": "CLIP_VISION_OUTPUT",
"link": 6
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
8
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "StyleModelApply",
"cnr_id": "comfy-core",
"ver": "0.27.0"
},
"widgets_values": [
1.0,
"multiply"
]
},
{
"id": 11,
"type": "RandomNoise",
"pos": [
560,
-160
],
"size": [
290,
82
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
10
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "RandomNoise",
"cnr_id": "comfy-core",
"ver": "0.27.0"
},
"widgets_values": [
0,
"randomize"
]
},
{
"id": 12,
"type": "BasicGuider",
"pos": [
560,
20
],
"size": [
240,
66
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 7
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 8
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
11
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BasicGuider",
"cnr_id": "comfy-core",
"ver": "0.27.0"
}
},
{
"id": 13,
"type": "KSamplerSelect",
"pos": [
560,
140
],
"size": [
290,
58
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
12
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSamplerSelect",
"cnr_id": "comfy-core",
"ver": "0.27.0"
},
"widgets_values": [
"euler"
]
},
{
"id": 14,
"type": "BasicScheduler",
"pos": [
560,
250
],
"size": [
290,
106
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 9
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
13
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BasicScheduler",
"cnr_id": "comfy-core",
"ver": "0.27.0"
},
"widgets_values": [
"simple",
4,
1.0
]
},
{
"id": 15,
"type": "EmptySD3LatentImage",
"pos": [
560,
420
],
"size": [
290,
106
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
14
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptySD3LatentImage",
"cnr_id": "comfy-core",
"ver": "0.27.0"
},
"title": "size = aspect_ratio @ 1MP \u00b7 batch = num_outputs",
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 16,
"type": "SamplerCustomAdvanced",
"pos": [
980,
60
],
"size": [
270,
126
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 10
},
{
"name": "guider",
"type": "GUIDER",
"link": 11
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 12
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 13
},
{
"name": "latent_image",
"type": "LATENT",
"link": 14
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
15
],
"slot_index": 0
},
{
"name": "denoised_output",
"type": "LATENT",
"links": [],
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced",
"cnr_id": "comfy-core",
"ver": "0.27.0"
}
},
{
"id": 17,
"type": "VAEDecode",
"pos": [
1240,
60
],
"size": [
210,
66
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 15
},
{
"name": "vae",
"type": "VAE",
"link": 16
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
17
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.27.0"
}
},
{
"id": 18,
"type": "SaveImage",
"pos": [
1240,
180
],
"size": [
400,
400
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 17
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage",
"cnr_id": "comfy-core",
"ver": "0.27.0"
},
"widgets_values": [
"flux-redux/schnell"
]
}
],
"links": [
[
1,
6,
0,
7,
0,
"CLIP_VISION"
],
[
2,
5,
0,
7,
1,
"IMAGE"
],
[
3,
3,
0,
9,
0,
"CLIP"
],
[
4,
9,
0,
10,
0,
"CONDITIONING"
],
[
5,
8,
0,
10,
1,
"STYLE_MODEL"
],
[
6,
7,
0,
10,
2,
"CLIP_VISION_OUTPUT"
],
[
7,
2,
0,
12,
0,
"MODEL"
],
[
8,
10,
0,
12,
1,
"CONDITIONING"
],
[
9,
2,
0,
14,
0,
"MODEL"
],
[
10,
11,
0,
16,
0,
"NOISE"
],
[
11,
12,
0,
16,
1,
"GUIDER"
],
[
12,
13,
0,
16,
2,
"SAMPLER"
],
[
13,
14,
0,
16,
3,
"SIGMAS"
],
[
14,
15,
0,
16,
4,
"LATENT"
],
[
15,
16,
0,
17,
0,
"LATENT"
],
[
16,
4,
0,
17,
1,
"VAE"
],
[
17,
17,
0,
18,
0,
"IMAGE"
]
],
"groups": [
{
"id": 1,
"title": "STYLE REFERENCE \u2014 Redux",
"bounding": [
-740,
340,
940,
700
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "SAMPLING (Replicate defaults, 4 steps)",
"bounding": [
540,
-220,
1100,
760
],
"color": "#444",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {},
"version": 0.4
}