en(frame_ids), generator=generator, frame_ids=frame_ids)
    result.append(output.images[1:])

# Concatenate chunks and save
result = np.concatenate(result)
result = [(r * 255).astype("uint8") for r in result]
imageio.mimsave("video.mp4", result, fps=4)   SDXL SupportIn order to use the SDXL model when generating a video from prompt, use the TextToVideoZeroSDXLPipeline pipeline:   Copied import torch
from diffusers import TextToVideoZeroSDXLPip