in

I2VGen-XL image to video

I2VGen-XL image to video

from modelscope.pipelines import pipeline
from modelscope.outputs import OutputKeys

pipe = pipeline(task=’image-to-video’, model=’damo/Image-to-Video’, model_revision=’v1.1.0′)

# 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)

This post was created with our nice and easy submission form. Create your post!

What do you think?

Written by newsaha

Leave a Reply

GIPHY App Key not set. Please check settings

Watch today sport today’s sport, cricket. It is an exciting and

To do this, you need to find the best deals on products and