From 06249bd9bc0a8316941c5799a266bb2f78821473 Mon Sep 17 00:00:00 2001 From: Yao Chi Date: Fri, 2 Aug 2024 22:02:11 +0800 Subject: [PATCH] add example --- bizyair_example_menu.json | 1 + examples/bizyair_flux_schnell_workflow.json | 569 ++++++++++++++++++++ 2 files changed, 570 insertions(+) create mode 100644 examples/bizyair_flux_schnell_workflow.json diff --git a/bizyair_example_menu.json b/bizyair_example_menu.json index b164fd99..2024eb25 100644 --- a/bizyair_example_menu.json +++ b/bizyair_example_menu.json @@ -1,4 +1,5 @@ { + "FLUX-schnell": "bizyair_flux_schnell_workflow.json", "ControlNet Union": { "Generate an image from a line drawing": "bizyair_showcase_interior_design.json", "Design a submarine like a great white shark": "bizyair_showcase_shark_submarine.json", diff --git a/examples/bizyair_flux_schnell_workflow.json b/examples/bizyair_flux_schnell_workflow.json new file mode 100644 index 00000000..d6001f41 --- /dev/null +++ b/examples/bizyair_flux_schnell_workflow.json @@ -0,0 +1,569 @@ +{ + "last_node_id": 64, + "last_link_id": 80, + "nodes": [ + { + "id": 60, + "type": "BizyAir_KSamplerSelect", + "pos": [ + -246, + 1197 + ], + "size": { + "0": 259.05419921875, + "1": 58 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 75 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSamplerSelect" + }, + "widgets_values": [ + "euler" + ] + }, + { + "id": 47, + "type": "BizyAir_BasicGuider", + "pos": [ + -239, + 1078 + ], + "size": { + "0": 253.01522827148438, + "1": 52.98030471801758 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 59, + "slot_index": 0 + }, + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 60, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "GUIDER", + "type": "GUIDER", + "links": [ + 61 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_BasicGuider" + } + }, + { + "id": 58, + "type": "BizyAir_BasicScheduler", + "pos": [ + -239, + 1319 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 72, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 73 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_BasicScheduler" + }, + "widgets_values": [ + "normal", + 4, + 1 + ] + }, + { + "id": 59, + "type": "BizyAir_RandomNoise", + "pos": [ + -238, + 933 + ], + "size": { + "0": 244.64930725097656, + "1": 82 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "NOISE", + "type": "NOISE", + "links": [ + 74 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_RandomNoise" + }, + "widgets_values": [ + 438153234912083, + "fixed" + ] + }, + { + "id": 51, + "type": "EmptyLatentImage", + "pos": [ + 30, + 919 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 63 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 + ] + }, + { + "id": 50, + "type": "BizyAir_SamplerCustomAdvanced", + "pos": [ + 51, + 1082 + ], + "size": { + "0": 260.3999938964844, + "1": 106 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "noise", + "type": "NOISE", + "link": 74 + }, + { + "name": "guider", + "type": "GUIDER", + "link": 61 + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 75, + "slot_index": 2 + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 73 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 63, + "slot_index": 4 + } + ], + "outputs": [ + { + "name": "output", + "type": "LATENT", + "links": [ + 66 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "denoised_output", + "type": "LATENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_SamplerCustomAdvanced" + } + }, + { + "id": 54, + "type": "BizyAir_VAEDecode", + "pos": [ + 55, + 1232 + ], + "size": { + "0": 271.0523681640625, + "1": 46 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 66, + "slot_index": 0 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 67, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 68 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 55, + "type": "BizyAir_VAELoader", + "pos": [ + 91, + 1341 + ], + "size": { + "0": 273.7454833984375, + "1": 58 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 67 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAELoader" + }, + "widgets_values": [ + "flux/ae.sft" + ] + }, + { + "id": 48, + "type": "BizyAir_UNETLoader", + "pos": [ + -585, + 944 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 4, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_MODEL", + "type": "BIZYAIR_MODEL", + "links": [ + 59, + 72 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_UNETLoader" + }, + "widgets_values": [ + "flux/flux1-schnell.sft", + "fp8_e4m3fn" + ] + }, + { + "id": 37, + "type": "BizyAir_CLIPTextEncode", + "pos": [ + -627, + 1284 + ], + "size": [ + 344.9754950153326, + 127.23637622600563 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 56 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 60 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "black forest gateau cake spelling out the words \"BizyAir\", tasty, food photography, dynamic shot" + ] + }, + { + "id": 36, + "type": "BizyAir_DualCLIPLoader", + "pos": [ + -595, + 1093 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 5, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_CLIP", + "type": "BIZYAIR_CLIP", + "links": [ + 56 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_DualCLIPLoader" + }, + "widgets_values": [ + "t5xxl_fp8_e4m3fn.safetensors", + "clip_l.safetensors", + "flux" + ] + }, + { + "id": 56, + "type": "PreviewImage", + "pos": [ + 388, + 929 + ], + "size": [ + 335.1903710483905, + 471.1620465029944 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 68 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + } + ], + "links": [ + [ + 56, + 36, + 0, + 37, + 0, + "BIZYAIR_CLIP" + ], + [ + 59, + 48, + 0, + 47, + 0, + "BIZYAIR_MODEL" + ], + [ + 60, + 37, + 0, + 47, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 61, + 47, + 0, + 50, + 1, + "GUIDER" + ], + [ + 63, + 51, + 0, + 50, + 4, + "LATENT" + ], + [ + 66, + 50, + 0, + 54, + 0, + "LATENT" + ], + [ + 67, + 55, + 0, + 54, + 1, + "BIZYAIR_VAE" + ], + [ + 68, + 54, + 0, + 56, + 0, + "IMAGE" + ], + [ + 72, + 48, + 0, + 58, + 0, + "BIZYAIR_MODEL" + ], + [ + 73, + 58, + 0, + 50, + 3, + "SIGMAS" + ], + [ + 74, + 59, + 0, + 50, + 0, + "NOISE" + ], + [ + 75, + 60, + 0, + 50, + 2, + "SAMPLER" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1.2100000000000002, + "offset": [ + 1647.8840091168986, + -660.4925745731134 + ] + } + }, + "version": 0.4 +} \ No newline at end of file