Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold.

github.com/XingangPan/DragGAN
DragGAN homepage screenshot

About DragGAN

DragGAN is a code repository for the SIGGRAPH 2023 method for interactive point-based manipulation of GAN-generated images. It provides a GUI and a Gradio demo, with conda and pip setup, Docker instructions, and scripts to download pretrained StyleGAN2 weights, with additional support for StyleGAN-Human and LHQ weights.

The GUI edits GAN-generated images; editing a real image requires prior GAN inversion, such as with PTI, before loading the latent code and weights. The Docker image needs about 25GB of disk space, and use is subject to CC-BY-NC and Nvidia Source Code License terms, including preserving the "AI Generated" watermark.

Key features

  • Interactive point-based manipulation of GAN-generated images
  • GUI started with gui.sh on Linux/macOS or gui.bat on Windows
  • Gradio demo run with visualizer_drag_gradio.py
  • Docker visualizer based on NGC PyTorch repository with GPU flag
  • Load pretrained StyleGAN2, StyleGAN-Human, and LHQ weights
  • Load inverted latent code and weights to edit real images
Best for: Researchers and developers with StyleGAN models who can set up Python, conda, and pretrained weights.
Good for
  • Provides both desktop GUI and Gradio demo options
  • Works with StyleGAN2, StyleGAN-Human, and LHQ pretrained weights
  • Includes Docker setup and macOS Silicon and CPU installation path
Watch out for
  • GUI edits GAN-generated images directly; real images require separate GAN inversion
  • Docker image requires about 25GB of disk space
  • Use requires CC-BY-NC and Nvidia license terms and preserving AI Generated watermark

DragGAN at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Platforms
macOS
Open source
Not stated
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

DragGAN alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

DETEXTIFY

github.com/iuliaturc/detextify

A Python library to remove unwanted pseudo-text from images generated by your favorite generative AI models (Stable Diffusion, Midjourney, DALL·E).

Open source
24 alternatives

Popular in AI Image Generators

Well-known listings from the same topic.

All 363

DragGAN FAQ

How do I start the DragGAN GUI?
Run sh scripts/gui.sh on Linux/macOS or .\scripts\gui.bat on Windows, or run python visualizer_drag_gradio.py for the Gradio demo.
Can I edit a real photo?
First perform GAN inversion using tools like PTI, then load the new latent code and model weights to the GUI.
How do I get pretrained weights?
Run python scripts/download_model.py for StyleGAN2 weights; place StyleGAN-Human and LHQ weights under ./checkpoints.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing