TonyLianLong/LLM-groundedDiffusion

LLM-grounded Diffusion: Enhancing Prompt Understanding of Text-to-Image Diffusion Models with Large Language Models (LLM-grounded Diffusion: LMD, TMLR 2024)

33
/ 100
Emerging

Uses LLMs to parse natural language prompts into spatial layouts (bounding boxes with captions), which then guide diffusion models via cross-attention control and optional GLIGEN adapters for improved compositional generation. Integrated into HuggingFace Diffusers (v0.24.0+) and supports both proprietary APIs (GPT-3.5/4) and self-hosted open-source LLMs (Mixtral, LLaMA 2), with built-in caching, SDXL refinement, and multiple layout-to-image methods (GLIGEN, MultiDiffusion, BoxDiff).

481 stars. No commits in the last 6 months.

No License Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 8 / 25
Community 15 / 25

How are scores calculated?

Stars

481

Forks

34

Language

Python

License

Last pushed

Sep 09, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/diffusion/TonyLianLong/LLM-groundedDiffusion"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.