{ "schema_version": "2", "name": "Text to Image", "references": [ { "id": "ref_prompt", "role": "reference", "label": "Prompt", "asset_type": "text", "inputs": [ { "id": "in", "label": "Prompt", "type": "text" } ], "outputs": [ { "id": "out", "label": "Prompt", "type": "text" } ], "data": { "out": "a red panda astronaut, watercolor" }, "x": 60, "y": 120, "width": 220, "height": 90 } ], "operators": [ { "id": "op_flux", "role": "operator", "kind": "model", "model_id": "black-forest-labs/FLUX.1-schnell", "pipeline_tag": "text-to-image", "endpoint": "text_to_image", "provider": "auto", "label": "FLUX.1-schnell", "inputs": [ { "id": "prompt", "label": "Prompt", "type": "text", "required": true } ], "outputs": [ { "id": "out_0", "label": "Image", "type": "image", "output_index": 0 } ], "data": {}, "x": 340, "y": 120, "width": 230, "height": 110 } ], "subjects": [ { "id": "sub_img", "role": "subject", "label": "Image", "asset_type": "image", "inputs": [ { "id": "in", "label": "Image", "type": "image" } ], "outputs": [ { "id": "out", "label": "Image", "type": "image" } ], "data": {}, "x": 640, "y": 120, "width": 240, "height": 220 } ], "edges": [ { "id": "e1", "from_node_id": "ref_prompt", "from_port_id": "out", "to_node_id": "op_flux", "to_port_id": "prompt", "type": "text" }, { "id": "e2", "from_node_id": "op_flux", "from_port_id": "out_0", "to_node_id": "sub_img", "to_port_id": "in", "type": "image" } ] }