ion-v1-5"
pipe = TextToVideoZeroPipeline.from_pretrained(model_id, torch_dtype=torch.float16).to("cuda")

prompt = "A panda is playing guitar on times square"
result = pipe(prompt=prompt).images
result = [(r * 255).astype("uint8") for r in result]
imageio.mimsave("video.mp4", result, fps=4)
You can change these parameters in the pipeline call:
Motion field strength (see the paper, Sect. 3.3.1):motion_field_strength_x and motion_field_strength_y