Spaces:
Running on Zero
Running on Zero
File size: 2,828 Bytes
b5f303c 7eee8c8 45a1df2 b5f303c 19ab96d b5f303c 9585d5f 7eee8c8 b5f303c 7eee8c8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | ---
title: Dream Motion Pro - Wan 2.2
author: dream2589632147
emoji: 🎬
colorFrom: indigo
colorTo: pink
sdk: gradio
sdk_version: 6.0.1
app_file: app.py
pinned: false
short_description: Fast Wan 2.2 image-to-video with first/last frames
models:
- TestOrganizationPleaseIgnore/WAMU-Merge-MotionBoost_WAN2.2_I2V_LIGHTNING
---
# Dream Motion Pro — Wan 2.2
Create cinematic videos from a single image or guide the animation with both a **first frame and a last frame**.
## Main features
- Single-image Image-to-Video mode
- First + Last Frame mode
- Wan 2.2 14B Lightning/MotionBoost checkpoint
- FP8 transformer quantization
- AOTI-compiled transformer blocks for ZeroGPU
- Fast, Balanced and High Quality profiles
- Natural, Cinematic, Portrait, Product Ad, Dynamic and Anime motion styles
- Identity-preservation prompt controls
- Automatic professional prompt enhancement
- Landscape, portrait, square and social-media aspect ratios
- Optional RIFE interpolation to 32 or 64 FPS
- Seed control and repeatable generations
- Extract any generated video frame and use it as the next first image
## Space variables
Add these in **Settings → Variables and secrets**:
| Variable | Required | Purpose |
|---|---:|---|
| `REPO_ID` | Recommended | Model repository. Default: `TestOrganizationPleaseIgnore/WAMU-Merge-MotionBoost_WAN2.2_I2V_LIGHTNING` |
| `ENABLE_AOTI` | No | Set to `false` only for troubleshooting. Default: `true` |
| `AOTI_REPO` | No | AOTI package repository |
| `ENABLE_VAE_TILING` | No | Set to `true` if VAE memory becomes a problem |
| `MAX_GPU_SECONDS` | No | Maximum requested ZeroGPU duration. Default: `300` |
| `RUNPOD_URL` | No | Shows a RunPod button beneath the generated video |
| `SUPPORT_URL` | No | Shows a support/PayPal button beneath the generated video |
## Recommended defaults
- **Quality Mode:** Balanced
- **Duration:** 3.5 seconds
- **Output FPS:** 16
- **Steps:** 6
- **Guidance:** 1.0 / 1.0
- **Scheduler:** UniPCMultistep
- **Flow Shift:** 3.0
Lightning checkpoints usually perform best at approximately **4–8 inference steps**. Raising the steps or guidance unnecessarily increases GPU time and may reduce motion quality.
## First + Last Frame mode
Both images are normalized to the same dimensions. The last image is center-cropped to match the prepared first frame so the pipeline receives a consistent resolution.
This release intentionally supports **one image** or **first + last frames only**. It does not include a three-frame mode.
## Notes
- 32 and 64 FPS outputs use RIFE after the base 16 FPS generation.
- Higher FPS improves playback smoothness but does not create additional semantic motion.
- A clear, high-resolution source image and one main action generally produce the most stable result.
- Generate multiple seeds when choosing a final result.
|