Spaces:
Running
Running
Update workflow.json from canvas
Browse files- workflow.json +120 -1
workflow.json
CHANGED
|
@@ -1 +1,120 @@
|
|
| 1 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "2",
|
| 3 |
+
"name": "Marketing Image Creator",
|
| 4 |
+
"runtime": {
|
| 5 |
+
"default": "client"
|
| 6 |
+
},
|
| 7 |
+
"references": [
|
| 8 |
+
{
|
| 9 |
+
"label": "Text",
|
| 10 |
+
"inputs": [
|
| 11 |
+
{
|
| 12 |
+
"id": "in",
|
| 13 |
+
"label": "Text",
|
| 14 |
+
"type": "text"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"outputs": [
|
| 18 |
+
{
|
| 19 |
+
"id": "out",
|
| 20 |
+
"label": "Text",
|
| 21 |
+
"type": "text"
|
| 22 |
+
}
|
| 23 |
+
],
|
| 24 |
+
"width": 220,
|
| 25 |
+
"height": 163,
|
| 26 |
+
"asset_type": "text",
|
| 27 |
+
"role": "reference",
|
| 28 |
+
"id": "1539a1e9-4906-4008-b345-e6d05bb69b22",
|
| 29 |
+
"x": 740,
|
| 30 |
+
"y": 80,
|
| 31 |
+
"data": {
|
| 32 |
+
"in": "",
|
| 33 |
+
"out": ""
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
],
|
| 37 |
+
"operators": [
|
| 38 |
+
{
|
| 39 |
+
"id": "n_flux",
|
| 40 |
+
"label": "Generate Image",
|
| 41 |
+
"inputs": [
|
| 42 |
+
{
|
| 43 |
+
"id": "in",
|
| 44 |
+
"label": "Prompt",
|
| 45 |
+
"type": "text",
|
| 46 |
+
"required": true
|
| 47 |
+
}
|
| 48 |
+
],
|
| 49 |
+
"outputs": [
|
| 50 |
+
{
|
| 51 |
+
"id": "out",
|
| 52 |
+
"label": "Image",
|
| 53 |
+
"type": "image"
|
| 54 |
+
}
|
| 55 |
+
],
|
| 56 |
+
"data": {
|
| 57 |
+
"out": 97500097
|
| 58 |
+
},
|
| 59 |
+
"x": 1040,
|
| 60 |
+
"y": 80,
|
| 61 |
+
"width": 220,
|
| 62 |
+
"height": 136,
|
| 63 |
+
"role": "operator",
|
| 64 |
+
"kind": "space",
|
| 65 |
+
"source": "hf://spaces/multimodalart/FLUX.1-merged",
|
| 66 |
+
"space_id": "multimodalart/FLUX.1-merged",
|
| 67 |
+
"runtime": "client"
|
| 68 |
+
}
|
| 69 |
+
],
|
| 70 |
+
"subjects": [
|
| 71 |
+
{
|
| 72 |
+
"id": "n_output",
|
| 73 |
+
"label": "Marketing Image",
|
| 74 |
+
"inputs": [
|
| 75 |
+
{
|
| 76 |
+
"id": "in",
|
| 77 |
+
"label": "Image",
|
| 78 |
+
"type": "image"
|
| 79 |
+
}
|
| 80 |
+
],
|
| 81 |
+
"outputs": [
|
| 82 |
+
{
|
| 83 |
+
"id": "out",
|
| 84 |
+
"label": "Image",
|
| 85 |
+
"type": "image"
|
| 86 |
+
}
|
| 87 |
+
],
|
| 88 |
+
"data": {
|
| 89 |
+
"in": null
|
| 90 |
+
},
|
| 91 |
+
"x": 1340,
|
| 92 |
+
"y": 80,
|
| 93 |
+
"width": 220,
|
| 94 |
+
"height": 107,
|
| 95 |
+
"role": "subject",
|
| 96 |
+
"asset_type": "image"
|
| 97 |
+
}
|
| 98 |
+
],
|
| 99 |
+
"edges": [
|
| 100 |
+
{
|
| 101 |
+
"id": "e4",
|
| 102 |
+
"from_node_id": "n_flux",
|
| 103 |
+
"from_port_id": "out",
|
| 104 |
+
"to_node_id": "n_output",
|
| 105 |
+
"to_port_id": "in",
|
| 106 |
+
"type": "image"
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"from_node_id": "1539a1e9-4906-4008-b345-e6d05bb69b22",
|
| 110 |
+
"from_port_id": "out",
|
| 111 |
+
"to_node_id": "n_flux",
|
| 112 |
+
"to_port_id": "in",
|
| 113 |
+
"type": "text",
|
| 114 |
+
"id": "b44e83fe-23b1-4dcc-83d3-55b3481721bc"
|
| 115 |
+
}
|
| 116 |
+
],
|
| 117 |
+
"view": {
|
| 118 |
+
"default": "canvas"
|
| 119 |
+
}
|
| 120 |
+
}
|