Unlock Smooth 360° Rotations: A Step-by-Step Workflow for E-commerce and Gaming Animations

CN
ComfyUI.org
2025-04-25 08:43:26

1. Workflow Overview

m9wjllhv9vdkys2ac5id7c48f1a39c7e9d4cb386d76d264210694088125a519ad8196dde1df604278b1.jpg

This workflow, named "360-Degree Rotation", generates smooth object/character rotation animations for e-commerce displays, game character previews, etc. Key features:

  • Converts a single image into a 360° rotation sequence

  • Powered by Wan2.1 video generation model

  • Customizable rotation angles and frame rates

  • Enhanced with 360度旋转lora_flux LoRA for motion optimization

2. Core Models

Model Name

Function

Source/Installation

Wan2_1-I2V-14B-480P

Image-to-video generation

Manual download to models/wanvideo

360度旋转lora_flux

Rotation-optimized LoRA

Manual download to models/loras

umt5-xxl-enc-bf16

Multilingual text encoder

Auto-downloaded

Wan2_1_VAE_bf16

Video VAE encoder

Manual download to models/vae

3. Key Nodes

Node Name

Function

Installation

WanVideoModelLoader

Loads Wan2.1 model

Built-in (requires manual model download)

WanVideoLoraSelect

Loads rotation LoRA

Built-in

WanVideoImageClipEncode

Extracts image features

Built-in

WanVideoSampler

Generates rotation (20 steps)

Built-in

VHS_VideoCombine

Renders MP4 video (16fps)

Requires Video-Helper-Suite plugin

4. Workflow Structure

  1. Input & Preprocessing

    • Input: Single image (e.g., 07-空.jpg)

    • Processing:

      • Resize to 480x480 (ImageResizeKJ)

      • Feature extraction via WanVideoImageClipEncode

  2. Rotation Generation

    • Load Wan2.1 model + rotation LoRA

    • Generate 33-frame sequence (prompt: 电表360度旋转)

  3. Output

    • MP4 video (WanVideo2_1_*.mp4, H.264, CRF=19)

5. Inputs & Outputs

  • Input Parameters:

    • Required: Single image (PNG/JPG)

    • Optional: Resolution (default:480x480), frame count (default:33), negative prompts

  • Output: 360° rotation video (saved to ComfyUI/output)

6. Notes

  1. Dependencies:

    • Manual download required for Wan2.1 and VAE models.

    • Rotation LoRA must be placed in models/loras.

  2. Hardware:

    • Recommended: ≥10GB VRAM (NVIDIA GPU).

    • Increase WanVideoSampler steps (default:20) for higher frame counts.

  3. Optimization:

    • Adjust WanVideoTeaCache (default:0.16) for smoother rotation.

    • Use plain backgrounds for best results.