FastFrames-L / workflow.json
akhaliq's picture
akhaliq HF Staff
Add two-variation FastFrames video workflow
bfee73a verified
Raw History Blame Contribute Delete
4.76 kB
{
"schema_version": "2",
"name": "FastFrames-L Director's Workflow",
"references": [
{
"id": "ref_prompt",
"label": "Creative Brief",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Prompt", "type": "text"}],
"x": 40,
"y": 60,
"width": 330,
"height": 180,
"data": {"out": "A cinematic tracking shot of a golden retriever running through tall grass at sunrise, soft lens flare, natural motion."}
},
{
"id": "ref_length",
"label": "Clip Duration",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Duration", "type": "text"}],
"x": 40,
"y": 280,
"width": 160,
"height": 90,
"data": {"out": "5 s"}
},
{
"id": "ref_seed_a",
"label": "Variation A Seed",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Seed", "type": "text"}],
"x": 230,
"y": 280,
"width": 140,
"height": 90,
"data": {"out": "42"}
},
{
"id": "ref_seed_b",
"label": "Variation B Seed",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Seed", "type": "text"}],
"x": 230,
"y": 400,
"width": 140,
"height": 90,
"data": {"out": "43"}
}
],
"operators": [
{
"id": "op_generate_a",
"label": "FastFrames · Variation A",
"role": "operator",
"kind": "fn",
"fn": "fastframes_generate",
"inputs": [
{"id": "prompt", "label": "Prompt", "type": "text", "required": true},
{"id": "length", "label": "Duration", "type": "text"},
{"id": "seed", "label": "Seed", "type": "text"}
],
"outputs": [{"id": "out_0", "label": "Video", "type": "video", "output_index": 0}],
"x": 480,
"y": 80,
"width": 250,
"height": 170,
"data": {}
},
{
"id": "op_generate_b",
"label": "FastFrames · Variation B",
"role": "operator",
"kind": "fn",
"fn": "fastframes_generate",
"inputs": [
{"id": "prompt", "label": "Prompt", "type": "text", "required": true},
{"id": "length", "label": "Duration", "type": "text"},
{"id": "seed", "label": "Seed", "type": "text"}
],
"outputs": [{"id": "out_0", "label": "Video", "type": "video", "output_index": 0}],
"x": 480,
"y": 340,
"width": 250,
"height": 170,
"data": {}
}
],
"subjects": [
{
"id": "sub_video_a",
"label": "Director's Cut A",
"role": "subject",
"asset_type": "video",
"inputs": [{"id": "in", "label": "Video", "type": "video"}],
"outputs": [{"id": "out", "label": "Video", "type": "video"}],
"x": 830,
"y": 100,
"width": 260,
"height": 130,
"data": {}
},
{
"id": "sub_video_b",
"label": "Director's Cut B",
"role": "subject",
"asset_type": "video",
"inputs": [{"id": "in", "label": "Video", "type": "video"}],
"outputs": [{"id": "out", "label": "Video", "type": "video"}],
"x": 830,
"y": 360,
"width": 260,
"height": 130,
"data": {}
}
],
"edges": [
{"id": "e_prompt_a", "from_node_id": "ref_prompt", "from_port_id": "out", "to_node_id": "op_generate_a", "to_port_id": "prompt", "type": "text"},
{"id": "e_length_a", "from_node_id": "ref_length", "from_port_id": "out", "to_node_id": "op_generate_a", "to_port_id": "length", "type": "text"},
{"id": "e_seed_a", "from_node_id": "ref_seed_a", "from_port_id": "out", "to_node_id": "op_generate_a", "to_port_id": "seed", "type": "text"},
{"id": "e_video_a", "from_node_id": "op_generate_a", "from_port_id": "out_0", "to_node_id": "sub_video_a", "to_port_id": "in", "type": "video"},
{"id": "e_prompt_b", "from_node_id": "ref_prompt", "from_port_id": "out", "to_node_id": "op_generate_b", "to_port_id": "prompt", "type": "text"},
{"id": "e_length_b", "from_node_id": "ref_length", "from_port_id": "out", "to_node_id": "op_generate_b", "to_port_id": "length", "type": "text"},
{"id": "e_seed_b", "from_node_id": "ref_seed_b", "from_port_id": "out", "to_node_id": "op_generate_b", "to_port_id": "seed", "type": "text"},
{"id": "e_video_b", "from_node_id": "op_generate_b", "from_port_id": "out_0", "to_node_id": "sub_video_b", "to_port_id": "in", "type": "video"}
]
}