Skip to content

Conversation

mudler
Copy link
Owner

@mudler mudler commented Aug 27, 2025

Description

This PR adds support to generate videos with wan2.2. This adds support for I2V and T2V models (seems S2V is not in diffusers, yet).

Notes for Reviewers

Tested with:

  • WAN 2.1
parameters:
    model: Wan-AI/Wan2.1-T2V-1.3B-Diffusers
name: wan21
f16: true
backend: diffusers
known_usecases:
    - FLAG_VIDEO
diffusers:
    cuda: true
    pipeline_type: WanPipeline
step: 40
options:
    - guidance_scale:5.0
    - num_frames:81
    - torch_dtype:bf16
 curl -X POST http://localhost:8080/video -H "Content-Type: application/json" -H "Authorization: Bearer XXXXX" -d '{
    "model": "wan21",
    "prompt": "Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage.",
    "negative_prompt": "Bright tones, overexposed, static",
    "width": 832,
    "height": 480,
    "num_frames": 81,
    "fps": 16,
    "seed": 42,
    "cfg_scale": 5.0,
    "step": 40
  }'

Signed commits

  • Yes, I signed my commits.

Copy link

netlify bot commented Aug 27, 2025

Deploy Preview for localai ready!

Name Link
🔨 Latest commit 13e8e36
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/68b00d5184f5c000085c4fb8
😎 Deploy Preview https://deploy-preview-6153--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

mudler added 4 commits August 27, 2025 17:20
Signed-off-by: Ettore Di Giacinto <[email protected]>
Signed-off-by: Ettore Di Giacinto <[email protected]>
Signed-off-by: Ettore Di Giacinto <[email protected]>
@mudler mudler added the enhancement New feature or request label Aug 28, 2025
@mudler mudler merged commit 9621edb into master Aug 28, 2025
34 checks passed
@mudler mudler deleted the feat/wan2.2-support branch August 28, 2025 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant