fix: reject video models in image generation (#2017)

This commit is contained in:
leejet authored and GitHub committed 2026-09-21 21:48:42 +08:00
1 parent c678dfe704
commit 74988b290e
5 files changed
+22 -17

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
# How to Use
Wan models require `-M vid_gen`, including single-frame generation. `--video-frames` alone does not select video mode. Library callers must use `generate_video()` instead of `generate_image()`.
## Download weights
- Download Wan