fasth3-preview / workflow.json
akhaliq's picture
akhaliq HF Staff
Rebuild as gr.Workflow canvas app; drop prompt-expansion feature
6146e5b
Raw History Blame Contribute Delete
4.74 kB
{
"schema_version": "2",
"name": "FastH3 Preview",
"references": [
{
"id": "ref_prompt",
"label": "Prompt",
"role": "reference",
"asset_type": "text",
"x": 40,
"y": 40,
"width": 320,
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"data": {
"out": "integrated_multimodal_description: [Shot 1] Cinematic, medium shot, pushing in slowly. A red fox trots through a snowy pine forest at dawn, powdery snow kicking up around its paws as low golden light cuts between the trunks. [Shot 2] At 00:04.500, the camera cuts to a close-up of the fox's face as it stops, ears pricking toward something off-screen, breath steaming in the cold air.\noverall_soundscape: Muffled snow crunching under paws over a quiet winter forest room tone, distant crows, a faint gust of wind through pine needles.\nnon_diegetic_music: Sparse, cold ambient piano notes at a slow tempo with a soft sustained string pad underneath."
}
},
{
"id": "ref_canvas",
"label": "Canvas",
"role": "reference",
"asset_type": "text",
"x": 40,
"y": 320,
"width": 320,
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text", "default_value": "1344x768 · 16:9 full"}],
"data": {"out": "1344x768 · 16:9 full"}
},
{
"id": "ref_duration",
"label": "Duration (s)",
"role": "reference",
"asset_type": "number",
"x": 40,
"y": 520,
"width": 220,
"inputs": [{"id": "in", "label": "Number", "type": "number"}],
"outputs": [{"id": "out", "label": "Number", "type": "number", "default_value": 5}],
"data": {"out": 5}
},
{
"id": "ref_seed",
"label": "Seed",
"role": "reference",
"asset_type": "number",
"x": 40,
"y": 700,
"width": 220,
"inputs": [{"id": "in", "label": "Number", "type": "number"}],
"outputs": [{"id": "out", "label": "Number", "type": "number", "default_value": 42}],
"data": {"out": 42}
}
],
"operators": [
{
"id": "op_generate",
"label": "FastH3 Generate (4 forwards)",
"role": "operator",
"kind": "fn",
"fn": "generate",
"x": 460,
"y": 220,
"width": 280,
"inputs": [
{"id": "in_prompt", "label": "prompt", "type": "text", "required": true},
{"id": "in_canvas", "label": "canvas", "type": "text", "default_value": "1344x768 · 16:9 full"},
{"id": "in_duration", "label": "duration", "type": "number", "default_value": 5},
{"id": "in_seed", "label": "seed", "type": "number", "default_value": 42}
],
"outputs": [
{"id": "out_video", "label": "Video", "type": "video", "output_index": 0},
{"id": "out_report", "label": "Report", "type": "text", "output_index": 1}
],
"data": {}
}
],
"subjects": [
{
"id": "sub_video",
"label": "Output Video",
"role": "subject",
"asset_type": "video",
"x": 860,
"y": 120,
"width": 420,
"inputs": [{"id": "in", "label": "Video", "type": "video"}],
"outputs": [{"id": "out", "label": "Video", "type": "video"}]
},
{
"id": "sub_report",
"label": "Run Report",
"role": "subject",
"asset_type": "text",
"x": 860,
"y": 560,
"width": 420,
"inputs": [{"id": "in", "label": "Report", "type": "text"}],
"outputs": [{"id": "out", "label": "Report", "type": "text"}]
}
],
"edges": [
{
"id": "e_prompt",
"from_node_id": "ref_prompt", "from_port_id": "out",
"to_node_id": "op_generate", "to_port_id": "in_prompt",
"type": "text"
},
{
"id": "e_canvas",
"from_node_id": "ref_canvas", "from_port_id": "out",
"to_node_id": "op_generate", "to_port_id": "in_canvas",
"type": "text"
},
{
"id": "e_duration",
"from_node_id": "ref_duration", "from_port_id": "out",
"to_node_id": "op_generate", "to_port_id": "in_duration",
"type": "number"
},
{
"id": "e_seed",
"from_node_id": "ref_seed", "from_port_id": "out",
"to_node_id": "op_generate", "to_port_id": "in_seed",
"type": "number"
},
{
"id": "e_video",
"from_node_id": "op_generate", "from_port_id": "out_video",
"to_node_id": "sub_video", "to_port_id": "in",
"type": "video"
},
{
"id": "e_report",
"from_node_id": "op_generate", "from_port_id": "out_report",
"to_node_id": "sub_report", "to_port_id": "in",
"type": "text"
}
]
}