Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Generative AI
  3. DragGAN

DragGAN

NOASSERTIONPython

Interactive point-based manipulation tool for editing GAN-generated images by dragging points to target positions.

Visit WebsiteGitHubGitHub
35.7k stars3.4k forks0 contributors

What is DragGAN?

DragGAN is an interactive AI tool that allows users to edit GAN-generated images by dragging points to desired positions. It enables precise manipulation of image attributes like pose, shape, and layout while maintaining realism. The project is based on StyleGAN and provides both GUI and web interfaces for intuitive image editing.

Target Audience

AI researchers, computer vision practitioners, and developers working with generative models who need interactive image editing capabilities. Also suitable for artists and creators experimenting with AI-based image manipulation.

Value Proposition

DragGAN offers a unique point-and-drag interface for precise GAN-based image editing, making it more intuitive than traditional methods. It combines academic research quality with practical usability through its GUI and web demos.

Overview

Official Code for DragGAN (SIGGRAPH 2023)

Use Cases

Best For

  • Precise editing of GAN-generated images
  • Interactive manipulation of image poses and shapes
  • Research experiments with point-based generative model control
  • Creating customized AI-generated visuals
  • Educational demonstrations of GAN capabilities
  • Prototyping interactive AI image editing tools

Not Ideal For

  • Commercial projects requiring permissive licensing, due to the CC-BY-NC license restricting commercial use.
  • Users needing to edit real photographs out-of-the-box, as it requires separate GAN inversion tools like PTI.
  • Environments with limited storage or no GPU access, given the 25GB Docker image and CUDA dependencies.
  • Production applications requiring real-time performance, since it's primarily a research tool with interactive demos.

Pros & Cons

Pros

Precise Point Control

Enables dragging handle points to manipulate attributes like pose and shape with high accuracy, as highlighted in the SIGGRAPH paper for fine-grained editing.

Interactive Web Demos

Offers Gradio-based demos on Hugging Face and OpenXLab, allowing easy experimentation without local setup, as shown in the README's web demo links.

Research-Grade Integration

Built on StyleGAN2/3 with pre-trained models for high-quality generation, leveraging proven architectures from NVlabs, as noted in the key features.

Intuitive GUI Access

Includes a graphical interface with scripts for Windows and Linux, making it user-friendly for interactive editing, as described in the Run DragGAN GUI section.

Cons

Complex Installation Process

Requires Conda environments, Docker setup, and large model downloads (25GB Docker image), which can be cumbersome, as detailed in the Requirements and Docker sections.

Limited Real Image Support

Editing real images necessitates external GAN inversion tools like PTI, not built-in, as admitted in the README under Run DragGAN GUI.

Restrictive Licensing

Uses a CC-BY-NC license for the core algorithm, limiting commercial use and requiring watermark preservation, as stated in the License section.

Frequently Asked Questions

Quick Stats

Stars35,718
Forks3,385
Contributors0
Open Issues146
Last commit2 years ago
CreatedSince 2023

Tags

#image-editing#generative-models#interactive-tool#generative-ai#gan#artificial-intelligence#image-manipulation#computer-vision#generative-adversarial-network#research-project

Built With

C
CUDA
G
Gradio
D
Docker
P
PyTorch

Links & Resources

Website

Included in

Generative AI11.7k
Auto-fetched 1 day ago

Related Projects

FluxFlux

Official inference repo for FLUX.1 models

Stars26,029
Forks1,931
Last commit1 year ago
Vicuna-13BVicuna-13B

An open-source chatbot trained by fine-tuning LLaMA on user-shared conversations collected from ShareGPT. #opensource

Stars0
Forks0
Last commit
ImagenImagen

Imagen by Google is a text-to-image diffusion model with an unprecedented degree of photorealism and a deep level of language understanding

Stars0
Forks0
Last commit
DeepSeekDeepSeek

DeepSeek V3 and R1 series of LLMs by DeepSeek AI. #opensource

Stars0
Forks0
Last commit
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub