Files
workflow-templates-broken-z…/templates/image_flux.1_fill_dev_OneReward.json
2026-06-07 20:50:28 -07:00

2471 lines
62 KiB
JSON

{
"id": "e7c6bb1e-fcbe-44c9-a614-9d1972a25fb8",
"revision": 0,
"last_node_id": 121,
"last_link_id": 220,
"nodes": [
{
"id": 105,
"type": "PreviewImage",
"pos": [
560.3334346244172,
1.3333233400650997
],
"size": [
540,
640
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 202
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 121,
"type": "PreviewImage",
"pos": [
-219.6666141098665,
761.3332873405927
],
"size": [
280,
338.33333333333337
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 220
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage",
"cnr_id": "comfy-core",
"ver": "0.4.0",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 62,
"type": "SaveImage",
"pos": [
570.3334484309249,
751.3332735340848
],
"size": [
520,
589.3619791666667
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 211
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"Hanzo Studio"
]
},
{
"id": 104,
"type": "MarkdownNote",
"pos": [
-220,
520
],
"size": [
300,
90
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Note: How to draw mask",
"properties": {},
"widgets_values": [
"Right-click on the Load Image node, then click Open in `Maskeditor` to edit the mask."
],
"color": "#432",
"bgcolor": "#000"
},
{
"id": 17,
"type": "LoadImage",
"pos": [
-219.6666141098665,
1.3333233400650997
],
"size": [
300,
406.6666666666667
],
"flags": {
"collapsed": false
},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
200,
219,
220
]
},
{
"name": "MASK",
"type": "MASK",
"slot_index": 1,
"links": [
201
]
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"image_flux.1_fill_dev_OneReward_input_image.png",
"image"
]
},
{
"id": 101,
"type": "MarkdownNote",
"pos": [
-799.6666151969553,
11.333308586202683
],
"size": [
540,
630
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Note: About OneReward and Model links",
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"Guide: [Subgraph](https://docs.hanzo.ai/interface/features/subgraph)\n\n## Report issue\n\nNote: please update Hanzo Studio first ([guide](https://docs.hanzo.ai/zh-CN/installation/update_comfyui)) and prepare required models. Desktop/Cloud ship stable builds; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [HanzoStudio/issues](https://github.com/hanzoai/studio/issues)\n- UI / frontend issues: [HanzoStudio_frontend/issues](https://github.com/hanzoui/frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/hanzoui/workflow-templates/issues)\n\n\n## Model links\n\n**text_encoders**\n\n- [clip_l.safetensors](https://huggingface.co/hanzoai/flux_text_encoders/resolve/main/clip_l.safetensors?download=true)\n- [t5xxl_fp16.safetensors](https://huggingface.co/hanzoai/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors?download=true)\n- [t5xxl_fp16.safetensors](https://huggingface.co/hanzoai/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors)\n\n**loras**\n\n- [removal_timestep_alpha-2-1740.safetensors](https://huggingface.co/lrzjason/ObjectRemovalFluxFill/resolve/main/removal_timestep_alpha-2-1740.safetensors)\n\n**diffusion_models**\n\n- [flux.1-fill-dev-OneReward-transformer_fp8.safetensors](https://huggingface.co/hanzoui/OneReward_repackaged/resolve/main/split_files/diffusion_models/flux.1-fill-dev-OneReward-transformer_fp8.safetensors)\n\n**vae**\n\n- [ae.safetensors](https://huggingface.co/hanzoui/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors)\n\n\nModel Storage Location\n\n```\n📂 HanzoStudio/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ ├── clip_l.safetensors\n│ │ ├── t5xxl_fp16.safetensors\n│ │ └── t5xxl_fp16.safetensors\n│ ├── 📂 loras/\n│ │ └── removal_timestep_alpha-2-1740.safetensors\n│ ├── 📂 diffusion_models/\n│ │ └── flux.1-fill-dev-OneReward-transformer_fp8.safetensors\n│ └── 📂 vae/\n│ └── ae.safetensors\n```\n"
],
"color": "#432",
"bgcolor": "#000"
},
{
"id": 108,
"type": "cb0eaf1c-704f-477d-8893-79665db14ed1",
"pos": [
120.33339834547655,
1.3333233400650997
],
"size": [
400,
470
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"label": "input_image",
"name": "destination",
"type": "IMAGE",
"link": 200
},
{
"name": "mask",
"type": "MASK",
"link": 201
}
],
"outputs": [
{
"label": "image",
"name": "IMAGE",
"type": "IMAGE",
"links": [
202
]
}
],
"properties": {
"proxyWidgets": [
[
"23",
"text"
],
[
"3",
"seed"
],
[
"3",
"control_after_generate"
]
],
"cnr_id": "comfy-core",
"ver": "0.4.0",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 110,
"type": "b8560576-5524-4495-baa5-2cb40da12e9e",
"pos": [
110.33349878044976,
761.3332873405927
],
"size": [
410,
590
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 219
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
211
]
}
],
"properties": {
"proxyWidgets": [
[
"-1",
"text"
],
[
"-1",
"left"
],
[
"-1",
"top"
],
[
"-1",
"right"
],
[
"-1",
"bottom"
],
[
"-1",
"feathering"
],
[
"58",
"seed"
],
[
"58",
"control_after_generate"
]
],
"cnr_id": "comfy-core",
"ver": "0.4.0",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"",
40,
0,
104,
104,
40
]
}
],
"links": [
[
200,
17,
0,
108,
0,
"IMAGE"
],
[
201,
17,
1,
108,
1,
"MASK"
],
[
202,
108,
0,
105,
0,
"IMAGE"
],
[
211,
110,
0,
62,
0,
"IMAGE"
],
[
219,
17,
0,
110,
0,
"IMAGE"
],
[
220,
17,
0,
121,
0,
"IMAGE"
]
],
"groups": [],
"definitions": {
"subgraphs": [
{
"id": "cb0eaf1c-704f-477d-8893-79665db14ed1",
"version": 1,
"state": {
"lastGroupId": 9,
"lastNodeId": 107,
"lastLinkId": 202,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "OneReward Image Inpainting",
"inputNode": {
"id": -10,
"bounding": [
-1010,
350,
120,
80
]
},
"outputNode": {
"id": -20,
"bounding": [
1110,
350,
120,
60
]
},
"inputs": [
{
"id": "0436726e-a3a0-4cde-8df0-e03ad1bc38e0",
"name": "destination",
"type": "IMAGE",
"linkIds": [
99
],
"localized_name": "destination",
"label": "input_image",
"pos": [
-910,
370
]
},
{
"id": "1f223f5f-53d7-478f-82f4-5a848fca3ffd",
"name": "mask",
"type": "MASK",
"linkIds": [
201
],
"pos": [
-910,
390
]
}
],
"outputs": [
{
"id": "d9b970e3-6003-4854-8004-d2e8c4531820",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
95
],
"localized_name": "IMAGE",
"label": "image",
"pos": [
1130,
370
]
}
],
"widgets": [],
"nodes": [
{
"id": 26,
"type": "FluxGuidance",
"pos": [
170,
160
],
"size": [
210,
60
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 41
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
80
]
}
],
"properties": {
"Node name for S&R": "FluxGuidance",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
30
]
},
{
"id": 46,
"type": "ConditioningZeroOut",
"pos": [
-40,
170
],
"size": [
204.134765625,
26
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 101
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
102
]
}
],
"properties": {
"Node name for S&R": "ConditioningZeroOut",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 39,
"type": "DifferentialDiffusion",
"pos": [
410,
-80
],
"size": [
315,
58
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 196
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
86
]
}
],
"properties": {
"Node name for S&R": "DifferentialDiffusion",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
1
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
410,
310
],
"size": [
210,
46
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 60
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
95
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 32,
"type": "VAELoader",
"pos": [
-430,
370
],
"size": [
315,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
60,
82
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"models": [
{
"name": "ae.safetensors",
"url": "https://huggingface.co/hanzoui/Lumina_Image_2.0_Repackaged/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": [
"ae.safetensors"
]
},
{
"id": 31,
"type": "UNETLoader",
"pos": [
-430,
-50
],
"size": [
315,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
195
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"models": [
{
"name": "flux.1-fill-dev-OneReward-transformer_fp8.safetensors",
"url": "https://huggingface.co/hanzoui/OneReward_repackaged/resolve/main/split_files/diffusion_models/flux.1-fill-dev-OneReward-transformer_fp8.safetensors",
"directory": "diffusion_models"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"flux.1-fill-dev-OneReward-transformer_fp8.safetensors",
"default"
]
},
{
"id": 34,
"type": "DualCLIPLoader",
"pos": [
-430,
200
],
"size": [
315,
130
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP",
"links": [
62
]
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"models": [
{
"name": "clip_l.safetensors",
"url": "https://huggingface.co/hanzoai/flux_text_encoders/resolve/main/clip_l.safetensors?download=true",
"directory": "text_encoders"
},
{
"name": "t5xxl_fp16.safetensors",
"url": "https://huggingface.co/hanzoai/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors?download=true",
"directory": "text_encoders"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"clip_l.safetensors",
"t5xxl_fp16.safetensors",
"flux",
"default"
]
},
{
"id": 23,
"type": "CLIPTextEncode",
"pos": [
-40,
-50
],
"size": [
422.8500061035156,
164.30999755859375
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 62
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
41,
101
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"Remove the girl's hat\n"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 103,
"type": "MarkdownNote",
"pos": [
-490,
-280
],
"size": [
420,
110
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Note: About object removal",
"properties": {},
"widgets_values": [
"By default, this group is an image inpainting workflow. \n\nYou can select the the \n**LoraLoaderModelOnly** node and use **Ctrl+B** to enable it, which will turn it into an object removal workflow. \n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 100,
"type": "LoraLoaderModelOnly",
"pos": [
-430,
80
],
"size": [
315,
82
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 195
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
196
]
}
],
"properties": {
"Node name for S&R": "LoraLoaderModelOnly",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"models": [
{
"name": "removal_timestep_alpha-2-1740.safetensors",
"url": "https://huggingface.co/lrzjason/ObjectRemovalFluxFill/resolve/main/removal_timestep_alpha-2-1740.safetensors",
"directory": "loras"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"removal_timestep_alpha-2-1740.safetensors",
1
]
},
{
"id": 38,
"type": "InpaintModelConditioning",
"pos": [
-40,
300
],
"size": [
302.3999938964844,
138
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 80
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 102
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 82
},
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 99
},
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 201
}
],
"outputs": [
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
77
]
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"slot_index": 1,
"links": [
78
]
},
{
"localized_name": "latent",
"name": "latent",
"type": "LATENT",
"slot_index": 2,
"links": [
199
]
}
],
"properties": {
"Node name for S&R": "InpaintModelConditioning",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
true
]
},
{
"id": 3,
"type": "KSampler",
"pos": [
410,
0
],
"size": [
315,
474
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 86
},
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 77
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 78
},
{
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 199
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
7
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
1100974460616450,
"randomize",
20,
1,
"euler",
"normal",
1
]
}
],
"groups": [
{
"id": 9,
"title": "Inpainting & Object removal",
"bounding": [
-490,
-160,
1290,
690
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 1,
"title": "Step1 - Load models",
"bounding": [
-480,
-120,
410,
580
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "Step3 - Prompt",
"bounding": [
-50,
-120,
440,
370
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"links": [
{
"id": 86,
"origin_id": 39,
"origin_slot": 0,
"target_id": 3,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 77,
"origin_id": 38,
"origin_slot": 0,
"target_id": 3,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 78,
"origin_id": 38,
"origin_slot": 1,
"target_id": 3,
"target_slot": 2,
"type": "CONDITIONING"
},
{
"id": 199,
"origin_id": 38,
"origin_slot": 2,
"target_id": 3,
"target_slot": 3,
"type": "LATENT"
},
{
"id": 41,
"origin_id": 23,
"origin_slot": 0,
"target_id": 26,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 101,
"origin_id": 23,
"origin_slot": 0,
"target_id": 46,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 196,
"origin_id": 100,
"origin_slot": 0,
"target_id": 39,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 7,
"origin_id": 3,
"origin_slot": 0,
"target_id": 8,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 60,
"origin_id": 32,
"origin_slot": 0,
"target_id": 8,
"target_slot": 1,
"type": "VAE"
},
{
"id": 62,
"origin_id": 34,
"origin_slot": 0,
"target_id": 23,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 80,
"origin_id": 26,
"origin_slot": 0,
"target_id": 38,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 102,
"origin_id": 46,
"origin_slot": 0,
"target_id": 38,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 82,
"origin_id": 32,
"origin_slot": 0,
"target_id": 38,
"target_slot": 2,
"type": "VAE"
},
{
"id": 195,
"origin_id": 31,
"origin_slot": 0,
"target_id": 100,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 99,
"origin_id": -10,
"origin_slot": 0,
"target_id": 38,
"target_slot": 3,
"type": "IMAGE"
},
{
"id": 95,
"origin_id": 8,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 201,
"origin_id": -10,
"origin_slot": 1,
"target_id": 38,
"target_slot": 4,
"type": "MASK"
}
],
"extra": {
"workflowRendererVersion": "LG"
}
},
{
"id": "b8560576-5524-4495-baa5-2cb40da12e9e",
"version": 1,
"state": {
"lastGroupId": 9,
"lastNodeId": 109,
"lastLinkId": 215,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "OneReward Image Outpainting",
"inputNode": {
"id": -10,
"bounding": [
1760,
275,
120,
180
]
},
"outputNode": {
"id": -20,
"bounding": [
3230,
275,
120,
60
]
},
"inputs": [
{
"id": "f974d37e-1eb8-475b-976c-170a284e696c",
"name": "image",
"type": "IMAGE",
"linkIds": [
143
],
"localized_name": "image",
"pos": [
1860,
295
]
},
{
"id": "e73bdf33-93d3-45fc-b335-0ff3cdbbb494",
"name": "left",
"type": "INT",
"linkIds": [
210
],
"pos": [
1860,
315
]
},
{
"id": "02c9eb3a-6702-46f1-ba94-7cfe7af9b2e8",
"name": "top",
"type": "INT",
"linkIds": [
211
],
"pos": [
1860,
335
]
},
{
"id": "f7c630e9-8f9d-403d-8190-eefe98aec243",
"name": "right",
"type": "INT",
"linkIds": [
212
],
"pos": [
1860,
355
]
},
{
"id": "3fa12006-9d55-4c9a-8bc3-ffeb98a77ecd",
"name": "bottom",
"type": "INT",
"linkIds": [
213
],
"pos": [
1860,
375
]
},
{
"id": "3eb2072e-cdbe-4ef6-b891-a7f023ea65f0",
"name": "feathering",
"type": "INT",
"linkIds": [
214
],
"pos": [
1860,
395
]
},
{
"id": "b100ca10-b4d0-4bc4-bafc-f69663462a1b",
"name": "text",
"type": "STRING",
"linkIds": [
215
],
"pos": [
1860,
415
]
}
],
"outputs": [
{
"id": "b01fb25c-6be9-4adf-98ac-9fcde5495520",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
125
],
"localized_name": "IMAGE",
"pos": [
3250,
295
]
}
],
"widgets": [],
"nodes": [
{
"id": 59,
"type": "VAELoader",
"pos": [
1990,
250
],
"size": [
315,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
128,
137
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"models": [
{
"name": "ae.safetensors",
"url": "https://huggingface.co/hanzoui/Lumina_Image_2.0_Repackaged/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": [
"ae.safetensors"
]
},
{
"id": 60,
"type": "FluxGuidance",
"pos": [
2600,
160
],
"size": [
210,
60
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 123
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
135
]
}
],
"properties": {
"Node name for S&R": "FluxGuidance",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
30
]
},
{
"id": 61,
"type": "ConditioningZeroOut",
"pos": [
2390,
170
],
"size": [
204.134765625,
26
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 124
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
136
]
}
],
"properties": {
"Node name for S&R": "ConditioningZeroOut",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 63,
"type": "DifferentialDiffusion",
"pos": [
2840,
-80
],
"size": [
315,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 126
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
119
]
}
],
"properties": {
"Node name for S&R": "DifferentialDiffusion",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
1
]
},
{
"id": 65,
"type": "VAEDecode",
"pos": [
2840,
310
],
"size": [
210,
46
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 127
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 128
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
125
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 71,
"type": "InpaintModelConditioning",
"pos": [
2390,
300
],
"size": [
302.3999938964844,
138
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 135
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 136
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 137
},
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 149
},
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 158
}
],
"outputs": [
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
120
]
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"slot_index": 1,
"links": [
121
]
},
{
"localized_name": "latent",
"name": "latent",
"type": "LATENT",
"slot_index": 2,
"links": [
140
]
}
],
"properties": {
"Node name for S&R": "InpaintModelConditioning",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
false
]
},
{
"id": 58,
"type": "KSampler",
"pos": [
2840,
0
],
"size": [
315,
262
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 119
},
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 120
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 121
},
{
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 122
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
127
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
325184035774450,
"randomize",
20,
1,
"euler",
"normal",
1
]
},
{
"id": 73,
"type": "SetLatentNoiseMask",
"pos": [
2830,
520
],
"size": [
188.1373046875,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 140
},
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 157
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
122
]
}
],
"properties": {
"Node name for S&R": "SetLatentNoiseMask",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 75,
"type": "ImagePadForOutpaint",
"pos": [
2400,
520
],
"size": [
270,
174
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 143
},
{
"localized_name": "left",
"name": "left",
"type": "INT",
"widget": {
"name": "left"
},
"link": 210
},
{
"localized_name": "top",
"name": "top",
"type": "INT",
"widget": {
"name": "top"
},
"link": 211
},
{
"localized_name": "right",
"name": "right",
"type": "INT",
"widget": {
"name": "right"
},
"link": 212
},
{
"localized_name": "bottom",
"name": "bottom",
"type": "INT",
"widget": {
"name": "bottom"
},
"link": 213
},
{
"localized_name": "feathering",
"name": "feathering",
"type": "INT",
"widget": {
"name": "feathering"
},
"link": 214
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
149
]
},
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": [
157,
158
]
}
],
"properties": {
"Node name for S&R": "ImagePadForOutpaint",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
40,
0,
104,
104,
40
]
},
{
"id": 74,
"type": "CLIPTextEncode",
"pos": [
2390,
-50
],
"size": [
422.8500061035156,
164.30999755859375
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 142
},
{
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 215
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
123,
124
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 64,
"type": "UNETLoader",
"pos": [
1990,
-50
],
"size": [
315,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
126
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"models": [
{
"name": "flux.1-fill-dev-OneReward-transformer_fp8.safetensors",
"url": "https://huggingface.co/hanzoui/OneReward_repackaged/resolve/main/split_files/diffusion_models/flux.1-fill-dev-OneReward-transformer_fp8.safetensors",
"directory": "diffusion_models"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"flux.1-fill-dev-OneReward-transformer_fp8.safetensors",
"default"
]
},
{
"id": 57,
"type": "DualCLIPLoader",
"pos": [
1990,
80
],
"size": [
315,
130
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP",
"links": [
142
]
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"models": [
{
"name": "clip_l.safetensors",
"url": "https://huggingface.co/hanzoai/flux_text_encoders/resolve/main/clip_l.safetensors?download=true",
"directory": "text_encoders"
},
{
"name": "t5xxl_fp16.safetensors",
"url": "https://huggingface.co/hanzoai/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors",
"directory": "text_encoders"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"clip_l.safetensors",
"t5xxl_fp16.safetensors",
"flux",
"default"
]
}
],
"groups": [
{
"id": 8,
"title": "Outpainting",
"bounding": [
1940,
-160,
1230,
930
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 4,
"title": "Step1 - Load models",
"bounding": [
1950,
-120,
410,
440
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 6,
"title": "Step3 - Prompt",
"bounding": [
2380,
-120,
440,
370
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"links": [
{
"id": 123,
"origin_id": 74,
"origin_slot": 0,
"target_id": 60,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 124,
"origin_id": 74,
"origin_slot": 0,
"target_id": 61,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 126,
"origin_id": 64,
"origin_slot": 0,
"target_id": 63,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 127,
"origin_id": 58,
"origin_slot": 0,
"target_id": 65,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 128,
"origin_id": 59,
"origin_slot": 0,
"target_id": 65,
"target_slot": 1,
"type": "VAE"
},
{
"id": 135,
"origin_id": 60,
"origin_slot": 0,
"target_id": 71,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 136,
"origin_id": 61,
"origin_slot": 0,
"target_id": 71,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 137,
"origin_id": 59,
"origin_slot": 0,
"target_id": 71,
"target_slot": 2,
"type": "VAE"
},
{
"id": 149,
"origin_id": 75,
"origin_slot": 0,
"target_id": 71,
"target_slot": 3,
"type": "IMAGE"
},
{
"id": 158,
"origin_id": 75,
"origin_slot": 1,
"target_id": 71,
"target_slot": 4,
"type": "MASK"
},
{
"id": 142,
"origin_id": 57,
"origin_slot": 0,
"target_id": 74,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 119,
"origin_id": 63,
"origin_slot": 0,
"target_id": 58,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 120,
"origin_id": 71,
"origin_slot": 0,
"target_id": 58,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 121,
"origin_id": 71,
"origin_slot": 1,
"target_id": 58,
"target_slot": 2,
"type": "CONDITIONING"
},
{
"id": 122,
"origin_id": 73,
"origin_slot": 0,
"target_id": 58,
"target_slot": 3,
"type": "LATENT"
},
{
"id": 140,
"origin_id": 71,
"origin_slot": 2,
"target_id": 73,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 157,
"origin_id": 75,
"origin_slot": 1,
"target_id": 73,
"target_slot": 1,
"type": "MASK"
},
{
"id": 143,
"origin_id": -10,
"origin_slot": 0,
"target_id": 75,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 125,
"origin_id": 65,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 210,
"origin_id": -10,
"origin_slot": 1,
"target_id": 75,
"target_slot": 1,
"type": "INT"
},
{
"id": 211,
"origin_id": -10,
"origin_slot": 2,
"target_id": 75,
"target_slot": 2,
"type": "INT"
},
{
"id": 212,
"origin_id": -10,
"origin_slot": 3,
"target_id": 75,
"target_slot": 3,
"type": "INT"
},
{
"id": 213,
"origin_id": -10,
"origin_slot": 4,
"target_id": 75,
"target_slot": 4,
"type": "INT"
},
{
"id": 214,
"origin_id": -10,
"origin_slot": 5,
"target_id": 75,
"target_slot": 5,
"type": "INT"
},
{
"id": 215,
"origin_id": -10,
"origin_slot": 6,
"target_id": 74,
"target_slot": 1,
"type": "STRING"
}
],
"extra": {
"workflowRendererVersion": "LG"
}
}
]
},
"config": {},
"extra": {
"ds": {
"scale": 0.663948507840026,
"offset": [
859.3291041900632,
139.8476036499062
]
},
"frontendVersion": "1.38.6",
"workflowRendererVersion": "LG",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}