← 开源
openai

glide-text2im

GLIDE: a diffusion-based text-conditional image synthesis model

ModelsVision modelsPython
在 GitHub 打开
增长势头
+124 小时新增 Star+0.0%
3.68k
Star
500
Fork
+0
本周
4
贡献者
创建于 2021-12-10 · 更新于 2026-10-06 · 今日第 4487 名
主要开发者
README

GLIDE

This is the official codebase for running the small, filtered-data GLIDE model from GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models.

For details on the pre-trained models in this repository, see the Model Card.

Usage

To install this package, clone this repository and then run:

pip install -e .

For detailed usage examples, see the notebooks directory.

  • The text2im [][colab-text2im] notebook shows how to use GLIDE (filtered) with classifier-free guidance to produce images conditioned on text prompts.
  • The inpaint notebook shows how to use GLIDE (filtered) to fill in a masked region of an image, conditioned on a text prompt.
  • The clip_guided [][colab-guided] notebook shows how to use GLIDE (filtered) + a filtered noise-aware CLIP model to produce images conditioned on text prompts.