Spaces:
Running on Zero
Running on Zero
Download workflow.json from linlinlinlinsdada/Jeveration: direct link, hf CLI and curl.
- Browser
- Download file 7.21 kB
-
https://huggingface.co/spaces/linlinlinlinsdada/Jeveration/resolve/refs%2Fpr%2F2/workflow.json
- Command line
-
hf download hf://spaces/linlinlinlinsdada/Jeveration@refs/pr/2/workflow.json
-
curl -L -o workflow.json https://huggingface.co/spaces/linlinlinlinsdada/Jeveration/resolve/refs%2Fpr%2F2/workflow.json
7.21 kB
| { | |
| "schema_version": "2", | |
| "name": "Jeveration Workflow", | |
| "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": 40, | |
| "y": 60, | |
| "width": 300, | |
| "height": 160, | |
| "data": {"out": "A small white chapel on a green alpine meadow with snowy peaks behind."} | |
| }, | |
| { | |
| "id": "ref_seed", | |
| "label": "Seed", | |
| "role": "reference", | |
| "asset_type": "text", | |
| "inputs": [{"id": "in", "label": "Text", "type": "text"}], | |
| "outputs": [{"id": "out", "label": "Text", "type": "text"}], | |
| "x": 40, | |
| "y": 250, | |
| "width": 140, | |
| "height": 90, | |
| "data": {"out": "42"} | |
| }, | |
| { | |
| "id": "ref_task", | |
| "label": "Edit Task", | |
| "role": "reference", | |
| "asset_type": "text", | |
| "inputs": [{"id": "in", "label": "Text", "type": "text"}], | |
| "outputs": [{"id": "out", "label": "Text", "type": "text"}], | |
| "x": 680, | |
| "y": 300, | |
| "width": 180, | |
| "height": 100, | |
| "data": {"out": "anime"} | |
| }, | |
| { | |
| "id": "ref_caption", | |
| "label": "Optional Caption", | |
| "role": "reference", | |
| "asset_type": "text", | |
| "inputs": [{"id": "in", "label": "Text", "type": "text"}], | |
| "outputs": [{"id": "out", "label": "Text", "type": "text"}], | |
| "x": 890, | |
| "y": 300, | |
| "width": 250, | |
| "height": 120, | |
| "data": {"out": ""} | |
| }, | |
| { | |
| "id": "ref_source", | |
| "label": "Optional Source Image", | |
| "role": "reference", | |
| "asset_type": "image", | |
| "inputs": [{"id": "in", "label": "Image", "type": "image"}], | |
| "outputs": [{"id": "out", "label": "Image", "type": "image"}], | |
| "x": 680, | |
| "y": 450, | |
| "width": 220, | |
| "height": 130, | |
| "data": {} | |
| } | |
| ], | |
| "operators": [ | |
| { | |
| "id": "op_generate", | |
| "label": "Jeveration Generate", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "jeveration_generate", | |
| "inputs": [ | |
| {"id": "prompt", "label": "Prompt", "type": "text", "required": true}, | |
| {"id": "seed", "label": "Seed", "type": "text"} | |
| ], | |
| "outputs": [{"id": "out_0", "label": "Image", "type": "image", "output_index": 0}], | |
| "x": 400, | |
| "y": 60, | |
| "width": 230, | |
| "height": 130, | |
| "data": {} | |
| }, | |
| { | |
| "id": "op_edit", | |
| "label": "Jeveration Style Edit", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "jeveration_edit", | |
| "inputs": [ | |
| {"id": "image", "label": "Image", "type": "image", "required": true}, | |
| {"id": "task", "label": "Task", "type": "text", "required": true}, | |
| {"id": "caption", "label": "Caption", "type": "text"}, | |
| {"id": "seed", "label": "Seed", "type": "text"} | |
| ], | |
| "outputs": [{"id": "out_0", "label": "Image", "type": "image", "output_index": 0}], | |
| "x": 930, | |
| "y": 60, | |
| "width": 240, | |
| "height": 170, | |
| "data": {} | |
| }, | |
| { | |
| "id": "op_dense", | |
| "label": "Jeveration Dense", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "jeveration_dense", | |
| "inputs": [{"id": "image", "label": "Image", "type": "image", "required": true}], | |
| "outputs": [ | |
| {"id": "seg", "label": "Segmentation", "type": "image", "output_index": 0}, | |
| {"id": "depth", "label": "Depth", "type": "image", "output_index": 1}, | |
| {"id": "normal", "label": "Normals", "type": "image", "output_index": 2} | |
| ], | |
| "x": 1260, | |
| "y": 280, | |
| "width": 240, | |
| "height": 160, | |
| "data": {} | |
| } | |
| ], | |
| "subjects": [ | |
| { | |
| "id": "sub_generated", | |
| "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": 60, | |
| "width": 210, | |
| "height": 110, | |
| "data": {} | |
| }, | |
| { | |
| "id": "sub_styled", | |
| "label": "Styled Image", | |
| "role": "subject", | |
| "asset_type": "image", | |
| "inputs": [{"id": "in", "label": "Image", "type": "image"}], | |
| "outputs": [{"id": "out", "label": "Image", "type": "image"}], | |
| "x": 1240, | |
| "y": 60, | |
| "width": 220, | |
| "height": 110, | |
| "data": {} | |
| }, | |
| { | |
| "id": "sub_seg", | |
| "label": "Segmentation", | |
| "role": "subject", | |
| "asset_type": "image", | |
| "inputs": [{"id": "in", "label": "Image", "type": "image"}], | |
| "outputs": [{"id": "out", "label": "Image", "type": "image"}], | |
| "x": 1570, | |
| "y": 190, | |
| "width": 220, | |
| "height": 110, | |
| "data": {} | |
| }, | |
| { | |
| "id": "sub_depth", | |
| "label": "Depth", | |
| "role": "subject", | |
| "asset_type": "image", | |
| "inputs": [{"id": "in", "label": "Image", "type": "image"}], | |
| "outputs": [{"id": "out", "label": "Image", "type": "image"}], | |
| "x": 1570, | |
| "y": 340, | |
| "width": 220, | |
| "height": 110, | |
| "data": {} | |
| }, | |
| { | |
| "id": "sub_normal", | |
| "label": "Surface Normals", | |
| "role": "subject", | |
| "asset_type": "image", | |
| "inputs": [{"id": "in", "label": "Image", "type": "image"}], | |
| "outputs": [{"id": "out", "label": "Image", "type": "image"}], | |
| "x": 1570, | |
| "y": 490, | |
| "width": 220, | |
| "height": 110, | |
| "data": {} | |
| } | |
| ], | |
| "edges": [ | |
| {"id": "e_prompt", "from_node_id": "ref_prompt", "from_port_id": "out", "to_node_id": "op_generate", "to_port_id": "prompt", "type": "text"}, | |
| {"id": "e_seed_generate", "from_node_id": "ref_seed", "from_port_id": "out", "to_node_id": "op_generate", "to_port_id": "seed", "type": "text"}, | |
| {"id": "e_generated_preview", "from_node_id": "op_generate", "from_port_id": "out_0", "to_node_id": "sub_generated", "to_port_id": "in", "type": "image"}, | |
| {"id": "e_generate_edit", "from_node_id": "op_generate", "from_port_id": "out_0", "to_node_id": "op_edit", "to_port_id": "image", "type": "image"}, | |
| {"id": "e_task", "from_node_id": "ref_task", "from_port_id": "out", "to_node_id": "op_edit", "to_port_id": "task", "type": "text"}, | |
| {"id": "e_caption", "from_node_id": "ref_caption", "from_port_id": "out", "to_node_id": "op_edit", "to_port_id": "caption", "type": "text"}, | |
| {"id": "e_seed_edit", "from_node_id": "ref_seed", "from_port_id": "out", "to_node_id": "op_edit", "to_port_id": "seed", "type": "text"}, | |
| {"id": "e_styled_preview", "from_node_id": "op_edit", "from_port_id": "out_0", "to_node_id": "sub_styled", "to_port_id": "in", "type": "image"}, | |
| {"id": "e_edit_dense", "from_node_id": "op_edit", "from_port_id": "out_0", "to_node_id": "op_dense", "to_port_id": "image", "type": "image"}, | |
| {"id": "e_seg", "from_node_id": "op_dense", "from_port_id": "seg", "to_node_id": "sub_seg", "to_port_id": "in", "type": "image"}, | |
| {"id": "e_depth", "from_node_id": "op_dense", "from_port_id": "depth", "to_node_id": "sub_depth", "to_port_id": "in", "type": "image"}, | |
| {"id": "e_normal", "from_node_id": "op_dense", "from_port_id": "normal", "to_node_id": "sub_normal", "to_port_id": "in", "type": "image"} | |
| ] | |
| } | |