Spaces:
Sleeping
Sleeping
Download workflow.json from akhaliq/kandinsky-workflow: direct link, hf CLI and curl.
- Browser
- Download file 3.77 kB
-
https://huggingface.co/spaces/akhaliq/kandinsky-workflow/resolve/main/workflow.json
- Command line
-
hf download hf://spaces/akhaliq/kandinsky-workflow/workflow.json
-
curl -L -o workflow.json https://huggingface.co/spaces/akhaliq/kandinsky-workflow/resolve/main/workflow.json
3.77 kB
| { | |
| "schema_version": "2", | |
| "name": "Kandinsky 6.0 Video Studio", | |
| "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"}], | |
| "width": 240, | |
| "data": {"out": "A golden retriever running through tall grass at sunset, slow motion"} | |
| }, | |
| { | |
| "id": "ref_seed", | |
| "label": "Seed", | |
| "role": "reference", | |
| "asset_type": "number", | |
| "inputs": [{"id": "in", "label": "Number", "type": "number"}], | |
| "outputs": [{"id": "out", "label": "Number", "type": "number"}], | |
| "width": 160, | |
| "data": {"out": 42} | |
| }, | |
| { | |
| "id": "ref_frame", | |
| "label": "First Frame (optional)", | |
| "role": "reference", | |
| "asset_type": "image", | |
| "inputs": [{"id": "in", "label": "Image", "type": "image"}], | |
| "outputs": [{"id": "out", "label": "Image", "type": "image"}], | |
| "width": 200, | |
| "data": {} | |
| } | |
| ], | |
| "operators": [ | |
| { | |
| "id": "op_stylize", | |
| "label": "Stylize Prompt", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "Stylize Prompt", | |
| "inputs": [{"id": "in_0", "label": "Prompt", "type": "text", "required": true}], | |
| "outputs": [{"id": "out_0", "label": "Styled Prompt", "type": "text", "output_index": 0}], | |
| "width": 220, | |
| "data": {} | |
| }, | |
| { | |
| "id": "op_kandinsky", | |
| "label": "Kandinsky 6.0 Pro (5s)", | |
| "role": "operator", | |
| "kind": "space", | |
| "space_id": "kandinskylab/Kandinsky-6.0-Pro-distill-5s", | |
| "endpoint": "/generate", | |
| "runtime": "client", | |
| "inputs": [ | |
| {"id": "in_0", "label": "Prompt", "type": "text", "required": true}, | |
| {"id": "in_1", "label": "Use beautifier", "type": "boolean", "default_value": true}, | |
| {"id": "in_2", "label": "Seed", "type": "number", "default_value": 42}, | |
| {"id": "in_3", "label": "First frame (optional)", "type": "image"} | |
| ], | |
| "outputs": [ | |
| {"id": "out_0", "label": "Video", "type": "video", "output_index": 0}, | |
| {"id": "out_1", "label": "Prompt used", "type": "text", "output_index": 1} | |
| ], | |
| "width": 280, | |
| "data": {"in_1": true, "in_2": 42} | |
| } | |
| ], | |
| "subjects": [ | |
| { | |
| "id": "sub_video", | |
| "label": "Output Video", | |
| "role": "subject", | |
| "asset_type": "video", | |
| "inputs": [{"id": "in", "label": "Video", "type": "video"}], | |
| "outputs": [{"id": "out", "label": "Video", "type": "video"}], | |
| "width": 360, | |
| "data": {} | |
| }, | |
| { | |
| "id": "sub_prompt", | |
| "label": "Prompt Used", | |
| "role": "subject", | |
| "asset_type": "text", | |
| "inputs": [{"id": "in", "label": "Text", "type": "text"}], | |
| "outputs": [{"id": "out", "label": "Text", "type": "text"}], | |
| "width": 240, | |
| "data": {} | |
| } | |
| ], | |
| "edges": [ | |
| {"id": "e1", "from_node_id": "ref_prompt", "from_port_id": "out", "to_node_id": "op_stylize", "to_port_id": "in_0", "type": "text"}, | |
| {"id": "e2", "from_node_id": "op_stylize", "from_port_id": "out_0", "to_node_id": "op_kandinsky", "to_port_id": "in_0", "type": "text"}, | |
| {"id": "e3", "from_node_id": "ref_seed", "from_port_id": "out", "to_node_id": "op_kandinsky", "to_port_id": "in_2", "type": "number"}, | |
| {"id": "e4", "from_node_id": "ref_frame", "from_port_id": "out", "to_node_id": "op_kandinsky", "to_port_id": "in_3", "type": "image"}, | |
| {"id": "e5", "from_node_id": "op_kandinsky", "from_port_id": "out_0", "to_node_id": "sub_video", "to_port_id": "in", "type": "video"}, | |
| {"id": "e6", "from_node_id": "op_kandinsky", "from_port_id": "out_1", "to_node_id": "sub_prompt", "to_port_id": "in", "type": "text"} | |
| ] | |
| } | |