pipe.enable_model_cpu_offload()

prompt = "Spiderman is surfing"
video_frames = pipe(prompt, num_inference_steps=25).frames
video_path = export_to_video(video_frames)
video_path
Here are some sample outputs: 
An astronaut riding a horse.
        

Darth vader surfing in waves.
        


Available checkpoints 
	
damo-vilab/text-to-video-ms-1.7b
damo-vilab/text-to-video-ms-1.7b-legacy

TextToVideoSDPipeline
	

class diffusers.TextToVideoSDPipeli