Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 700 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 700 Bytes

文本条件的视频生成(Text-to-Video Generation)

from paddlemix.appflow import Appflow
import imageio


prompt = "An astronaut riding a horse."

app = Appflow(app='text_to_video_generation',models=['damo-vilab/text-to-video-ms-1.7b'])
video_frames = app(prompt=prompt,num_inference_steps=25)['result']

imageio.mimsave("text_to_video_generation-synth-result-astronaut_riding_a_horse.gif", video_frames,duration=8)
Prompt video
An astronaut riding a horse. text_to_video_generation-synth-result-astronaut_riding_a_horse