Add workflow.json with image output port type for generate_z_image
Browse files- workflow.json +52 -0
workflow.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "1",
|
| 3 |
+
"name": "Z Image Turbo",
|
| 4 |
+
"nodes": [
|
| 5 |
+
{
|
| 6 |
+
"id": "fn_generate_prompt",
|
| 7 |
+
"source": "fn",
|
| 8 |
+
"fn": "generate_prompt",
|
| 9 |
+
"kind": "transform",
|
| 10 |
+
"label": "generate_prompt",
|
| 11 |
+
"x": 80,
|
| 12 |
+
"y": 150,
|
| 13 |
+
"width": 220,
|
| 14 |
+
"height": 152,
|
| 15 |
+
"inputs": [
|
| 16 |
+
{"id": "in_concept", "label": "concept", "type": "text"}
|
| 17 |
+
],
|
| 18 |
+
"outputs": [
|
| 19 |
+
{"id": "out_0", "label": "output", "type": "text"}
|
| 20 |
+
],
|
| 21 |
+
"data": {}
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"id": "fn_generate_z_image",
|
| 25 |
+
"source": "fn",
|
| 26 |
+
"fn": "generate_z_image",
|
| 27 |
+
"kind": "transform",
|
| 28 |
+
"label": "generate_z_image",
|
| 29 |
+
"x": 360,
|
| 30 |
+
"y": 150,
|
| 31 |
+
"width": 220,
|
| 32 |
+
"height": 152,
|
| 33 |
+
"inputs": [
|
| 34 |
+
{"id": "in_prompt", "label": "prompt", "type": "text"}
|
| 35 |
+
],
|
| 36 |
+
"outputs": [
|
| 37 |
+
{"id": "out_0", "label": "output", "type": "image"}
|
| 38 |
+
],
|
| 39 |
+
"data": {}
|
| 40 |
+
}
|
| 41 |
+
],
|
| 42 |
+
"edges": [
|
| 43 |
+
{
|
| 44 |
+
"id": "edge_0",
|
| 45 |
+
"from_node_id": "fn_generate_prompt",
|
| 46 |
+
"from_port_id": "out_0",
|
| 47 |
+
"to_node_id": "fn_generate_z_image",
|
| 48 |
+
"to_port_id": "in_prompt",
|
| 49 |
+
"type": "text"
|
| 50 |
+
}
|
| 51 |
+
]
|
| 52 |
+
}
|