工作流 /
视频 /
Gemini Omni 1.2 Flash:参考图生视频

Gemini Omni 1.2 Flash:参考图生视频
Gemini Omni 1.2 Flash: Reference to Video
把角色拆成两张参考图:图 1 管身形和装甲,图 2 锁住脸和细节,整段镜头里身份保持不变。Gemini Omni Flash 画面和音频一次生成,场景和声音一起出来。
视频
5 个节点 2 个输入 104 次使用 ComfyUI ≥ 0.44.1 ComfyUI 10 KB
节点构成
LoadImage
× 2
GeminiVideoOmniV2
× 1
SaveVideo
× 1
MarkdownNote
× 1
官方标注的模型
Gemini Omni 1.2 Flash
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "a1503327-a26f-4f79-ad94-bfaa1ec6ca2a",
3 "revision": 0,
4 "last_node_id": 23,
5 "last_link_id": 17,
6 "nodes": [
7 {
8 "id": 3,
9 "type": "GeminiVideoOmniV2",
10 "pos": [
11 -130.38015524361344,
12 201.9526623452303
13 ],
14 "size": [
15 397.4765319824219,
16 318.74609375
17 ],
18 "flags": [],
19 "order": 3,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "model.images.image_1",
24 "shape": 7,
25 "type": "IMAGE",
26 "link": 6
27 },
28 {
29 "name": "model.images.image_2",
30 "shape": 7,
31 "type": "IMAGE",
32 "link": 17
33 },
34 {
35 "name": "model.images.image_3",
36 "shape": 7,
37 "type": "IMAGE",
38 "link": null
39 },
40 {
41 "name": "model.videos.video_1",
42 "shape": 7,
43 "type": "VIDEO",
44 "link": null
45 }
46 ],
47 "outputs": [
48 {
49 "name": "VIDEO",
50 "type": "VIDEO",
51 "links": [
52 2
53 ]
54 },
55 {
56 "name": "STRING",
57 "type": "STRING",
58 "links": null
59 }
60 ],
61 "properties": {
62 "Node name for S&R": "GeminiVideoOmniV2"
63 },
64 "widgets_values": [
65 "Omni Flash 1.2",
66 "Two reference images wired in order: image 1 is her full-body cyan light-armor cut, shoulder cannon, and combat stance; image 2 locks face, short cyan hair, headset, and LED chest/shoulder. Same identity-locked heroine throughout—image 1 for silhouette/armor, image 2 for face. NIGHT CHASE / ENTER-WORLD game cinematic: she must reach the glowing zone gate and clear the drone blocking it. Timer and score HUD flipping in corners only; shoulder-cannon burst. 5-second 16:9 high-end playful AAA trailer feel. Reject quiet face punch-ins only, seated poses, vulgar cheap cyber, top-down ugly showcase.\n\n[0-1.6s] Wide night city rooftop: she sprints matching image-1 silhouette toward a distant ENTERING ZONE gate; ENTERING ZONE banner streaks; TIMER 00:45→00:42 and SCORE 9800→10150 flip in crisp corner HUD; cyan armor LEDs strobe with footfalls. HARD CUT.\n[1.6-3.4s] Same leap continues—shoulder-level chase cam: she vaults the gap, twists, lands on the gate roof; shoulder rail locks on the drone blocking the doorway; AMMO 40→37 and a red lock diamond snap; she fires a cyan cannon burst with recoil micro-tremor; damage 860 floats. HARD CUT.\n[3.4-5s] Three-quarter hold: she slides through the open gate, lands hard, chin raised, face readable from image 2; MISSION CLEAR +1200 and timer freeze 00:38 pop; cooldown ring pulses once; clear subject, shallow DOF, restrained anamorphic edge; no black frames.\n\nAudio: night wind + timer ticks → vault whoosh + rail shot + lock beep → clear chime; no dialogue, no lyrics.",
67 "720p",
68 "16:9",
69 "reference_to_video",
70 249701402,
71 "randomize",
72 "randomize"
73 ],
74 "widgets_values_named": {
75 "model": "Omni Flash 1.2",
76 "model.prompt": "Two reference images wired in order: image 1 is her full-body cyan light-armor cut, shoulder cannon, and combat stance; image 2 locks face, short cyan hair, headset, and LED chest/shoulder. Same identity-locked heroine throughout—image 1 for silhouette/armor, image 2 for face. NIGHT CHASE / ENTER-WORLD game cinematic: she must reach the glowing zone gate and clear the drone blocking it. Timer and score HUD flipping in corners only; shoulder-cannon burst. 5-second 16:9 high-end playful AAA trailer feel. Reject quiet face punch-ins only, seated poses, vulgar cheap cyber, top-down ugly showcase.\n\n[0-1.6s] Wide night city rooftop: she sprints matching image-1 silhouette toward a distant ENTERING ZONE gate; ENTERING ZONE banner streaks; TIMER 00:45→00:42 and SCORE 9800→10150 flip in crisp corner HUD; cyan armor LEDs strobe with footfalls. HARD CUT.\n[1.6-3.4s] Same leap continues—shoulder-level chase cam: she vaults the gap, twists, lands on the gate roof; shoulder rail locks on the drone blocking the doorway; AMMO 40→37 and a red lock diamond snap; she fires a cyan cannon burst with recoil micro-tremor; damage 860 floats. HARD CUT.\n[3.4-5s] Three-quarter hold: she slides through the open gate, lands hard, chin raised, face readable from image 2; MISSION CLEAR +1200 and timer freeze 00:38 pop; cooldown ring pulses once; clear subject, shallow DOF, restrained anamorphic edge; no black frames.\n\nAudio: night wind + timer ticks → vault whoosh + rail shot + lock beep → clear chime; no dialogue, no lyrics.",
77 "model.resolution": "720p",
78 "model.aspect_ratio": "16:9",
79 "model.task_type": "reference_to_video",
80 "model.seed": 249701402,
81 "control_after_generate#1": "randomize",
82 "control_after_generate": "randomize"
83 },
84 "color": "#432",
85 "bgcolor": "#653"
86 },
87 {
88 "id": 4,
89 "type": "SaveVideo",
90 "pos": [
91 315.09637673880843,
92 201.9526623452303
93 ],
94 "size": [
95 439.078125,
96 327.51953125
97 ],
98 "flags": [],
99 "order": 4,
100 "mode": 0,
101 "inputs": [
102 {
103 "name": "video",
104 "type": "VIDEO",
105 "link": 2
106 }
107 ],
108 "outputs": [
109 {
110 "name": "video",
111 "type": "VIDEO",
112 "links": null
113 }
114 ],
115 "properties": [],
116 "widgets_values": [
117 "video/Omni_Flash_1.2_r2v",
118 "auto",
119 "auto",
120 "auto"
121 ],
122 "widgets_values_named": {
123 "filename_prefix": "video/Omni_Flash_1.2_r2v",
124 "format": "auto",
125 "format.codec": "auto",
126 "codec": "auto"
127 }
128 },
129 {
130 "id": 11,
131 "type": "LoadImage",
132 "pos": [
133 -461.17898336861344,
134 201.9526623452303
135 ],
136 "size": [
137 282.798828125,
138 102
139 ],
140 "flags": [],
141 "order": 0,
142 "mode": 0,
143 "inputs": [],
144 "outputs": [
145 {
146 "name": "IMAGE",
147 "type": "IMAGE",
148 "links": [
149 6
150 ]
151 },
152 {
153 "name": "MASK",
154 "type": "MASK",
155 "links": null
156 }
157 ],
158 "properties": {
159 "Node name for S&R": "LoadImage"
160 },
161 "widgets_values": [
162 "api_google_gemini_omni_flash_1_2_r2v_input_1.png",
163 "image"
164 ],
165 "widgets_values_named": {
166 "image": "api_google_gemini_omni_flash_1_2_r2v_input_1.png",
167 "upload": "image"
168 }
169 },
170 {
171 "id": 12,
172 "type": "MarkdownNote",
173 "pos": [
174 -828.3193739936138,
175 203.29664672023029
176 ],
177 "size": [
178 321.66515853881845,
179 339.0049868774414
180 ],
181 "flags": [],
182 "order": 1,
183 "mode": 0,
184 "inputs": [],
185 "outputs": [],
186 "properties": [],
187 "widgets_values": [
188 "## Input Assets\n\n- [api_google_gemini_omni_flash_1_2_r2v_input_1.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/api_google_gemini_omni_flash_1_2_r2v_input_1.png) — required workflow input (`input/api_google_gemini_omni_flash_1_2_r2v_input_1.png`)\n- [api_google_gemini_omni_flash_1_2_r2v_input_2.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/api_google_gemini_omni_flash_1_2_r2v_input_2.png) — required workflow input (`input/api_google_gemini_omni_flash_1_2_r2v_input_2.png`)\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
189 ],
190 "widgets_values_named": {
191 "text": "## Input Assets\n\n- [api_google_gemini_omni_flash_1_2_r2v_input_1.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/api_google_gemini_omni_flash_1_2_r2v_input_1.png) — required workflow input (`input/api_google_gemini_omni_flash_1_2_r2v_input_1.png`)\n- [api_google_gemini_omni_flash_1_2_r2v_input_2.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/api_google_gemini_omni_flash_1_2_r2v_input_2.png) — required workflow input (`input/api_google_gemini_omni_flash_1_2_r2v_input_2.png`)\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
192 },
193 "color": "#222",
194 "bgcolor": "#000"
195 },
196 {
197 "id": 23,
198 "type": "LoadImage",
199 "pos": [
200 -460.0580318061134,
201 611.6505072671054
202 ],
203 "size": [
204 282.798828125,
205 102
206 ],
207 "flags": [],
208 "order": 2,
209 "mode": 0,
210 "inputs": [],
211 "outputs": [
212 {
213 "name": "IMAGE",
214 "type": "IMAGE",
215 "links": [
216 17
217 ]
218 },
219 {
220 "name": "MASK",
221 "type": "MASK",
222 "links": []
223 }
224 ],
225 "properties": {
226 "Node name for S&R": "LoadImage"
227 },
228 "widgets_values": [
229 "api_google_gemini_omni_flash_1_2_r2v_input_2.png",
230 "image"
231 ],
232 "widgets_values_named": {
233 "image": "api_google_gemini_omni_flash_1_2_r2v_input_2.png",
234 "upload": "image"
235 }
236 }
237 ],
238 "links": [
239 [
240 2,
241 3,
242 0,
243 4,
244 0,
245 "VIDEO"
246 ],
247 [
248 6,
249 11,
250 0,
251 3,
252 0,
253 "IMAGE"
254 ],
255 [
256 17,
257 23,
258 0,
259 3,
260 1,
261 "IMAGE"
262 ]
263 ],
264 "groups": [],
265 "config": [],
266 "extra": {
267 "ds": {
268 "scale": 0.5117348687326296,
269 "offset": [
270 1732.373393276757,
271 349.57727838054933
272 ]
273 },
274 "frontendVersion": "1.58.5"
275 },
276 "version": 0.4
277}