OpenViSTAI · Agents · Blockchain · Crypto
Menu
Image & Video AI

Pnpinversion

Pnpinversion is a research implementation of PnP Inversion, a diffusion-model inversion method for prompt-guided image editing.

Independent OpenViST project profile, based on linked sources.

Pnpinversion — Research experiments comparing inversion and editing methods
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when you need research code and benchmark materials to study how diffusion inversion affects prompt-guided image edits, including content preservation and edit fidelity.

Who it is for

  • Researchers reproducing or evaluating diffusion-based image-editing methods
  • Developers exploring or adapting research code for image-editing demos

Documented uses

  • Reproduce experiments associated with the PnP Inversion paper.
  • Run documented image-editing comparisons using the repository's model scripts.
  • Evaluate prompt-driven edits with PIE-Bench and its annotations.
Before you choose

Requirements & limits

  • Environment requirements vary by model script; the repository provides separate requirements files.
  • PIE-Bench is a 700-image benchmark with 10 editing types, and the README links to a request form for access.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Prepare the Prompt-to-Prompt environment

Set up the documented environment for the repository's Prompt-to-Prompt editing scripts.

Before you start

  • Conda
  • Python 3.9
  • The repository's environment/p2p_requirements.txt file

Steps

  1. Create and activate a Conda environment named p2p with Python 3.9.

  2. Install PyTorch 1.12.1, torchvision 0.13.1, torchaudio 0.12.1 and CUDA toolkit 11.3 using the documented PyTorch Conda channel.

  3. Install the packages listed in environment/p2p_requirements.txt.

Expected outcome

The documented p2p software environment is installed for the listed Prompt-to-Prompt-related scripts.

Guide limitations

  • This covers environment setup only, not running an editing script.
  • The repository specifies different requirements files for other model scripts.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
15 November 2026
Original website title
cure-lab/PnPInversion · Official homepage title · retained in its source language