Files
Bria-AI-ComfyUI-BRIA-API/workflows/background_generation_workflow.json
T
2026-01-24 20:58:43 +00:00

491 lines
8.1 KiB
JSON

{
"id": "f47c8ffe-20e8-473c-a56b-c6241da2c469",
"revision": 0,
"last_node_id": 43,
"last_link_id": 78,
"nodes": [
{
"id": 31,
"type": "PreviewImage",
"pos": [
1668.734619140625,
796.7755737304688
],
"size": [
210,
246
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 78
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 29,
"type": "PreviewImage",
"pos": [
872.8858032226562,
679.9429321289062
],
"size": [
210,
246
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 66
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 38,
"type": "Note",
"pos": [
436.7110900878906,
566.2047119140625
],
"size": [
306.28387451171875,
88
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"You can get your BRIA API token at:\nhttps://bria.ai/api/"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 28,
"type": "LoadImage",
"pos": [
29.629886627197266,
676.8370361328125
],
"size": [
315,
314
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
68
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"pexels-photo-1808399.jpeg",
"image"
]
},
{
"id": 34,
"type": "LoadImage",
"pos": [
19.94045066833496,
1075.806640625
],
"size": [
315,
314
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
69
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"quirky-red-brick-brick-wallpaper.jpg",
"image"
]
},
{
"id": 36,
"type": "PreviewImage",
"pos": [
455.6301574707031,
1240.017578125
],
"size": [
210,
246
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 71
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 40,
"type": "RmbgNode",
"pos": [
414.095703125,
749.6687622070312
],
"size": [
347.462890625,
130
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 68
}
],
"outputs": [
{
"name": "output_images",
"type": "IMAGE",
"links": [
66,
74
]
}
],
"properties": {
"Node name for S&R": "RmbgNode"
},
"widgets_values": [
"BRIA_API_TOKEN",
false,
false,
true
]
},
{
"id": 41,
"type": "RemoveForegroundNode",
"pos": [
397.44732666015625,
1127.818359375
],
"size": [
347.462890625,
130
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 69
}
],
"outputs": [
{
"name": "output_images",
"type": "IMAGE",
"links": [
71,
75
]
}
],
"properties": {
"Node name for S&R": "RemoveForegroundNode"
},
"widgets_values": [
"BRIA_API_TOKEN",
false,
false,
true
]
},
{
"id": 42,
"type": "ReplaceBgNode",
"pos": [
800.56884765625,
1050.5228271484375
],
"size": [
347.462890625,
318
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 74
},
{
"name": "ref_images",
"shape": 7,
"type": "IMAGE",
"link": 75
}
],
"outputs": [
{
"name": "output_images",
"type": "IMAGE",
"links": [
72,
77
]
}
],
"properties": {
"Node name for S&R": "ReplaceBgNode"
},
"widgets_values": [
"BRIA_API_TOKEN",
"base",
"",
true,
true,
false,
"",
"681794",
false,
false,
false
]
},
{
"id": 43,
"type": "ImageExpansionNode",
"pos": [
1241.743896484375,
731.8318481445312
],
"size": [
347.462890625,
322
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 77
}
],
"outputs": [
{
"name": "output_images",
"type": "IMAGE",
"links": [
78
]
}
],
"properties": {
"Node name for S&R": "ImageExpansionNode"
},
"widgets_values": [
"BRIA_API_TOKEN",
"",
"",
"1000, 1000",
"None",
"",
"681794",
"Ugly, mutated",
false,
true,
false,
false
]
},
{
"id": 33,
"type": "PreviewImage",
"pos": [
1316.2191162109375,
1169.61962890625
],
"size": [
210,
246
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 72
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
}
],
"links": [
[
66,
40,
0,
29,
0,
"IMAGE"
],
[
68,
28,
0,
40,
0,
"IMAGE"
],
[
69,
34,
0,
41,
0,
"IMAGE"
],
[
71,
41,
0,
36,
0,
"IMAGE"
],
[
72,
42,
0,
33,
0,
"IMAGE"
],
[
74,
40,
0,
42,
0,
"IMAGE"
],
[
75,
41,
0,
42,
1,
"IMAGE"
],
[
77,
42,
0,
43,
0,
"IMAGE"
],
[
78,
43,
0,
31,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.61159090448415,
"offset": [
138.07082928418134,
-488.9478800208311
]
},
"node_versions": {
"comfyui-bria-api": "c72754d15b53a13ee0c0419d70401232c56b7fdb",
"comfy-core": "v0.3.8-1-gc441048",
"ComfyUI-Jjk-Nodes": "b3c99bb78a99551776b5eab1a820e1cd58f84f31"
},
"frontendVersion": "1.25.11"
},
"version": 0.4
}