Crystal Clear Videos: A Step-by-Step Guide to Dynamic Cutting Animations

CN
ComfyUI.org
2025-06-19 09:57:41

1. Workflow Overview

mc37ia5i1v539cgam9bezgif.com-optimize.gif
  • Purpose:
    Named "Crystal Cutting", this workflow generates dynamic videos of transparent crystal objects being cut. Key features:

    • Static Image Generation: Creates high-transparency crystal objects (e.g., watermelon, cherry) via Stable Diffusion.

    • Video Animation: Uses WanVideo nodes to animate cutting actions (e.g., knife slicing crystal watermelon).

    • Style Control: LoRAs (e.g., Glass&Crystal Fruits-F1_V1) enhance material realism.

2. Key Components

Critical Nodes:

  1. WanVideoModelLoader:

    • Loads video model (Wan2_1-I2V-14B-480P_fp8_e4m3fn.safetensors).

    • Plugin: ComfyUI-WanVideoWrapper.

  2. WanVideoTextEncode:

    • Inputs cutting prompts (e.g., "A knife cutting a transparent crystal watermelon").

    • Negative prompts avoid artifacts (e.g., "blurry, low quality").

  3. WanVideoImageClipEncode:

    • Encodes static images into video latent frames (resolution 832x832, 49 frames).

  4. WanVideoSampler:

    • Sampler: unipc, 6 steps.

  5. VHS_VideoCombine:

    • Outputs MP4 video (16fps, CRF=19).

Dependencies:

  • LoRA Models:

    • CakeCutting(WanVideo2.1 I2V LoRA)_V1: Must be placed in models/loras/.

  • Plugins:

    • ComfyUI-VideoHelperSuite: For video synthesis.

    • ComfyUI-WanVideoWrapper: Install manually via GitHub.

3. Workflow Structure

Groups:

  1. Static Image Generation:

    • Uses KSampler to generate crystal objects (resolution 768x1024, fixed seed).

    • LoRA (Glass&Crystal Fruits-F1_V1) enhances textures.

  2. Video Animation:

    • WanVideoImageClipEncode converts images to video frames.

    • WanVideoSampler controls cutting motion smoothness.

  3. Post-Processing:

    • VHS_VideoCombine renders final video (with metadata).

4. Inputs & Outputs

  • Inputs:

    • Image: Static crystal object (e.g., jimeng-2025-06-19-5212.png).

    • Text: Bilingual prompts (e.g., "Transparent crystal watermelon + cutting action").

    • Params: Resolution 832x832, FPS 16.

  • Output:

    • MP4 video (e.g., WanVideo2_1_T2V.mp4).

5. Tips & Warnings

  • VRAM: ≥12GB GPU recommended for video generation.

  • Paths: Verify LoRA/model file paths.

  • Frame Limit: High frames (e.g., 49) may slow generation; test with 24 frames first.