Video from a picture on WanVideoWrapper
Lesson "wrapper-image", in the group WanVideoWrapper of the lesson list. Steps: 8.
What you will be able to do
A clip made on WanVideoWrapper nodes starts from your picture.
What you need
- It goes on from Video on WanVideoWrapper. The card says so; it is a hint, not a lock.
- Model files the lesson checks:
- the high_noise half of Wan 2.2 image to video (i2v):
models/diffusion_models, for examplewan2.2_i2v_high_noise_14B_fp8_scaled.safetensors; - the low_noise half of Wan 2.2 image to video (i2v):
models/diffusion_models, for examplewan2.2_i2v_low_noise_14B_fp8_scaled.safetensors.
- the high_noise half of Wan 2.2 image to video (i2v):
- Nodes: WanVideo Model Loader, WanVideo VAE Loader, WanVideo Sampler, Load Image, WanVideo ImageToVideo Encode.
- The app downloads and installs nothing. The step texts below say which files and folders, and which ComfyUI template names them.
The steps
The words of each step, as the lesson shows them. Node names are in bold.
What changes (reading)
The graph is the one from "Video on WanVideoWrapper". Three things change: the model files, a node with the picture, and a node that puts the picture at the start of the clip in place of the empty blank.
A WanVideoWrapper graph is needed
This lesson goes on from the graph of "Video on WanVideoWrapper". The canvas must have two WanVideo Model Loader loaders, a WanVideo VAE Loader node and two WanVideo Sampler samplers, the second taking the result of the first.
If they are not there, do that lesson first.
Models for a picture
In the
modelfield of both loaders choosei2vfiles: one withhigh_noisein its name, the other withlow_noise.The
t2vmodels do not take a picture. The rest of the graph stays as it is.Load the picture
Add a Load Image node and choose your picture in its
imagefield. The list shows the files of theinputfolder of your ComfyUI.Prepare the start
Add a WanVideo ImageToVideo Encode node and connect to it:
- to
vae, the output of WanVideo VAE Loader; - to
start_image, theIMAGEoutput of Load Image.
Set
widthto 832,heightto 480 andnum_framesto 81. Proportions like those of the picture work best.- to
Connect the start to the samplers
Connect the
image_embedsoutput of WanVideo ImageToVideo Encode to theimage_embedsinput of both samplers.The old links from the empty blank come off by themselves. The empty blank node can be deleted after that.
How to get more motion (reading)
If the clip hardly moves, WanVideo ImageToVideo Encode has two fields that change that:
noise_aug_strength: a little noise over the picture, for example 0.02, gives the model freedom to move;start_latent_strength: a value below 1, for example 0.8, holds the first frame less.
Change one field at a time. Values too large take the clip away from the picture.
The node also has an
end_imageinput: a picture for the last frame. It needs models trained for it. The model's page says whether it can.The graph is ready (reading)
Save the graph with "File ▸ Save workflow for ComfyUI…", open the file in ComfyUI and run it there. This app runs nothing in ComfyUI itself.
The prompt of a clip from a picture says what changes, not what is already seen. More on this in "A prompt for video".
What the lesson checks
A reading step is done when you press Got it, next. A doing step ticks itself off when the canvas holds:
- Step 2, A WanVideoWrapper graph is needed:
- a WanVideo Model Loader node.
- a WanVideo Model Loader node.
- a WanVideo VAE Loader node.
- a WanVideo Sampler node.
- a WanVideo Sampler node.
modelof WanVideo Model Loader (first pass) intomodelof WanVideo Sampler (first pass).modelof WanVideo Model Loader (second pass) intomodelof WanVideo Sampler (second pass).samplesof WanVideo Sampler (first pass) intosamplesof WanVideo Sampler (second pass).
- Step 3, Models for a picture:
modelof WanVideo Model Loader (first pass) holds the high_noise half of Wan 2.2 image to video (i2v); such a file lies inmodels/diffusion_models, for examplewan2.2_i2v_high_noise_14B_fp8_scaled.safetensors.modelof WanVideo Model Loader (second pass) holds the low_noise half of Wan 2.2 image to video (i2v); such a file lies inmodels/diffusion_models, for examplewan2.2_i2v_low_noise_14B_fp8_scaled.safetensors.
- Step 4, Load the picture:
- a Load Image node.
imageof Load Image: a value is chosen.
- Step 5, Prepare the start:
- a WanVideo ImageToVideo Encode node.
vaeof WanVideo VAE Loader intovaeof WanVideo ImageToVideo Encode.IMAGEof Load Image intostart_imageof WanVideo ImageToVideo Encode.num_framesof WanVideo ImageToVideo Encode is from 49 to 121, a frame count of the form 4n + 1; Do this for me sets 81. Why: wan takes a number of frames of the form 4n + 1: 49, 81, 121. 81 frames at 16 per second make five seconds.
- Step 6, Connect the start to the samplers:
image_embedsof WanVideo ImageToVideo Encode intoimage_embedsof WanVideo Sampler (first pass).image_embedsof WanVideo ImageToVideo Encode intoimage_embedsof WanVideo Sampler (second pass).
Mistakes people make
- Leaving one sampler on the empty embeds.
- Raising both motion fields at once: the clip drifts away from the picture.