added default workflow

This commit is contained in:
iggy 2024-09-12 09:30:46 +02:00
parent 75f21d484f
commit 60856b6d0b
3 changed files with 450 additions and 1 deletions

View File

@ -6,7 +6,7 @@
# Packages are installed after nodes so we can fix them...
DEFAULT_WORKFLOW="https://git.fc22.de/iggy/ai_bootstrap/raw/branch/main/workflow.json"
DEFAULT_WORKFLOW="https://git.fc22.de/iggy/ai_bootstrap/raw/branch/main/workflows/flux-simple.json"
APT_PACKAGES=(
"ffmpeg"

View File

449
workflows/flux-simple.json Normal file
View File

@ -0,0 +1,449 @@
{
"last_node_id": 20,
"last_link_id": 27,
"nodes": [
{
"id": 18,
"type": "VAEDecode",
"pos": {
"0": 1767,
"1": 387,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 18
},
{
"name": "vae",
"type": "VAE",
"link": 17
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
19
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 11,
"type": "FluxSamplerParams+",
"pos": {
"0": 1363,
"1": 319,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 327.5999755859375,
"1": 266
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 26
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 16
},
{
"name": "latent_image",
"type": "LATENT",
"link": 20
}
],
"outputs": [
{
"name": "latent",
"type": "LATENT",
"links": [
18
],
"shape": 3
},
{
"name": "params",
"type": "SAMPLER_PARAMS",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxSamplerParams+"
},
"widgets_values": [
"999",
"euler",
"simple",
"20",
"3.5",
"",
"",
"1.0"
]
},
{
"id": 10,
"type": "UnetLoaderGGUFAdvanced",
"pos": {
"0": 169,
"1": 380,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 340.20001220703125,
"1": 130
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
26
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "UnetLoaderGGUFAdvanced"
},
"widgets_values": [
"flux1-dev-Q5_0.gguf",
"default",
"default",
false
]
},
{
"id": 12,
"type": "DualCLIPLoader",
"pos": {
"0": 191,
"1": 631,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
27
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux"
]
},
{
"id": 16,
"type": "VAELoader",
"pos": {
"0": 1370,
"1": 676,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
17
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 15,
"type": "CLIPTextEncode",
"pos": {
"0": 858,
"1": 569,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 27
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
16
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"default image"
]
},
{
"id": 19,
"type": "EmptyLatentImage",
"pos": {
"0": 1015,
"1": 835,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
20
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
4
]
},
{
"id": 17,
"type": "PreviewImage",
"pos": {
"0": 2033,
"1": 387,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 335.463623046875,
"1": 336.0971984863281
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 19
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
}
}
],
"links": [
[
16,
15,
0,
11,
1,
"CONDITIONING"
],
[
17,
16,
0,
18,
1,
"VAE"
],
[
18,
11,
0,
18,
0,
"LATENT"
],
[
19,
18,
0,
17,
0,
"IMAGE"
],
[
20,
19,
0,
11,
2,
"LATENT"
],
[
26,
10,
0,
11,
0,
"MODEL"
],
[
27,
12,
0,
15,
0,
"CLIP"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.9090909090909091,
"offset": [
-669.7875353694217,
-170.0315393163291
]
},
"workspace_info": {
"id": "xppxrZ1xjIvTz1I-fiH9E"
}
},
"version": 0.4
}