data(i)) for i in range(frame_count)]
To extract pose from actual video, read ControlNet documentation.
Run StableDiffusionControlNetPipeline with our custom attention processor


	Copied
import torch
from diffusers import StableDiffusionControlNetPipeline, ControlNetModel
from diffusers.pipelines.text_to_video_synthesis.pipeline_text_to_video_zero import CrossFrameAttnProcessor

model_id = "runwayml/stable-diffusion-v1-5"
controlnet = ControlN