* Modified examples * Check Black Formatting * Second modification * black formatting again * Modified the image size --------- Co-authored-by: Yao Chi <later@usopp.net>
267 lines
4.5 KiB
JSON
267 lines
4.5 KiB
JSON
{
|
|
"last_node_id": 41,
|
|
"last_link_id": 53,
|
|
"nodes": [
|
|
{
|
|
"id": 41,
|
|
"type": "Note",
|
|
"pos": {
|
|
"0": 1048,
|
|
"1": -143
|
|
},
|
|
"size": {
|
|
"0": 929.72265625,
|
|
"1": 63.52081298828125
|
|
},
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"properties": {
|
|
"text": ""
|
|
},
|
|
"widgets_values": [
|
|
"这个例子中,先使用 BizyAir Generate Photorealistic Image 节点生成了一张图片,然后使用 BizyAir Remove Image Background 节点将该图片的背景抠除掉。\n\n你可以对比地看到抠除背景前后的两张图片。 "
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
},
|
|
{
|
|
"id": 38,
|
|
"type": "BizyAirGenerateLightningImage",
|
|
"pos": {
|
|
"0": 365,
|
|
"1": 168
|
|
},
|
|
"size": [
|
|
413,
|
|
311
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
51,
|
|
52
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3,
|
|
"label": "IMAGE"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "BizyAirGenerateLightningImage"
|
|
},
|
|
"widgets_values": [
|
|
"a dog",
|
|
1038091115073926,
|
|
"fixed",
|
|
1024,
|
|
1024,
|
|
1.5,
|
|
1
|
|
],
|
|
"shape": 1
|
|
},
|
|
{
|
|
"id": 39,
|
|
"type": "PreviewImage",
|
|
"pos": {
|
|
"0": 430,
|
|
"1": -107
|
|
},
|
|
"size": [
|
|
208,
|
|
162
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 52,
|
|
"label": "images"
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": [],
|
|
"shape": 1
|
|
},
|
|
{
|
|
"id": 36,
|
|
"type": "BizyAirRemoveBackground",
|
|
"pos": {
|
|
"0": 823,
|
|
"1": 175
|
|
},
|
|
"size": [
|
|
392,
|
|
304
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 51,
|
|
"label": "image"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
53
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3,
|
|
"label": "IMAGE"
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"shape": 3,
|
|
"label": "MASK"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "BizyAirRemoveBackground"
|
|
},
|
|
"widgets_values": [],
|
|
"shape": 1
|
|
},
|
|
{
|
|
"id": 40,
|
|
"type": "PreviewImage",
|
|
"pos": {
|
|
"0": 1252,
|
|
"1": 165
|
|
},
|
|
"size": [
|
|
358,
|
|
313
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 53,
|
|
"slot_index": 0,
|
|
"label": "images"
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": [],
|
|
"shape": 1
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
51,
|
|
38,
|
|
0,
|
|
36,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
52,
|
|
38,
|
|
0,
|
|
39,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
53,
|
|
36,
|
|
0,
|
|
40,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "中间预览图",
|
|
"bounding": [
|
|
418,
|
|
-174,
|
|
230,
|
|
233
|
|
],
|
|
"color": "#b06634",
|
|
"font_size": 24,
|
|
"flags": {}
|
|
},
|
|
{
|
|
"title": "模型",
|
|
"bounding": [
|
|
802,
|
|
87,
|
|
421,
|
|
412
|
|
],
|
|
"color": "#a1309b",
|
|
"font_size": 24,
|
|
"flags": {}
|
|
},
|
|
{
|
|
"title": "预览图",
|
|
"bounding": [
|
|
1224,
|
|
88,
|
|
408,
|
|
411
|
|
],
|
|
"color": "#8A8",
|
|
"font_size": 24,
|
|
"flags": {}
|
|
},
|
|
{
|
|
"title": "提示词",
|
|
"bounding": [
|
|
341,
|
|
87,
|
|
459,
|
|
413
|
|
],
|
|
"color": "#3f789e",
|
|
"font_size": 24,
|
|
"flags": {}
|
|
}
|
|
],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.8264462809917354,
|
|
"offset": [
|
|
-70.89999999999966,
|
|
350.2
|
|
]
|
|
}
|
|
},
|
|
"version": 0.4
|
|
}
|