工作流 /
视频 /
Wan2.5: 图生视频

Wan2.5: 图生视频
Wan2.5: Image to Video
将图像转为带同步音频的视频,运动更流畅、画质更出色。
视频
7 个节点 2 个输入 47 次使用 ComfyUI ≥ 0.3.60 ComfyUI 9 KB
节点构成
MarkdownNote
× 2
SaveVideo
× 1
RecordAudio
× 1
LoadImage
× 1
WanImageToVideoApi
× 1
LoadAudio
× 1
官方标注的模型
Wan2.5Wan
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "7c8957c7-9b5c-4d4e-80dd-f35ac181264e",
3 "revision": 0,
4 "last_node_id": 11,
5 "last_link_id": 3,
6 "nodes": [
7 {
8 "id": 7,
9 "type": "SaveVideo",
10 "pos": [
11 2940,
12 -60
13 ],
14 "size": [
15 640,
16 560
17 ],
18 "flags": [],
19 "order": 6,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "video",
24 "type": "VIDEO",
25 "link": 3
26 }
27 ],
28 "outputs": [],
29 "properties": {
30 "Node name for S&R": "SaveVideo",
31 "cnr_id": "comfy-core",
32 "ver": "0.3.60",
33 "ue_properties": {
34 "widget_ue_connectable": [],
35 "version": "7.1",
36 "input_ue_unconnectable": []
37 }
38 },
39 "widgets_values": [
40 "video/Wan2.5",
41 "auto",
42 "auto"
43 ]
44 },
45 {
46 "id": 4,
47 "type": "RecordAudio",
48 "pos": [
49 2202.0400390625,
50 580
51 ],
52 "size": [
53 270,
54 112
55 ],
56 "flags": [],
57 "order": 0,
58 "mode": 4,
59 "inputs": [],
60 "outputs": [
61 {
62 "name": "AUDIO",
63 "type": "AUDIO",
64 "links": null
65 }
66 ],
67 "properties": {
68 "Node name for S&R": "RecordAudio",
69 "cnr_id": "comfy-core",
70 "ver": "0.3.60",
71 "ue_properties": {
72 "widget_ue_connectable": {
73 "audio": true
74 },
75 "version": "7.1",
76 "input_ue_unconnectable": []
77 }
78 },
79 "widgets_values": [
80 "",
81 ""
82 ]
83 },
84 {
85 "id": 8,
86 "type": "MarkdownNote",
87 "pos": [
88 2190,
89 770
90 ],
91 "size": [
92 300,
93 160
94 ],
95 "flags": [],
96 "order": 1,
97 "mode": 0,
98 "inputs": [],
99 "outputs": [],
100 "title": "Note: About audio input",
101 "properties": {
102 "ue_properties": {
103 "widget_ue_connectable": [],
104 "version": "7.1",
105 "input_ue_unconnectable": []
106 }
107 },
108 "widgets_values": [
109 "Audio input is optional. It should be 3-30 seconds long and smaller than 15MB.\n\nIf you need the audio input, you need to link the audio output to the **Wan Text to Video** input.\n\nFor the Record Audio node, you can select it and then use **Ctrl - B** to enable it."
110 ],
111 "color": "#222",
112 "bgcolor": "#000"
113 },
114 {
115 "id": 6,
116 "type": "MarkdownNote",
117 "pos": [
118 1770,
119 -100
120 ],
121 "size": [
122 380.9487609863281,
123 309.4496765136719
124 ],
125 "flags": [],
126 "order": 2,
127 "mode": 0,
128 "inputs": [],
129 "outputs": [],
130 "title": "Note:About API Node",
131 "properties": {
132 "ue_properties": {
133 "widget_ue_connectable": [],
134 "version": "7.1",
135 "input_ue_unconnectable": []
136 }
137 },
138 "widgets_values": [
139 "[About API Node](https://docs.comfy.org/tutorials/partner-nodes/overview) - [Pricing](https://docs.comfy.org/tutorials/partner-nodes/pricing)\n \nTo use the API, you must be in a secure network environment:\n\n- Allows access from `127.0.0.1` or `localhost`.\n\n- Use our API Node in website services starting with `https`\n\n- Make sure you can normally connect to our API services (some regions may need a proxy).\n\n- Make sure you are logged in in the settings and that your account still has enough credits to cover the consumption of API calls.\n\n- On non-whitelisted sites or local area networks (LANs), please try to [log in using an API Key](https://docs.comfy.org/interface/user#logging-in-with-an-api-key).\n"
140 ],
141 "color": "#222",
142 "bgcolor": "#000"
143 },
144 {
145 "id": 11,
146 "type": "LoadImage",
147 "pos": [
148 2200,
149 -60
150 ],
151 "size": [
152 274.080078125,
153 314
154 ],
155 "flags": [],
156 "order": 3,
157 "mode": 0,
158 "inputs": [],
159 "outputs": [
160 {
161 "name": "IMAGE",
162 "type": "IMAGE",
163 "links": [
164 2
165 ]
166 },
167 {
168 "name": "MASK",
169 "type": "MASK",
170 "links": null
171 }
172 ],
173 "properties": {
174 "Node name for S&R": "LoadImage",
175 "cnr_id": "comfy-core",
176 "ver": "0.3.60",
177 "ue_properties": {
178 "widget_ue_connectable": {
179 "image": true,
180 "upload": true
181 },
182 "version": "7.1",
183 "input_ue_unconnectable": []
184 }
185 },
186 "widgets_values": [
187 "api_wan_image_to_video_input_image.png",
188 "image"
189 ]
190 },
191 {
192 "id": 10,
193 "type": "WanImageToVideoApi",
194 "pos": [
195 2520,
196 -60
197 ],
198 "size": [
199 400,
200 560
201 ],
202 "flags": [],
203 "order": 5,
204 "mode": 0,
205 "inputs": [
206 {
207 "name": "image",
208 "type": "IMAGE",
209 "link": 2
210 },
211 {
212 "name": "audio",
213 "shape": 7,
214 "type": "AUDIO",
215 "link": null
216 }
217 ],
218 "outputs": [
219 {
220 "name": "VIDEO",
221 "type": "VIDEO",
222 "links": [
223 3
224 ]
225 }
226 ],
227 "properties": {
228 "Node name for S&R": "WanImageToVideoApi",
229 "cnr_id": "comfy-core",
230 "ver": "0.3.60",
231 "ue_properties": {
232 "widget_ue_connectable": {
233 "model": true,
234 "prompt": true,
235 "negative_prompt": true,
236 "resolution": true,
237 "duration": true,
238 "seed": true,
239 "generate_audio": true,
240 "prompt_extend": true,
241 "watermark": true
242 },
243 "version": "7.1",
244 "input_ue_unconnectable": []
245 }
246 },
247 "widgets_values": [
248 "wan2.5-i2v-preview",
249 "A cinematic, over-the-shoulder shot of a modern military conflict in a vast, arid desert landscape. The foreground is heavily blurred, showing the back of a soldier's camouflaged helmet and weapon, creating a first-person perspective from behind rocky cover. In the sun-drenched midground, soldiers in full desert combat gear are positioned around armored tanks on the sandy terrain; one soldier is crouched and aiming their rifle. A large, violent explosion erupts with orange fire and billowing tan smoke behind the central tank. In the far background, a range of rugged, snow-capped mountains rises against a clear, bright teal-blue sky. The image has a shallow depth of field, a distinct teal-and-orange cinematic color grade, and a tense, action-packed atmosphere.",
250 "",
251 "720P",
252 5,
253 265691414,
254 "randomize",
255 true,
256 true,
257 false
258 ],
259 "color": "#432",
260 "bgcolor": "#653"
261 },
262 {
263 "id": 3,
264 "type": "LoadAudio",
265 "pos": [
266 2202.0400390625,
267 380
268 ],
269 "size": [
270 274.080078125,
271 136
272 ],
273 "flags": [],
274 "order": 4,
275 "mode": 0,
276 "inputs": [],
277 "outputs": [
278 {
279 "name": "AUDIO",
280 "type": "AUDIO",
281 "links": null
282 }
283 ],
284 "properties": {
285 "Node name for S&R": "LoadAudio",
286 "cnr_id": "comfy-core",
287 "ver": "0.3.60",
288 "ue_properties": {
289 "widget_ue_connectable": {
290 "audio": true,
291 "audioUI": true,
292 "upload": true
293 },
294 "version": "7.1",
295 "input_ue_unconnectable": []
296 }
297 },
298 "widgets_values": [
299 "audio_ace_step_1_m2m_editing_input_audio.mp3",
300 null,
301 null
302 ]
303 }
304 ],
305 "links": [
306 [
307 2,
308 11,
309 0,
310 10,
311 0,
312 "IMAGE"
313 ],
314 [
315 3,
316 10,
317 0,
318 7,
319 0,
320 "VIDEO"
321 ]
322 ],
323 "groups": [
324 {
325 "id": 1,
326 "title": "Audio input (Optional)",
327 "bounding": [
328 2170,
329 290,
330 330,
331 410
332 ],
333 "color": "#3f789e",
334 "font_size": 24,
335 "flags": []
336 },
337 {
338 "id": 2,
339 "title": "Step1 - Upload image",
340 "bounding": [
341 2170,
342 -130,
343 330,
344 397.6000061035156
345 ],
346 "color": "#3f789e",
347 "font_size": 24,
348 "flags": []
349 }
350 ],
351 "config": [],
352 "extra": {
353 "ds": {
354 "scale": 0.9598388666726707,
355 "offset": [
356 -1520.500816259966,
357 155.3934070711005
358 ]
359 },
360 "frontendVersion": "1.31.1",
361 "ue_links": [],
362 "links_added_by_ue": [],
363 "VHS_latentpreview": false,
364 "VHS_latentpreviewrate": 0,
365 "VHS_MetadataImage": true,
366 "VHS_KeepIntermediate": true
367 },
368 "version": 0.4
369}