ComfyPilotComfyPilot
工作流 / 视频 / Grok: 参考生视频
Grok: 参考生视频

Grok: 参考生视频

Grok: Reference to Video

上传一张参考图并使用Grok API生成视频,最多支持6张参考图以增强一致性。

视频 4 个节点 2 个输入 53 次使用 ComfyUI ≥ 0.18.2 ComfyUI 4 KB

下载工作流 JSON 查看官方来源

下载后把文件拖进 ComfyUI 窗口即可打开。

节点构成

LoadImage × 2
SaveVideo × 1
GrokVideoReferenceNode × 1

官方标注的模型

Grok

工作流 JSON

和上面「下载工作流 JSON」是同一份文件。

1{
2 "id": "c35b6f7a-2978-4a16-aa98-ff16169519b1",
3 "revision": 0,
4 "last_node_id": 19,
5 "last_link_id": 36,
6 "nodes": [
7 {
8 "id": 6,
9 "type": "LoadImage",
10 "pos": [
11 1000,
12 810
13 ],
14 "size": [
15 290,
16 400
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [
23 {
24 "name": "IMAGE",
25 "type": "IMAGE",
26 "links": [
27 34
28 ]
29 },
30 {
31 "name": "MASK",
32 "type": "MASK",
33 "links": null
34 }
35 ],
36 "properties": {
37 "Node name for S&R": "LoadImage"
38 },
39 "widgets_values": [
40 "phone.png",
41 "image"
42 ]
43 },
44 {
45 "id": 5,
46 "type": "LoadImage",
47 "pos": [
48 990,
49 1260
50 ],
51 "size": [
52 300,
53 410
54 ],
55 "flags": [],
56 "order": 1,
57 "mode": 0,
58 "inputs": [],
59 "outputs": [
60 {
61 "name": "IMAGE",
62 "type": "IMAGE",
63 "links": [
64 35
65 ]
66 },
67 {
68 "name": "MASK",
69 "type": "MASK",
70 "links": null
71 }
72 ],
73 "properties": {
74 "Node name for S&R": "LoadImage"
75 },
76 "widgets_values": [
77 "quiet_girl.png",
78 "image"
79 ]
80 },
81 {
82 "id": 4,
83 "type": "SaveVideo",
84 "pos": [
85 1800,
86 800
87 ],
88 "size": [
89 470,
90 890
91 ],
92 "flags": [],
93 "order": 3,
94 "mode": 0,
95 "inputs": [
96 {
97 "name": "video",
98 "type": "VIDEO",
99 "link": 36
100 }
101 ],
102 "outputs": [],
103 "properties": [],
104 "widgets_values": [
105 "video/Grok",
106 "auto",
107 "auto"
108 ]
109 },
110 {
111 "id": 19,
112 "type": "GrokVideoReferenceNode",
113 "pos": [
114 1350,
115 800
116 ],
117 "size": [
118 400,
119 272
120 ],
121 "flags": [],
122 "order": 2,
123 "mode": 0,
124 "inputs": [
125 {
126 "label": "reference_0",
127 "name": "model.reference_images.reference_0",
128 "type": "IMAGE",
129 "link": 34
130 },
131 {
132 "label": "reference_1",
133 "name": "model.reference_images.reference_1",
134 "shape": 7,
135 "type": "IMAGE",
136 "link": 35
137 },
138 {
139 "label": "reference_2",
140 "name": "model.reference_images.reference_2",
141 "shape": 7,
142 "type": "IMAGE",
143 "link": null
144 }
145 ],
146 "outputs": [
147 {
148 "name": "VIDEO",
149 "type": "VIDEO",
150 "links": [
151 36
152 ]
153 }
154 ],
155 "properties": {
156 "Node name for S&R": "GrokVideoReferenceNode"
157 },
158 "widgets_values": [
159 "Surreal video, film-level smooth camera movement, minimalist futuristic feel, light blue and white cool color tones, clean light gray background\n1. The smartphone rotates to the front, and the screen lights up slightly\n2. At the same time, a character wearing a pure white non-sheer long dress appears in front of the frame, transitioning from transparent to opaque. The image is complete and dignified, with a sense of tranquility. The character is gently rotated by an invisible force and pulled into the internal space of the phone\n3. Finally, the character rotates 360 degrees in the phone",
160 "grok-imagine-video",
161 "720p",
162 "16:9",
163 6,
164 0,
165 "randomize"
166 ],
167 "color": "#432",
168 "bgcolor": "#653"
169 }
170 ],
171 "links": [
172 [
173 34,
174 6,
175 0,
176 19,
177 0,
178 "IMAGE"
179 ],
180 [
181 35,
182 5,
183 0,
184 19,
185 1,
186 "IMAGE"
187 ],
188 [
189 36,
190 19,
191 0,
192 4,
193 0,
194 "VIDEO"
195 ]
196 ],
197 "groups": [],
198 "config": [],
199 "extra": {
200 "ds": {
201 "scale": 0.8237231782208452,
202 "offset": [
203 -793.5444929183711,
204 -448.00690552305616
205 ]
206 },
207 "frontendVersion": "1.43.2",
208 "VHS_KeepIntermediate": true,
209 "VHS_MetadataImage": true,
210 "VHS_latentpreview": false,
211 "VHS_latentpreviewrate": 0
212 },
213 "version": 0.4
214}