File size: 7,620 Bytes
9484d97
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
  "schema_version": "2",
  "name": "WorldCrafter",
  "references": [
    {
      "id": "ref_i2v_image", "label": "Start Image", "role": "reference",
      "asset_type": "image", "x": 0, "y": 0,
      "inputs":  [{"id": "in", "label": "Image", "type": "image"}],
      "outputs": [{"id": "out", "label": "Image", "type": "image"}]
    },
    {
      "id": "ref_i2v_prompt", "label": "I2V Prompt", "role": "reference",
      "asset_type": "text", "x": 0, "y": 160,
      "inputs":  [{"id": "in", "label": "Text", "type": "text"}],
      "outputs": [{"id": "out", "label": "Text", "type": "text"}],
      "data": {"out": "A cozy living room with a sofa and a window; the camera moves forward and turns right to reveal a hallway."}
    },
    {
      "id": "ref_i2v_actions", "label": "I2V Camera Actions", "role": "reference",
      "asset_type": "text", "x": 0, "y": 320,
      "inputs":  [{"id": "in", "label": "Text", "type": "text"}],
      "outputs": [{"id": "out", "label": "Text", "type": "text"}],
      "data": {"out": "forward1x2\nyaw_right45x2"}
    },
    {
      "id": "ref_i2v_chunks", "label": "I2V Chunks", "role": "reference",
      "asset_type": "number", "x": 0, "y": 480,
      "inputs":  [{"id": "in", "label": "Number", "type": "number"}],
      "outputs": [{"id": "out", "label": "Number", "type": "number"}],
      "data": {"out": 3}
    },
    {
      "id": "ref_i2v_seed", "label": "I2V Seed", "role": "reference",
      "asset_type": "number", "x": 0, "y": 620,
      "inputs":  [{"id": "in", "label": "Number", "type": "number"}],
      "outputs": [{"id": "out", "label": "Number", "type": "number"}],
      "data": {"out": 42}
    },
    {
      "id": "ref_t2v_prompt", "label": "T2V Prompt", "role": "reference",
      "asset_type": "text", "x": 0, "y": 840,
      "inputs":  [{"id": "in", "label": "Text", "type": "text"}],
      "outputs": [{"id": "out", "label": "Text", "type": "text"}],
      "data": {"out": "A sunlit medieval alley with stone walls and market stalls; the camera glides forward and turns left into a courtyard."}
    },
    {
      "id": "ref_t2v_actions", "label": "T2V Camera Actions", "role": "reference",
      "asset_type": "text", "x": 0, "y": 1000,
      "inputs":  [{"id": "in", "label": "Text", "type": "text"}],
      "outputs": [{"id": "out", "label": "Text", "type": "text"}],
      "data": {"out": "forward1x2\nyaw_left45x2"}
    },
    {
      "id": "ref_t2v_chunks", "label": "T2V Chunks", "role": "reference",
      "asset_type": "number", "x": 0, "y": 1160,
      "inputs":  [{"id": "in", "label": "Number", "type": "number"}],
      "outputs": [{"id": "out", "label": "Number", "type": "number"}],
      "data": {"out": 3}
    },
    {
      "id": "ref_t2v_seed", "label": "T2V Seed", "role": "reference",
      "asset_type": "number", "x": 0, "y": 1300,
      "inputs":  [{"id": "in", "label": "Number", "type": "number"}],
      "outputs": [{"id": "out", "label": "Number", "type": "number"}],
      "data": {"out": 42}
    }
  ],
  "operators": [
    {
      "id": "op_i2v", "label": "WorldCrafter Image → Video", "role": "operator",
      "kind": "fn", "fn": "i2v", "x": 460, "y": 160,
      "inputs": [
        {"id": "image", "label": "Image", "type": "image", "required": true},
        {"id": "prompt", "label": "Prompt", "type": "text", "required": true},
        {"id": "actions", "label": "Camera Actions", "type": "text", "required": true},
        {"id": "negative_prompt", "label": "Negative Prompt", "type": "text"},
        {"id": "num_chunks", "label": "Chunks", "type": "number", "default_value": 3},
        {"id": "seed", "label": "Seed", "type": "number", "default_value": 42}
      ],
      "outputs": [
        {"id": "video", "label": "Video", "type": "video", "output_index": 0},
        {"id": "info", "label": "Run Summary", "type": "text", "output_index": 1}
      ]
    },
    {
      "id": "op_t2v", "label": "WorldCrafter Text → Video", "role": "operator",
      "kind": "fn", "fn": "t2v", "x": 460, "y": 960,
      "inputs": [
        {"id": "prompt", "label": "Prompt", "type": "text", "required": true},
        {"id": "actions", "label": "Camera Actions", "type": "text", "required": true},
        {"id": "negative_prompt", "label": "Negative Prompt", "type": "text"},
        {"id": "num_chunks", "label": "Chunks", "type": "number", "default_value": 3},
        {"id": "seed", "label": "Seed", "type": "number", "default_value": 42}
      ],
      "outputs": [
        {"id": "video", "label": "Video", "type": "video", "output_index": 0},
        {"id": "info", "label": "Run Summary", "type": "text", "output_index": 1}
      ]
    }
  ],
  "subjects": [
    {
      "id": "sub_i2v_video", "label": "I2V Video", "role": "subject",
      "asset_type": "video", "x": 920, "y": 160,
      "inputs":  [{"id": "in", "label": "Video", "type": "video"}],
      "outputs": [{"id": "out", "label": "Video", "type": "video"}]
    },
    {
      "id": "sub_i2v_info", "label": "I2V Summary", "role": "subject",
      "asset_type": "text", "x": 920, "y": 420,
      "inputs":  [{"id": "in", "label": "Text", "type": "text"}],
      "outputs": [{"id": "out", "label": "Text", "type": "text"}]
    },
    {
      "id": "sub_t2v_video", "label": "T2V Video", "role": "subject",
      "asset_type": "video", "x": 920, "y": 960,
      "inputs":  [{"id": "in", "label": "Video", "type": "video"}],
      "outputs": [{"id": "out", "label": "Video", "type": "video"}]
    },
    {
      "id": "sub_t2v_info", "label": "T2V Summary", "role": "subject",
      "asset_type": "text", "x": 920, "y": 1220,
      "inputs":  [{"id": "in", "label": "Text", "type": "text"}],
      "outputs": [{"id": "out", "label": "Text", "type": "text"}]
    }
  ],
  "edges": [
    {"id": "e1",  "from_node_id": "ref_i2v_image",   "from_port_id": "out", "to_node_id": "op_i2v", "to_port_id": "image",      "type": "image"},
    {"id": "e2",  "from_node_id": "ref_i2v_prompt",  "from_port_id": "out", "to_node_id": "op_i2v", "to_port_id": "prompt",     "type": "text"},
    {"id": "e3",  "from_node_id": "ref_i2v_actions", "from_port_id": "out", "to_node_id": "op_i2v", "to_port_id": "actions",    "type": "text"},
    {"id": "e4",  "from_node_id": "ref_i2v_chunks",  "from_port_id": "out", "to_node_id": "op_i2v", "to_port_id": "num_chunks", "type": "number"},
    {"id": "e5",  "from_node_id": "ref_i2v_seed",    "from_port_id": "out", "to_node_id": "op_i2v", "to_port_id": "seed",       "type": "number"},
    {"id": "e6",  "from_node_id": "op_i2v", "from_port_id": "video", "to_node_id": "sub_i2v_video", "to_port_id": "in", "type": "video"},
    {"id": "e7",  "from_node_id": "op_i2v", "from_port_id": "info",  "to_node_id": "sub_i2v_info",  "to_port_id": "in", "type": "text"},
    {"id": "e8",  "from_node_id": "ref_t2v_prompt",  "from_port_id": "out", "to_node_id": "op_t2v", "to_port_id": "prompt",     "type": "text"},
    {"id": "e9",  "from_node_id": "ref_t2v_actions", "from_port_id": "out", "to_node_id": "op_t2v", "to_port_id": "actions",    "type": "text"},
    {"id": "e10", "from_node_id": "ref_t2v_chunks",  "from_port_id": "out", "to_node_id": "op_t2v", "to_port_id": "num_chunks", "type": "number"},
    {"id": "e11", "from_node_id": "ref_t2v_seed",    "from_port_id": "out", "to_node_id": "op_t2v", "to_port_id": "seed",       "type": "number"},
    {"id": "e12", "from_node_id": "op_t2v", "from_port_id": "video", "to_node_id": "sub_t2v_video", "to_port_id": "in", "type": "video"},
    {"id": "e13", "from_node_id": "op_t2v", "from_port_id": "info",  "to_node_id": "sub_t2v_info",  "to_port_id": "in", "type": "text"}
  ]
}