mirror of
https://modelscope.cn/models/iic/Image-to-Video
synced 2026-04-02 11:32:53 +08:00
Update README.md
This commit is contained in:
11
README.md
11
README.md
@ -272,7 +272,14 @@ For more experiments, please stay tuned for our upcoming technical report and op
|
|||||||
|
|
||||||
### 代码范例 (Code example)
|
### 代码范例 (Code example)
|
||||||
```python
|
```python
|
||||||
|
from modelscope.pipelines import pipeline
|
||||||
|
from modelscope.outputs import OutputKeys
|
||||||
|
|
||||||
|
pipe = pipeline("image-to-video", 'damo/Image-to-Video')
|
||||||
|
|
||||||
|
# IMG_PATH: your image path (url or loacl file)
|
||||||
|
output_video_path = pipe(IMG_PATH, output_video='./output.mp4')[OutputKeys.OUTPUT_VIDEO]
|
||||||
|
print(output_video_path)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@ -345,4 +352,6 @@ The relevant technical report is currently being written, and we welcome you to
|
|||||||
Our code and model weights are only available for personal/academic research use and are currently not supported for commercial use.
|
Our code and model weights are only available for personal/academic research use and are currently not supported for commercial use.
|
||||||
|
|
||||||
## 联系我们 (Contact Us)
|
## 联系我们 (Contact Us)
|
||||||
如果你想联系我们的算法/产品同学, 或者想加入我们的算法团队(实习/正式), 欢迎发邮件至: <yingya.zyy@alibaba-inc.com>。
|
如果你想联系我们的算法/产品同学, 或者想加入我们的算法团队(实习/正式), 欢迎发邮件至: <yingya.zyy@alibaba-inc.com>。
|
||||||
|
|
||||||
|
If you would like to contact us, or join our team (internship/formal), please feel free to email us at <yingya.zyy@alibaba-inc.com>.
|
||||||
Reference in New Issue
Block a user