Files
Hanzo-MLX/workflows/basic_workflow.json
2024-10-17 09:49:05 +07:00

319 lines
5.1 KiB
JSON

{
"last_node_id": 10,
"last_link_id": 11,
"nodes": [
{
"id": 5,
"type": "MLXDecoder",
"pos": [
1624.08203125,
244.5
],
"size": {
"0": 229.20001220703125,
"1": 46
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "latent_image",
"type": "LATENT",
"link": 9
},
{
"name": "mlx_vae",
"type": "mlx_vae",
"link": 4
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
7
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MLXDecoder"
}
},
{
"id": 7,
"type": "SaveImage",
"pos": [
1938,
205
],
"size": {
"0": 457.3671875,
"1": 406.68359375
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 7
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 2,
"type": "MLXLoadFlux",
"pos": [
227,
426
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "mlx_model",
"type": "mlx_model",
"links": [
8
],
"shape": 3,
"slot_index": 0
},
{
"name": "mlx_vae",
"type": "mlx_vae",
"links": [
4
],
"shape": 3,
"slot_index": 1
},
{
"name": "mlx_conditioning",
"type": "mlx_conditioning",
"links": [
1
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "MLXLoadFlux"
},
"widgets_values": [
"argmaxinc/mlx-FLUX.1-schnell-4bit-quantized"
]
},
{
"id": 3,
"type": "MLXClipTextEncoder",
"pos": [
627,
157
],
"size": {
"0": 418.1999816894531,
"1": 200
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "mlx_conditioning",
"type": "mlx_conditioning",
"link": 1
}
],
"outputs": [
{
"name": "mlx_conditioning",
"type": "mlx_conditioning",
"links": [
10
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MLXClipTextEncoder"
},
"widgets_values": [
"photo of a cat"
]
},
{
"id": 9,
"type": "MLXSampler",
"pos": [
1142,
418
],
"size": {
"0": 405.5999755859375,
"1": 194
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "mlx_model",
"type": "mlx_model",
"link": 8
},
{
"name": "mlx_positive_conditioning",
"type": "mlx_conditioning",
"link": 10
},
{
"name": "latent_image",
"type": "LATENT",
"link": 11,
"slot_index": 2
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
9
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MLXSampler"
},
"widgets_values": [
3501603197,
"randomize",
4,
0,
1
]
},
{
"id": 10,
"type": "EmptyLatentImage",
"pos": [
709,
733
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
11
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
1
]
}
],
"links": [
[
1,
2,
2,
3,
0,
"mlx_conditioning"
],
[
4,
2,
1,
5,
1,
"mlx_vae"
],
[
7,
5,
0,
7,
0,
"IMAGE"
],
[
8,
2,
0,
9,
0,
"mlx_model"
],
[
9,
9,
0,
5,
0,
"LATENT"
],
[
10,
3,
0,
9,
1,
"mlx_conditioning"
],
[
11,
10,
0,
9,
2,
"LATENT"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.683013455365071,
"offset": [
-46.40798165245038,
206.20957133931108
]
}
},
"version": 0.4
}