# Yujun-Shi/DragDiffusion

[CVPR2024, Highlight] Official code for DragDiffusion

Repository: https://github.com/Yujun-Shi/DragDiffusion
Canonical: https://ross.abutalabs.com/products/dragdiffusion
Homepage: https://yujun-shi.github.io/projects/dragdiffusion.html
Language: Python
License: Apache-2.0
License Family: permissive
Topics: artificial-intelligence, diffusion-models, draggan, image-editing, dragdiffusion, cvpr2024
Last push: 2024-01-29T13:25:43+00:00

## Health v2 (maintenance only)
Score: 19/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 82
- inputs: {"age_days": 1152, "days_push": 947, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1259, forks 95 (observed 2026-08-28T04:04:09.843083+00:00)

## What it is
DragDiffusion is the official CVPR 2024 research code for interactive point-based image editing using pretrained diffusion models. It provides a UI where users drag points on an image to precisely reposition content, using LoRA training and diffusion latent optimization.

## Use cases
- drag points on an image to move or reshape objects
- edit real photos with point-based diffusion editing
- edit stable diffusion generated images by dragging
- reproduce DragDiffusion research results
- run DragBench evaluation for point-based editing

## When to choose
- you need precise spatial control over image edits that text prompts can't achieve
- you want a research baseline or to build on point-based diffusion editing
- you have an NVIDIA GPU and want a UI for drag-based editing

## When to avoid
- you need a polished commercial image editor
- you have no GPU or want CPU-only editing
- you need text-prompt-only editing without spatial control

## Facets
- artifact type: application
- maturity: maintenance
- function: image-processing, machine-learning, gui
- domain: artificial-intelligence, image-processing, computer-vision, deep-learning
- platform: python
- tags: diffusion-models, stable-diffusion, image-editing, point-based-editing, lora, research-code, cvpr2024, linux, gpu

## Member repositories
- Yujun-Shi/DragDiffusion (main) score 19

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:09.843083+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:05:28.626968+00:00, confidence not recorded.
  - readme: https://github.com/Yujun-Shi/DragDiffusion (fetched 2026-08-28T04:04:09.843083+00:00, sha 0af414c20a4d)
  - homepage: https://yujun-shi.github.io/projects/dragdiffusion.html (fetched 2026-08-29T12:17:18.047699+00:00, sha 1b85466cefc5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
