Spaces:
Running
Running
| { | |
| "schema_version": "2", | |
| "name": "Error Banner Demo", | |
| "runtime": { "default": "client" }, | |
| "references": [ | |
| { | |
| "id": "ref_prompt", | |
| "label": "Prompt", | |
| "role": "reference", | |
| "asset_type": "text", | |
| "inputs": [{ "id": "in", "label": "Text", "type": "text" }], | |
| "outputs": [{ "id": "out", "label": "Text", "type": "text" }], | |
| "x": 80, "y": 140, "width": 220, "height": 163, | |
| "data": { | |
| "in": "A lone lighthouse on a rocky cliff at sunset, dramatic storm clouds rolling in, golden hour light breaking through, oil painting style, highly detailed" | |
| } | |
| } | |
| ], | |
| "operators": [ | |
| { | |
| "id": "op_flux", | |
| "label": "Generate Image", | |
| "role": "operator", | |
| "kind": "space", | |
| "source": "hf://spaces/multimodalart/FLUX.1-merged", | |
| "space_id": "multimodalart/FLUX.1-merged", | |
| "runtime": "client", | |
| "x": 380, "y": 140, "width": 220, "height": 124, | |
| "inputs": [{ "id": "in_0", "label": "Prompt", "type": "text", "required": true }], | |
| "outputs": [{ "id": "out_0", "label": "Image", "type": "image", "output_index": 0 }], | |
| "endpoints": [ | |
| { | |
| "name": "/generate", | |
| "inputs": [{ "id": "in_0", "label": "Prompt", "type": "text", "required": true }], | |
| "outputs": [{ "id": "out_0", "label": "Image", "type": "image", "output_index": 0 }] | |
| } | |
| ], | |
| "data": {} | |
| } | |
| ], | |
| "subjects": [ | |
| { | |
| "id": "sub_out", | |
| "label": "Generated Image", | |
| "role": "subject", | |
| "asset_type": "image", | |
| "inputs": [{ "id": "in", "label": "Image", "type": "image" }], | |
| "outputs": [{ "id": "out", "label": "Image", "type": "image" }], | |
| "x": 680, "y": 140, "width": 220, "height": 107, | |
| "data": {} | |
| } | |
| ], | |
| "edges": [ | |
| { "id": "e1", "from_node_id": "ref_prompt", "from_port_id": "out", "to_node_id": "op_flux", "to_port_id": "in_0", "type": "text" }, | |
| { "id": "e2", "from_node_id": "op_flux", "from_port_id": "out_0", "to_node_id": "sub_out", "to_port_id": "in", "type": "image" } | |
| ], | |
| "view": { "default": "canvas" } | |
| } | |