[Docs] Add example image download step to Image-To-Video examples (#1258)
Signed-off-by: lishunyang <lishunyang12@163.com>
This commit is contained in:
1 parent
87847a214a
commit
a43dbdc064
2 files changed
+24
-8
No files matched your search
@@ -7,12 +7,19 @@ This example demonstrates how to generate videos from images using Wan2.2 Image-
|
|||||||
|
|
||||||
## Local CLI Usage
|
## Local CLI Usage
|
||||||
|
|
||||||
|
Download the example image:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wget https://vllm-public-assets.s3.us-west-2.amazonaws.com/vision_model_images/cherry_blossom.jpg
|
||||||
|
```
|
||||||
|
|
||||||
### Wan2.2-I2V-A14B-Diffusers (MoE)
|
### Wan2.2-I2V-A14B-Diffusers (MoE)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python image_to_video.py \
|
python image_to_video.py \
|
||||||
--model Wan-AI/Wan2.2-I2V-A14B-Diffusers \
|
--model Wan-AI/Wan2.2-I2V-A14B-Diffusers \
|
||||||
--image input.png \
|
--image cherry_blossom.jpg \
|
||||||
--prompt "A cat playing with yarn, smooth motion" \
|
--prompt "Cherry blossoms swaying gently in the breeze, petals falling, smooth motion" \
|
||||||
--negative_prompt "<optional quality filter>" \
|
--negative_prompt "<optional quality filter>" \
|
||||||
--height 480 \
|
--height 480 \
|
||||||
--width 832 \
|
--width 832 \
|
||||||
@@ -27,11 +34,12 @@ python image_to_video.py \
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Wan2.2-TI2V-5B-Diffusers (Unified)
|
### Wan2.2-TI2V-5B-Diffusers (Unified)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python image_to_video.py \
|
python image_to_video.py \
|
||||||
--model Wan-AI/Wan2.2-TI2V-5B-Diffusers \
|
--model Wan-AI/Wan2.2-TI2V-5B-Diffusers \
|
||||||
--image input.png \
|
--image cherry_blossom.jpg \
|
||||||
--prompt "A cat playing with yarn, smooth motion" \
|
--prompt "Cherry blossoms swaying gently in the breeze, petals falling, smooth motion" \
|
||||||
--negative_prompt "<optional quality filter>" \
|
--negative_prompt "<optional quality filter>" \
|
||||||
--height 480 \
|
--height 480 \
|
||||||
--width 832 \
|
--width 832 \
|
||||||
|
|||||||
@@ -4,12 +4,19 @@ This example demonstrates how to generate videos from images using Wan2.2 Image-
|
|||||||
|
|
||||||
## Local CLI Usage
|
## Local CLI Usage
|
||||||
|
|
||||||
|
Download the example image:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wget https://vllm-public-assets.s3.us-west-2.amazonaws.com/vision_model_images/cherry_blossom.jpg
|
||||||
|
```
|
||||||
|
|
||||||
### Wan2.2-I2V-A14B-Diffusers (MoE)
|
### Wan2.2-I2V-A14B-Diffusers (MoE)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python image_to_video.py \
|
python image_to_video.py \
|
||||||
--model Wan-AI/Wan2.2-I2V-A14B-Diffusers \
|
--model Wan-AI/Wan2.2-I2V-A14B-Diffusers \
|
||||||
--image input.png \
|
--image cherry_blossom.jpg \
|
||||||
--prompt "A cat playing with yarn, smooth motion" \
|
--prompt "Cherry blossoms swaying gently in the breeze, petals falling, smooth motion" \
|
||||||
--negative_prompt "<optional quality filter>" \
|
--negative_prompt "<optional quality filter>" \
|
||||||
--height 480 \
|
--height 480 \
|
||||||
--width 832 \
|
--width 832 \
|
||||||
@@ -24,11 +31,12 @@ python image_to_video.py \
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Wan2.2-TI2V-5B-Diffusers (Unified)
|
### Wan2.2-TI2V-5B-Diffusers (Unified)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python image_to_video.py \
|
python image_to_video.py \
|
||||||
--model Wan-AI/Wan2.2-TI2V-5B-Diffusers \
|
--model Wan-AI/Wan2.2-TI2V-5B-Diffusers \
|
||||||
--image input.png \
|
--image cherry_blossom.jpg \
|
||||||
--prompt "A cat playing with yarn, smooth motion" \
|
--prompt "Cherry blossoms swaying gently in the breeze, petals falling, smooth motion" \
|
||||||
--negative_prompt "<optional quality filter>" \
|
--negative_prompt "<optional quality filter>" \
|
||||||
--height 480 \
|
--height 480 \
|
||||||
--width 832 \
|
--width 832 \
|
||||||
|
|||||||
Reference in new issue
Block a user