Unleash Creative Video Generation: How to Pack Objects into Gift Boxes with LoRA Effects
1. Workflow Overview

Function: Generates animated videos that pack input objects (e.g., dolls) into gift boxes with LoRA effects.
Goal: Combine WAN video models and LoRAs for creative video generation.
Key Models:
WAN2.1-I2V-14B (Base video model, FP8 precision).
"Packed into Box" LoRA (Animation effect).
UMT5-XXL (Text encoder for prompts).
2. Node Breakdown
Critical Nodes:
WanVideoModelLoader: Loads WAN model (
Wan2_1-I2V-14B-480P_fp8_e4m3fn.safetensors
).WanVideoLoraSelect: Applies effect LoRA (e.g., "Packed into Box").
LoadImage: Input static image (e.g., "POPMART-style doll").
WanVideoTextEncode: Encodes prompts (e.g., "Bounce into a gift box").
WanVideoSampler: Generates video frames (sampler:
dpm++_sde
, 20 steps).VHS_VideoCombine: Exports MP4 (16fps, H.264).
Dependencies:
WAN Models: Download
Wan2_1-I2V-14B
andWan2_1_VAE
tomodels/wan_video
.LoRA: Place
Packed into Box LoRA
inmodels/loras
.
3. Workflow Structure
Group Logic:
Model Loading:
Input: WAN model, LoRA, VAE.
Output: Video generation pipeline.
Input Processing:
Input: Image + text prompts.
Output: Image/text embeddings.
Video Generation:
Input: Embeddings, seed.
Output: Latent video frames.
Video Synthesis:
Input: Decoded frames.
Output: MP4 (480P by default).
4. Inputs & Outputs
Inputs:
Required:
Static image (e.g., doll photo).
Positive prompt (e.g., "Bounce into a gift box").
Optional: Seed (randomized), LoRA strength (default 1.0).
Outputs:
MP4 video (e.g.,
WanVideo2_1_T2V.mp4
) with gift box animation.
5. Notes
Hardware:
≥16GB VRAM (FP8 requires high-end GPUs).
NVIDIA 30/40-series recommended.
Common Issues:
Missing models: Check
models/wan_video
.Choppy video: Reduce FPS (e.g., 12) or resolution.
Optimization:
Enable
fp8_e4m3fn
if supported.Use
offload_device
to save VRAM.