mirror of
https://modelscope.cn/models/iic/Image-to-Video
synced 2026-04-02 19:42:53 +08:00
Update README.md
This commit is contained in:
@ -278,7 +278,7 @@ from modelscope.outputs import OutputKeys
|
||||
|
||||
pipe = pipeline("image-to-video", 'damo/Image-to-Video')
|
||||
|
||||
# IMG_PATH: your image path (url or loacl file)
|
||||
# IMG_PATH: your image path (url or local file)
|
||||
output_video_path = pipe(IMG_PATH, output_video='./output.mp4')[OutputKeys.OUTPUT_VIDEO]
|
||||
print(output_video_path)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user