Files
siliconflow-BizyAir/examples/bizyair_sdxl_InstantID_basic.json
caylaxiaoandYao Chi 25a5f40cd9 Modified examples (#165)
* Modified examples

* Check Black Formatting

* Second modification

* black formatting again

* Modified the image size

---------

Co-authored-by: Yao Chi <later@usopp.net>
2024-10-28 14:44:03 +08:00

861 lines
16 KiB
JSON

{
"last_node_id": 126,
"last_link_id": 312,
"nodes": [
{
"id": 122,
"type": "BizyAir_LoadImageURL",
"pos": {
"0": -688.2122802734375,
"1": -1295.440673828125
},
"size": {
"0": 289.0152587890625,
"1": 579.897705078125
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
308,
309
],
"slot_index": 0,
"shape": 3,
"label": "IMAGE"
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3,
"label": "MASK"
}
],
"properties": {
"Node name for S&R": "BizyAir_LoadImageURL"
},
"widgets_values": [
"https://bizy-air.oss-cn-beijing.aliyuncs.com/examples_asset/bizyair-instantid-example.webp"
],
"shape": 1
},
{
"id": 95,
"type": "BizyAir_KSampler",
"pos": {
"0": 951.4533081054688,
"1": -1289.368408203125
},
"size": {
"0": 359.1701354980469,
"1": 567.1951293945312
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "BIZYAIR_MODEL",
"link": 259,
"label": "model"
},
{
"name": "positive",
"type": "BIZYAIR_CONDITIONING",
"link": 311,
"label": "positive"
},
{
"name": "negative",
"type": "BIZYAIR_CONDITIONING",
"link": 312,
"label": "negative"
},
{
"name": "latent_image",
"type": "LATENT",
"link": 262,
"label": "latent_image"
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
272
],
"slot_index": 0,
"shape": 3,
"label": "LATENT"
}
],
"properties": {
"Node name for S&R": "BizyAir_KSampler"
},
"widgets_values": [
1,
"fixed",
30,
4.5,
"ddpm",
"karras",
1
],
"shape": 1
},
{
"id": 97,
"type": "PreviewImage",
"pos": {
"0": 1743.5711669921875,
"1": -1001.368896484375
},
"size": {
"0": 471.4228515625,
"1": 276.49249267578125
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 267,
"label": "images"
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [],
"shape": 1
},
{
"id": 123,
"type": "PreviewImage",
"pos": {
"0": 1742.5712890625,
"1": -1290.368896484375
},
"size": {
"0": 469.4228515625,
"1": 246
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 309,
"label": "images"
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": [],
"shape": 1
},
{
"id": 93,
"type": "BizyAir_CLIPTextEncode",
"pos": {
"0": 161.9123992919922,
"1": -958.3693237304688
},
"size": {
"0": 352.18365478515625,
"1": 238.0712890625
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "BIZYAIR_CLIP",
"link": 255,
"label": "clip"
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "BIZYAIR_CONDITIONING",
"links": [
257
],
"slot_index": 0,
"shape": 3,
"label": "CONDITIONING"
}
],
"properties": {
"Node name for S&R": "BizyAir_CLIPTextEncode"
},
"widgets_values": [
"comic character. graphic illustration, comic art, graphic novel art, vibrant, highly detailed"
],
"shape": 1
},
{
"id": 92,
"type": "BizyAir_ControlNetLoader",
"pos": {
"0": -355,
"1": -1287
},
"size": {
"0": 466.72210693359375,
"1": 238.01937866210938
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CONTROL_NET",
"type": "BIZYAIR_CONTROL_NET",
"links": [
252
],
"shape": 3,
"label": "CONTROL_NET"
}
],
"properties": {
"Node name for S&R": "BizyAir_ControlNetLoader"
},
"widgets_values": [
"instantid/diffusion_pytorch_model.safetensors"
],
"shape": 1
},
{
"id": 90,
"type": "BizyAir_CheckpointLoaderSimple",
"pos": {
"0": -356,
"1": -974
},
"size": {
"0": 488.2195129394531,
"1": 254.44187927246094
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "model",
"type": "BIZYAIR_MODEL",
"links": [
253
],
"slot_index": 0,
"shape": 3,
"label": "model"
},
{
"name": "clip",
"type": "BIZYAIR_CLIP",
"links": [
255,
256
],
"slot_index": 1,
"shape": 3,
"label": "clip"
},
{
"name": "vae",
"type": "BIZYAIR_VAE",
"links": [
266
],
"slot_index": 2,
"shape": 3,
"label": "vae"
}
],
"properties": {
"Node name for S&R": "BizyAir_CheckpointLoaderSimple"
},
"widgets_values": [
"sdxl/samaritan3dCartoon_v40SDXL.safetensors"
],
"shape": 1
},
{
"id": 94,
"type": "BizyAir_CLIPTextEncode",
"pos": {
"0": 164.04673767089844,
"1": -1291.636474609375
},
"size": {
"0": 348.83233642578125,
"1": 294.600341796875
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "BIZYAIR_CLIP",
"link": 256,
"label": "clip"
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "BIZYAIR_CONDITIONING",
"links": [
258
],
"slot_index": 0,
"shape": 3,
"label": "CONDITIONING"
}
],
"properties": {
"Node name for S&R": "BizyAir_CLIPTextEncode"
},
"widgets_values": [
"photograph, deformed, glitch, noisy, realistic, stock photo"
],
"shape": 1
},
{
"id": 85,
"type": "BizyAir_InstantIDFaceAnalysis",
"pos": {
"0": 542,
"1": -805
},
"size": {
"0": 379.4406433105469,
"1": 71.97943878173828
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "BIZYAIR_FACEANALYSIS",
"type": "BIZYAIR_FACEANALYSIS",
"links": [
251
],
"slot_index": 0,
"shape": 3,
"label": "BIZYAIR_FACEANALYSIS"
}
],
"properties": {
"Node name for S&R": "BizyAir_InstantIDFaceAnalysis"
},
"widgets_values": [
"CUDA"
],
"shape": 1
},
{
"id": 83,
"type": "BizyAir_InstantIDModelLoader",
"pos": {
"0": 540,
"1": -946
},
"size": {
"0": 376.38671875,
"1": 70.06453704833984
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "BIZYAIR_INSTANTID",
"type": "BIZYAIR_INSTANTID",
"links": [
250
],
"slot_index": 0,
"shape": 3,
"label": "BIZYAIR_INSTANTID"
}
],
"properties": {
"Node name for S&R": "BizyAir_InstantIDModelLoader"
},
"widgets_values": [
"ip-adapter.bin"
],
"shape": 1
},
{
"id": 91,
"type": "BizyAir_ApplyInstantID",
"pos": {
"0": 537,
"1": -1284
},
"size": {
"0": 374.035400390625,
"1": 275.5548400878906
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "instantid",
"type": "BIZYAIR_INSTANTID",
"link": 250,
"label": "instantid"
},
{
"name": "insightface",
"type": "BIZYAIR_FACEANALYSIS",
"link": 251,
"label": "insightface"
},
{
"name": "control_net",
"type": "BIZYAIR_CONTROL_NET",
"link": 252,
"label": "control_net"
},
{
"name": "image",
"type": "IMAGE",
"link": 308,
"label": "image"
},
{
"name": "model",
"type": "BIZYAIR_MODEL",
"link": 253,
"label": "model"
},
{
"name": "positive",
"type": "BIZYAIR_CONDITIONING",
"link": 257,
"label": "positive"
},
{
"name": "negative",
"type": "BIZYAIR_CONDITIONING",
"link": 258,
"label": "negative"
},
{
"name": "image_kps",
"type": "IMAGE",
"link": null,
"label": "image_kps",
"shape": 7
},
{
"name": "mask",
"type": "MASK",
"link": null,
"label": "mask",
"shape": 7
}
],
"outputs": [
{
"name": "MODEL",
"type": "BIZYAIR_MODEL",
"links": [
259
],
"slot_index": 0,
"shape": 3,
"label": "MODEL"
},
{
"name": "positive",
"type": "BIZYAIR_CONDITIONING",
"links": [
311
],
"slot_index": 1,
"shape": 3,
"label": "positive"
},
{
"name": "negative",
"type": "BIZYAIR_CONDITIONING",
"links": [
312
],
"slot_index": 2,
"shape": 3,
"label": "negative"
}
],
"properties": {
"Node name for S&R": "BizyAir_ApplyInstantID"
},
"widgets_values": [
0.8,
0,
1
],
"shape": 1
},
{
"id": 96,
"type": "BizyAir_VAEDecode",
"pos": {
"0": 1354,
"1": -1291
},
"size": {
"0": 351.8055114746094,
"1": 563.3419799804688
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 272,
"label": "samples"
},
{
"name": "vae",
"type": "BIZYAIR_VAE",
"link": 266,
"label": "vae"
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
267
],
"slot_index": 0,
"shape": 3,
"label": "IMAGE"
}
],
"properties": {
"Node name for S&R": "BizyAir_VAEDecode"
},
"widgets_values": [],
"shape": 1
},
{
"id": 5,
"type": "EmptyLatentImage",
"pos": {
"0": 467.71759033203125,
"1": -493.7902526855469
},
"size": {
"0": 432.20556640625,
"1": 186.78692626953125
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
262
],
"slot_index": 0,
"label": "LATENT"
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
1
],
"shape": 1
}
],
"links": [
[
250,
83,
0,
91,
0,
"BIZYAIR_INSTANTID"
],
[
251,
85,
0,
91,
1,
"BIZYAIR_FACEANALYSIS"
],
[
252,
92,
0,
91,
2,
"BIZYAIR_CONTROL_NET"
],
[
253,
90,
0,
91,
4,
"BIZYAIR_MODEL"
],
[
255,
90,
1,
93,
0,
"BIZYAIR_CLIP"
],
[
256,
90,
1,
94,
0,
"BIZYAIR_CLIP"
],
[
257,
93,
0,
91,
5,
"BIZYAIR_CONDITIONING"
],
[
258,
94,
0,
91,
6,
"BIZYAIR_CONDITIONING"
],
[
259,
91,
0,
95,
0,
"BIZYAIR_MODEL"
],
[
262,
5,
0,
95,
3,
"LATENT"
],
[
266,
90,
2,
96,
1,
"BIZYAIR_VAE"
],
[
267,
96,
0,
97,
0,
"IMAGE"
],
[
272,
95,
0,
96,
0,
"LATENT"
],
[
308,
122,
0,
91,
3,
"IMAGE"
],
[
309,
122,
0,
123,
0,
"IMAGE"
],
[
311,
91,
1,
95,
1,
"BIZYAIR_CONDITIONING"
],
[
312,
91,
2,
95,
2,
"BIZYAIR_CONDITIONING"
]
],
"groups": [
{
"title": "垫图",
"bounding": [
458,
-581,
455,
313
],
"color": "#b06634",
"font_size": 24,
"flags": {}
},
{
"title": "预览图",
"bounding": [
1722,
-1377,
514,
675
],
"color": "#444",
"font_size": 24,
"flags": {}
},
{
"title": "采样器",
"bounding": [
925,
-1378,
409,
675
],
"color": "#8A8",
"font_size": 24,
"flags": {}
},
{
"title": "参考图",
"bounding": [
-710,
-1378,
325,
677
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"title": "脸部一致性模型",
"bounding": [
530,
-1378,
394,
675
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"title": "模型",
"bounding": [
-384,
-1377,
528,
676
],
"color": "#a1309b",
"font_size": 24,
"flags": {}
},
{
"title": "VAE",
"bounding": [
1336,
-1378,
383,
674
],
"color": "#A88",
"font_size": 24,
"flags": {}
},
{
"title": "提示词",
"bounding": [
146,
-1377,
380,
675
],
"color": "#b58b2a",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.6830134553650713,
"offset": [
123.05559928115872,
1470.1543403999835
]
}
},
"version": 0.4
}