Wan-Fun InP is an open-source video generation model released by Alibaba, part of the Wan2.1-Fun series, focusing on generating videos from images with first and last frame control.Key features:
First and last frame control: Supports inputting both first and last frame images to generate transitional video between them, enhancing video coherence and creative freedom. Compared to earlier community versions, Alibaba’s official model produces more stable and significantly higher quality results.
Multi-resolution support: Supports generating videos at 512×512, 768×768, 1024×1024 and other resolutions to accommodate different scenario requirements.
Model versions:
1.3B Lightweight: Suitable for local deployment and quick inference with lower VRAM requirements
14B High-performance: Model size reaches 32GB+, offering better results but requiring higher VRAM
Below are the relevant model weights and code repositories:
Currently, ComfyUI natively supports the Wan2.1 Fun InP model. Before starting this tutorial, please update your ComfyUI to ensure your version is after this commit.
If you find missing nodes when loading the workflow file below, it may be due to the following situations:
You are not using the latest Development (Nightly) version of ComfyUI.
You are using the Stable (Release) version or Desktop version of ComfyUI (which does not include the latest feature updates).
You are using the latest Commit version of ComfyUI, but some nodes failed to import during startup.
Please make sure you have successfully updated ComfyUI to the latest Development (Nightly) version. See: How to Update ComfyUI section to learn how to update ComfyUI.
If automatic model downloading is ineffective, please download the models manually and save them to the corresponding folders.The following models can be found at Wan_2.1_ComfyUI_repackaged and Wan2.1-FunDiffusion models - choose 1.3B or 14B. The 14B version has a larger file size (32GB) and higher VRAM requirements:
Please make sure to use the correct model, as wan2.1_fun_inp_1.3B_bf16.safetensors and wan2.1_fun_control_1.3B_bf16.safetensors are stored in the same folder and have very similar names. Ensure you’re using the right model.
When using Wan Fun InP, you may need to frequently modify prompts to ensure the accuracy of the corresponding scene transitions.