The code should only requires diffusers==0.18.2.My enviroment is same as https://github.com/haohantianchen/Animate.
python test_p2p.py
you can modify the prompts in the code
python test_nti.py
You may need to change the image path and prompts.
To abtain more accurate reconstrution results, increase the inner_steps
args.
More detail can be seen by running python test_nti.py --help
python test_nti.py --inverse False --edit True
The code is still has bug: background is changed. I'm working to solve it.
python test_p2p_c.py