⚠️ Heads up: this tool's official website appears to be unreachable right now. It may be offline, rebranded, or temporarily down.
GLIGEN

GLIGEN

★ 3.8 🔖 1200 saves 💰 Free AI Image GenerationGitHub

GLIGEN is the official open-source implementation of the CVPR 2023 paper on open-set grounded text-to-image generation, with 2,200+ stars on GitHub — it lets diffusion models place objects exactly where you tell them to.

Overview

A text prompt alone gives you little control over layout: ask for a cat on the left and a dog on the right and a standard text-to-image model will improvise. GLIGEN (Grounded-Language-to-Image Generation) adds grounding inputs to frozen text-to-image models — bounding boxes, keypoints and reference images — so generated scenes respect the composition you specify while keeping the model’s open-set generality: it can ground concepts it was never explicitly trained to place. The paper reports zero-shot performance on COCO and LVIS that beats existing supervised layout-to-image baselines by a large margin. The repository includes the model code and checkpoints, a project page and a Hugging Face demo, and GLIGEN was later integrated into LLaVA-Interactive for combined image chat, segmentation, generation and editing. Last updated in 2024, it remains a key reference for controllable image generation research.

Key Features

  • Grounded generation – control object placement with bounding boxes, keypoints and images.
  • Open-set ability – grounds new concepts on top of frozen text-to-image models.
  • Strong zero-shot results – outperforms supervised layout-to-image baselines on COCO and LVIS.
  • Official code – the CVPR 2023 authors’ implementation with released checkpoints.
  • Live demo – try grounded generation in the Hugging Face Spaces demo.
  • Ecosystem reach – integrated into LLaVA-Interactive for multimodal image workflows.

💳 Pricing

GLIGEN is free and open source under the MIT license. You download the code and checkpoints and run them on your own GPU; there is no commercial service or paid tier attached.

Who Is It For

Computer vision researchers and generative imaging developers who need layout control in text-to-image generation and want the reference implementation behind a widely cited grounding method.

🚀 Visit GLIGEN Official Site

🚩 Report an issue