This updated version of the workflow vastly improves the image quality of the resulting film. Due to a bug in the Save node, the generated file was highly compressed of low quality. Now, the quality setting work, so...
Perfil de execução
Descrição da fonte
This updated version of the workflow vastly improves the image quality of the resulting film. Due to a bug in the Save node, the generated file was highly compressed of low quality. Now, the quality setting work, so you can produce uncompressed high quality films.
Generates videos with a transparent background (WEBM + alpha channel) from a start and end frame using Wan 2.2 I2V with LightX2V LoRAs and rembg AI background removal.
Comentário gerado por IA
Explicação gerada por IA com base nos detalhes da fonte e da configuração. As sugestões são claramente identificadas.
Use this ComfyUI workflow to make a transparent-background WEBM video from PNG start and end frames and a positive prompt: Wan 2.2 I2V generates the in-between frames, and rembg removes their backgrounds.
The guide describes background removal on every generated frame before exporting a WEBM with an alpha channel for compositing.
Provide PNG start and end frames, write a positive prompt, and set the width, height, and frame count.
The described output is a WEBM file with an alpha channel in ComfyUI/output/, ready for compositing.
In ComfyUI, load kove_img_to_img_transparent.json, upload both frames, set the prompt and video controls, then click Queue.
Install wan_alpha_nodes under ComfyUI/custom_nodes/wan_alpha_nodes/ and install ComfyUI-rembg through ComfyUI Manager or in ComfyUI/custom_nodes/.
Required model files include wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors, wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors, wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors, and wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors.
You also need umt5_xxl_fp8_e4m3fn_scaled.safetensors and wan_2.1_vae.safetensors.
The guide calls for wan_alpha_nodes and ComfyUI-rembg; ComfyUI-KJNodes is required for the ColorMatchV2 node.
Set width and height in WAN I2V Conditioning to choose resolution; the default is 1024×1024. Set length for the frame count; 61 frames at 30 FPS is described as about two seconds.
In the Save node, choose an output filename and frame rate.
The Save node offers VP8, described as faster, and VP9, described as providing better compression; its quality setting ranges from 0 to 100 and defaults to 20. The guide suggests VP9 for broader playback compatibility.
For background removal, include “The character is isolated against a transparent background.” in the positive prompt; the guide says rembg has less context without that phrase.
Sugestão · não verificado
To avoid replacing an earlier output, choose a new filename before each run. The guide recommends 16GB+ VRAM for the two 14B fp8 diffusion models and suggests reducing width, height, or frame count if CUDA runs out of memory.
Sugestão · não verificado
Isso precisa ser editado?
Faça login para enviar uma solicitação de edição.
Fontes
1 fonteTrechos de fonte
3 trechosSource context: 286 downloads · Type Workflows · Base model Wan Video 2.2 I2V-A14B
You provide a start frame and an end frame (PNG images)
The model generates the in-between frames
rembg AI strips the background from every frame
Output is a WEBM file with a real alpha channel, ready for compositing
All models are from Comfy-Org/Wan_2.2_ComfyUI_Repackaged on HuggingFace.
| File | Destination folder |
|------|--------------------|
| wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors | ComfyUI/models/diffusion_models/ |
| wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors | ComfyUI/models/diffusion_models/ |
| wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors | ComfyUI/models/loras/wan/ |
| wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors | ComfyUI/models/loras/wan/ |
| umt5_xxl_fp8_e4m3fn_scaled.safetensors | ComfyUI/models/text_encoders/ |
| wan_2.1_vae.safetensors | ComfyUI/models/vae/ |
The workflow will show download buttons for missing models directly in ComfyUI.
Two custom node packages are required.
Provides the SaveWebmWithAlpha node used to export the final video.
Copy the two files from this repo into ComfyUI:
ComfyUI/custom_nodes/wan_alpha_nodes/
├── wan_alpha_ nodes.py
└── init .py
Provides the RembgBackgroundRemover node used for AI background removal. Install it via ComfyUI Manager or clone it into ComfyUI/custom_nodes/ .
Open ComfyUI and load kove_img_to_img_transparent.json
In the Start Frame node, upload your starting image
In the End Frame node, upload your ending image
Edit the Positive Prompt (see Prompting section below)
In the WAN I2V Conditioning node, set width , height , and length (frame count)
In the Save node, set your output filename and frame rate
Click Queue
The output WEBM file will appear in ComfyUI/output/ .
| Parameter | Node | Notes |
|-----------|------|-------|
| Width / Height | WAN I2V Conditioning | Resolution of the output video. Default: 1024×1024 |
| Length | WAN I2V Conditioning | Number of frames. 61 frames @ 30 FPS ≈ 2 seconds |
| Filename | Save | Output file name. Existing files with the same name are overwritten without warning. |
| Frame Rate | Save | Playback FPS of the output WEBM |
| Codec | Save | VP8 (faster) or VP9 (better compression) |
| Quality | Save | 0–100. Default 20 is a good starting point |
Always include this phrase in the positive prompt:
"The character is isolated against a transparent background."
Without it, rembg has less context and background removal quality drops.
The negative prompt is pre-filled with blurry, distorted, low quality, static, no motion — leave it as-is unless you have a specific reason to change it.
Idle character animation
The character is isolated against a transparent background.
The lighting is constant and even throughout the sequence.
The character breathes gently and sways slightly from side to side.
Hair and clothing move subtly with the sway.
The character does not speak. Slow movements. Idle animation.
Floating object
The character is isolated against a transparent background.
A glowing orb floats gently up and down. Soft pulsing light. Smooth looping motion.
Abstract effect
The character is isolated against a transparent background.
Colorful particles swirl and drift slowly. Ethereal. Cinematic quality.
Nodes missing after loading the workflow
Confirm both custom node packages are installed and ComfyUI has been restarted
Check the ComfyUI console for import errors
Background not fully removed
Make sure the transparent background phrase is in your positive prompt
Try a different rembg model in the RembgBackgroundRemover node (e.g. isnet-anime for illustrated characters)
CUDA out of memory
Reduce width/height or frame count
The two diffusion models are large (14B fp8); 16GB+ VRAM recommended
Output file is overwritten unexpectedly
WEBM won't play in browser/editor
Estimativa de requisito VRAM
Estimativa indisponível
28,9 GB distribuídos em 4 de 9 arquivos de modelo. Total de arquivos do modelo + 25% de overhead de carregamento + 2 GB de buffer de execução, arredondado para cima.
Requisitos
Requisitos 19CLIPLoader
PossívelText encoder · Unknown
umt5_xxl_fp8_e4m3fn_scaled.safetensors
Arquivo não verificadoText encoder · Civitai · 1329096
VAEDecode
PossívelVAE · Unknown
VAELoader
PossívelVAE · Unknown
VAE · Civitai · 1329096
Checkpoint · 13.3 GB · SAFETENSORS · Hugging Face · Comfy-Org/Wan_2.2_ComfyUI_Repackaged
LoRA · 1.14 GB · Hugging Face · Comfy-Org/Wan_2.2_ComfyUI_Repackaged
LoRA · 1.14 GB · SAFETENSORS · Hugging Face · Comfy-Org/Wan_2.2_ComfyUI_Repackaged
Checkpoint · 13.3 GB · Hugging Face · Comfy-Org/Wan_2.2_ComfyUI_Repackaged
CLIPTextEncode
PossívelPacote de nós · Unknown
Pacote de nós · Unknown
KSamplerAdvanced
PossívelPacote de nós · Unknown
Source context: 254 downloads · Type Workflows · Base model Wan Video 2.2 I2V-A14B
Source context: 253 downloads · Type Workflows · Base model Wan Video 2.2 I2V-A14B
LoadImage
PossívelPacote de nós · Unknown
LoraLoaderModelOnly
PossívelPacote de nós · Unknown
ModelSamplingSD3
Não resolvidoPacote de nós · Unknown
RembgBackgroundRemover
Não resolvidoPacote de nós · Unknown
SaveWebmWithAlpha
Não resolvidoPacote de nós · Unknown
UNETLoader
PossívelPacote de nós · Unknown
WanFirstLastFrameToVideo
Não resolvidoPacote de nós · Unknown