Download workflow.json from PrunaAI/P-Flux-2-Klein-4B-DWD: direct link, hf CLI and curl.
- Browser
- Download file 6.17 kB
-
https://huggingface.co/spaces/PrunaAI/P-Flux-2-Klein-4B-DWD/resolve/main/workflow.json
- Command line
-
hf download hf://spaces/PrunaAI/P-Flux-2-Klein-4B-DWD/workflow.json
-
curl -L -o workflow.json https://huggingface.co/spaces/PrunaAI/P-Flux-2-Klein-4B-DWD/resolve/main/workflow.json
6.17 kB
| { | |
| "schema_version": "2", | |
| "name": "P-Flux-2-Klein-4B-DWD 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": 160, | |
| "width": 300, | |
| "height": 160, | |
| "data": { | |
| "out": "a red fox standing in fresh snow at sunrise, professional wildlife photograph" | |
| } | |
| }, | |
| { | |
| "id": "ref_aspect", | |
| "label": "Aspect Ratio", | |
| "role": "reference", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Text", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Text", | |
| "type": "text" | |
| } | |
| ], | |
| "x": 40, | |
| "y": 340, | |
| "width": 140, | |
| "height": 90, | |
| "data": { | |
| "out": "4:3" | |
| } | |
| }, | |
| { | |
| "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": 200, | |
| "y": 340, | |
| "width": 140, | |
| "height": 90, | |
| "data": { | |
| "out": "0" | |
| } | |
| }, | |
| { | |
| "id": "ref_prompt_2", | |
| "label": "Second Prompt", | |
| "role": "reference", | |
| "asset_type": "text", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Text", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Text", | |
| "type": "text" | |
| } | |
| ], | |
| "x": 40, | |
| "y": 520, | |
| "width": 300, | |
| "height": 160, | |
| "data": { | |
| "out": "a cozy wooden cabin by a mountain lake at dusk, warm light in the windows, reflections on the water" | |
| } | |
| } | |
| ], | |
| "operators": [ | |
| { | |
| "id": "op_dwd", | |
| "label": "P-Flux-2-Klein-4B-DWD (no VAE)", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "flux_dwd_generate", | |
| "inputs": [ | |
| { | |
| "id": "prompt", | |
| "label": "Prompt", | |
| "type": "text", | |
| "required": true | |
| }, | |
| { | |
| "id": "aspect", | |
| "label": "Aspect Ratio", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "seed", | |
| "label": "Seed", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "Image", | |
| "type": "image", | |
| "output_index": 0 | |
| } | |
| ], | |
| "x": 420, | |
| "y": 60, | |
| "width": 240, | |
| "height": 150, | |
| "data": {} | |
| }, | |
| { | |
| "id": "op_dwd_2", | |
| "label": "P-Flux-2-Klein-4B-DWD (second prompt)", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "flux_dwd_generate", | |
| "inputs": [ | |
| { | |
| "id": "prompt", | |
| "label": "Prompt", | |
| "type": "text", | |
| "required": true | |
| }, | |
| { | |
| "id": "aspect", | |
| "label": "Aspect Ratio", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "seed", | |
| "label": "Seed", | |
| "type": "text" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out_0", | |
| "label": "Image", | |
| "type": "image", | |
| "output_index": 0 | |
| } | |
| ], | |
| "x": 420, | |
| "y": 520, | |
| "width": 240, | |
| "height": 150, | |
| "data": {} | |
| } | |
| ], | |
| "subjects": [ | |
| { | |
| "id": "sub_dwd", | |
| "label": "DWD Image", | |
| "role": "subject", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Image", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Image", | |
| "type": "image" | |
| } | |
| ], | |
| "x": 720, | |
| "y": 70, | |
| "width": 230, | |
| "height": 110, | |
| "data": {} | |
| }, | |
| { | |
| "id": "sub_dwd_2", | |
| "label": "Second DWD Image", | |
| "role": "subject", | |
| "asset_type": "image", | |
| "inputs": [ | |
| { | |
| "id": "in", | |
| "label": "Image", | |
| "type": "image" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "id": "out", | |
| "label": "Image", | |
| "type": "image" | |
| } | |
| ], | |
| "x": 720, | |
| "y": 530, | |
| "width": 230, | |
| "height": 110, | |
| "data": {} | |
| } | |
| ], | |
| "edges": [ | |
| { | |
| "id": "e_prompt", | |
| "from_node_id": "ref_prompt", | |
| "from_port_id": "out", | |
| "to_node_id": "op_dwd", | |
| "to_port_id": "prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e_aspect", | |
| "from_node_id": "ref_aspect", | |
| "from_port_id": "out", | |
| "to_node_id": "op_dwd", | |
| "to_port_id": "aspect", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e_seed", | |
| "from_node_id": "ref_seed", | |
| "from_port_id": "out", | |
| "to_node_id": "op_dwd", | |
| "to_port_id": "seed", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e_dwd", | |
| "from_node_id": "op_dwd", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_dwd", | |
| "to_port_id": "in", | |
| "type": "image" | |
| }, | |
| { | |
| "id": "e_prompt_2", | |
| "from_node_id": "ref_prompt_2", | |
| "from_port_id": "out", | |
| "to_node_id": "op_dwd_2", | |
| "to_port_id": "prompt", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e_aspect_2", | |
| "from_node_id": "ref_aspect", | |
| "from_port_id": "out", | |
| "to_node_id": "op_dwd_2", | |
| "to_port_id": "aspect", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e_seed_2", | |
| "from_node_id": "ref_seed", | |
| "from_port_id": "out", | |
| "to_node_id": "op_dwd_2", | |
| "to_port_id": "seed", | |
| "type": "text" | |
| }, | |
| { | |
| "id": "e_dwd_2", | |
| "from_node_id": "op_dwd_2", | |
| "from_port_id": "out_0", | |
| "to_node_id": "sub_dwd_2", | |
| "to_port_id": "in", | |
| "type": "image" | |
| } | |
| ] | |
| } |