Description
Video-P2P is research code for editing videos with cross-attention control. It is the official implementation of the CVPR 2024 paper of the same name, from researchers at the Jia Lab and collaborators. The repository includes configuration files for six example videos, such as a rabbit jumping, a penguin running, a tiger in a forest and a car driving, and a dataset you can download to experiment with. To run it, you set up the environment from the repository and point the quickstart at a Stable Diffusion 1.5 model, which the README says you download with diffusers. Results are written under outputs in a folder for each run. The README says the code was tested on a Tesla V100 with 32GB and an RTX 3090 with 24GB, and that at least 20GB of VRAM is required. A local Gradio demo is included, and the README links a demo hosted on Hugging Face. The project credits prompt-to-prompt and Tune-A-Video as its basis.…
Highlights
- Video editing based on cross-attention control
- Six example configurations
- Local Gradio demo
- Dataset released for experiments
- Needs at least 20GB of VRAM
Ratings & Reviews
No ratings yet
Be the first to rate Video-P2P.
People also visit
TokenFlow
Official Pytorch Implementation for "TokenFlow: Consistent Diffusion Features…
Video-P2P FAQ
What is Video-P2P?
Official research code for video editing with cross-attention control, from a CVPR 2024 paper.
What hardware do I need?
The README says at least 20GB of VRAM is required, and that the code was tested on a Tesla V100 with 32GB and an RTX 3090 with 24GB.
How do I run it?
Set the path to a Stable Diffusion model in the quickstart, then run an example configuration. Results are saved in the outputs folder for that run.
Is there a demo I can try?
Yes. The README has a local Gradio demo, and a demo is hosted on Hugging Face.
Which base model does it use?
The quickstart uses Stable Diffusion 1.5, which the README says you download with diffusers.
What are the best Video-P2P alternatives?
Popular alternatives to Video-P2P include Vidu AI, Runway and Reference to Video. See all Video-P2P alternatives



