YiYiXu HF Staff commited on
Commit
a0a72b9
·
verified ·
1 Parent(s): ebe0573

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -3
README.md CHANGED
@@ -1,3 +1,15 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+
5
+ default image resizing method for wan 14B image-to-video pipelines (for both wan2.1 and wan 2.2 14B)
6
+ ```py
7
+ from diffusers import ModularPipeline
8
+ image_processor = ModularPipeline.from_pretrained("YiYiXu/WanImageProcessor14B", trust_remote_code=True)
9
+ image = image_processor(
10
+ image="https://huggingface.co/datasets/YiYiXu/testing-images/resolve/main/wan_i2v_input.JPG",
11
+ output="processed_image"
12
+ )
13
+ ```
14
+
15
+ for wan 2.2 5B, the default method is here https://huggingface.co/YiYiXu/WanImageProcessor