Spaces:
Running on Zero
Running on Zero
Download workflow.json from akhaliq/endless-edit-tailsteer: direct link, hf CLI and curl.
- Browser
- Download file 8.45 kB
-
https://huggingface.co/spaces/akhaliq/endless-edit-tailsteer/resolve/main/workflow.json
- Command line
-
hf download hf://spaces/akhaliq/endless-edit-tailsteer/workflow.json
-
curl -L -o workflow.json https://huggingface.co/spaces/akhaliq/endless-edit-tailsteer/resolve/main/workflow.json
8.45 kB
| { | |
| "schema_version": "2", | |
| "name": "Endless Edit Workflow", | |
| "references": [ | |
| { | |
| "id": "ref_source", | |
| "label": "Source Image", | |
| "role": "reference", | |
| "asset_type": "image", | |
| "inputs": [{"id": "in", "label": "Image", "type": "image"}], | |
| "outputs": [{"id": "out", "label": "Image", "type": "image"}], | |
| "x": 40, | |
| "y": 40, | |
| "width": 220, | |
| "height": 130, | |
| "data": {} | |
| }, | |
| { | |
| "id": "ref_edit_1", | |
| "label": "Edit 1", | |
| "role": "reference", | |
| "asset_type": "text", | |
| "inputs": [{"id": "in", "label": "Text", "type": "text"}], | |
| "outputs": [{"id": "out", "label": "Text", "type": "text"}], | |
| "x": 300, | |
| "y": 40, | |
| "width": 280, | |
| "height": 110, | |
| "data": {"out": "make it sunset, warm golden light"} | |
| }, | |
| { | |
| "id": "ref_edit_2", | |
| "label": "Edit 2", | |
| "role": "reference", | |
| "asset_type": "text", | |
| "inputs": [{"id": "in", "label": "Text", "type": "text"}], | |
| "outputs": [{"id": "out", "label": "Text", "type": "text"}], | |
| "x": 640, | |
| "y": 250, | |
| "width": 280, | |
| "height": 110, | |
| "data": {"out": "add a corgi sitting in the scene"} | |
| }, | |
| { | |
| "id": "ref_edit_3", | |
| "label": "Edit 3", | |
| "role": "reference", | |
| "asset_type": "text", | |
| "inputs": [{"id": "in", "label": "Text", "type": "text"}], | |
| "outputs": [{"id": "out", "label": "Text", "type": "text"}], | |
| "x": 980, | |
| "y": 460, | |
| "width": 280, | |
| "height": 110, | |
| "data": {"out": "make it snow, gently"} | |
| }, | |
| { | |
| "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": 300, | |
| "y": 170, | |
| "width": 130, | |
| "height": 90, | |
| "data": {"out": "42"} | |
| }, | |
| { | |
| "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": 460, | |
| "width": 300, | |
| "height": 150, | |
| "data": {"out": "A golden retriever puppy sitting in a sunlit studio, soft depth of field, 85mm photograph, warm tones."} | |
| } | |
| ], | |
| "operators": [ | |
| { | |
| "id": "op_edit_1", | |
| "label": "TailSteer Edit #1", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "tailsteer_edit", | |
| "inputs": [ | |
| {"id": "image", "label": "Image", "type": "image", "required": true}, | |
| {"id": "prompt", "label": "Edit Instruction", "type": "text", "required": true}, | |
| {"id": "steps", "label": "Steps", "type": "text"}, | |
| {"id": "seed", "label": "Seed", "type": "text"} | |
| ], | |
| "outputs": [{"id": "out_0", "label": "Image", "type": "image", "output_index": 0}], | |
| "x": 620, | |
| "y": 40, | |
| "width": 230, | |
| "height": 150, | |
| "data": {} | |
| }, | |
| { | |
| "id": "op_edit_2", | |
| "label": "TailSteer Edit #2", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "tailsteer_edit", | |
| "inputs": [ | |
| {"id": "image", "label": "Image", "type": "image", "required": true}, | |
| {"id": "prompt", "label": "Edit Instruction", "type": "text", "required": true}, | |
| {"id": "steps", "label": "Steps", "type": "text"}, | |
| {"id": "seed", "label": "Seed", "type": "text"} | |
| ], | |
| "outputs": [{"id": "out_0", "label": "Image", "type": "image", "output_index": 0}], | |
| "x": 960, | |
| "y": 250, | |
| "width": 230, | |
| "height": 150, | |
| "data": {} | |
| }, | |
| { | |
| "id": "op_edit_3", | |
| "label": "TailSteer Edit #3", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "tailsteer_edit", | |
| "inputs": [ | |
| {"id": "image", "label": "Image", "type": "image", "required": true}, | |
| {"id": "prompt", "label": "Edit Instruction", "type": "text", "required": true}, | |
| {"id": "steps", "label": "Steps", "type": "text"}, | |
| {"id": "seed", "label": "Seed", "type": "text"} | |
| ], | |
| "outputs": [{"id": "out_0", "label": "Image", "type": "image", "output_index": 0}], | |
| "x": 1300, | |
| "y": 460, | |
| "width": 230, | |
| "height": 150, | |
| "data": {} | |
| }, | |
| { | |
| "id": "op_generate", | |
| "label": "TailSteer Generate", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "tailsteer_generate", | |
| "inputs": [ | |
| {"id": "prompt", "label": "Prompt", "type": "text", "required": true}, | |
| {"id": "steps", "label": "Steps", "type": "text"}, | |
| {"id": "seed", "label": "Seed", "type": "text"} | |
| ], | |
| "outputs": [{"id": "out_0", "label": "Image", "type": "image", "output_index": 0}], | |
| "x": 420, | |
| "y": 470, | |
| "width": 230, | |
| "height": 150, | |
| "data": {} | |
| } | |
| ], | |
| "subjects": [ | |
| { | |
| "id": "sub_step1", | |
| "label": "After Edit 1", | |
| "role": "subject", | |
| "asset_type": "image", | |
| "inputs": [{"id": "in", "label": "Image", "type": "image"}], | |
| "outputs": [{"id": "out", "label": "Image", "type": "image"}], | |
| "x": 900, | |
| "y": 50, | |
| "width": 230, | |
| "height": 110, | |
| "data": {} | |
| }, | |
| { | |
| "id": "sub_step2", | |
| "label": "After Edit 2", | |
| "role": "subject", | |
| "asset_type": "image", | |
| "inputs": [{"id": "in", "label": "Image", "type": "image"}], | |
| "outputs": [{"id": "out", "label": "Image", "type": "image"}], | |
| "x": 1240, | |
| "y": 260, | |
| "width": 230, | |
| "height": 110, | |
| "data": {} | |
| }, | |
| { | |
| "id": "sub_final", | |
| "label": "Final Image", | |
| "role": "subject", | |
| "asset_type": "image", | |
| "inputs": [{"id": "in", "label": "Image", "type": "image"}], | |
| "outputs": [{"id": "out", "label": "Image", "type": "image"}], | |
| "x": 1580, | |
| "y": 470, | |
| "width": 230, | |
| "height": 110, | |
| "data": {} | |
| }, | |
| { | |
| "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": 710, | |
| "y": 480, | |
| "width": 230, | |
| "height": 110, | |
| "data": {} | |
| } | |
| ], | |
| "edges": [ | |
| {"id": "e_source", "from_node_id": "ref_source", "from_port_id": "out", "to_node_id": "op_edit_1", "to_port_id": "image", "type": "image"}, | |
| {"id": "e_edit_1", "from_node_id": "ref_edit_1", "from_port_id": "out", "to_node_id": "op_edit_1", "to_port_id": "prompt", "type": "text"}, | |
| {"id": "e_seed_1", "from_node_id": "ref_seed", "from_port_id": "out", "to_node_id": "op_edit_1", "to_port_id": "seed", "type": "text"}, | |
| {"id": "e_out_1", "from_node_id": "op_edit_1", "from_port_id": "out_0", "to_node_id": "sub_step1", "to_port_id": "in", "type": "image"}, | |
| {"id": "e_chain_1", "from_node_id": "op_edit_1", "from_port_id": "out_0", "to_node_id": "op_edit_2", "to_port_id": "image", "type": "image"}, | |
| {"id": "e_edit_2", "from_node_id": "ref_edit_2", "from_port_id": "out", "to_node_id": "op_edit_2", "to_port_id": "prompt", "type": "text"}, | |
| {"id": "e_seed_2", "from_node_id": "ref_seed", "from_port_id": "out", "to_node_id": "op_edit_2", "to_port_id": "seed", "type": "text"}, | |
| {"id": "e_out_2", "from_node_id": "op_edit_2", "from_port_id": "out_0", "to_node_id": "sub_step2", "to_port_id": "in", "type": "image"}, | |
| {"id": "e_chain_2", "from_node_id": "op_edit_2", "from_port_id": "out_0", "to_node_id": "op_edit_3", "to_port_id": "image", "type": "image"}, | |
| {"id": "e_edit_3", "from_node_id": "ref_edit_3", "from_port_id": "out", "to_node_id": "op_edit_3", "to_port_id": "prompt", "type": "text"}, | |
| {"id": "e_seed_3", "from_node_id": "ref_seed", "from_port_id": "out", "to_node_id": "op_edit_3", "to_port_id": "seed", "type": "text"}, | |
| {"id": "e_out_3", "from_node_id": "op_edit_3", "from_port_id": "out_0", "to_node_id": "sub_final", "to_port_id": "in", "type": "image"}, | |
| {"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_g", "from_node_id": "ref_seed", "from_port_id": "out", "to_node_id": "op_generate", "to_port_id": "seed", "type": "text"}, | |
| {"id": "e_gen", "from_node_id": "op_generate", "from_port_id": "out_0", "to_node_id": "sub_generated", "to_port_id": "in", "type": "image"} | |
| ] | |
| } | |