# lucidrains/imagen-pytorch

Implementation of Imagen, Google's Text-to-Image Neural Network, in Pytorch

Repository: https://github.com/lucidrains/imagen-pytorch
Canonical: https://ross.abutalabs.com/products/imagen-pytorch
Language: Python
License: MIT
License Family: permissive
Topics: artificial-intelligence, deep-learning, text-to-image, imagination-machine, text-to-video
Last push: 2024-10-07T13:00:53+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 1563, "days_push": 695, "days_rel": 695, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8424, forks 795 (observed 2026-08-28T04:10:21.122140+00:00)

## What it is
A PyTorch implementation of Imagen, Google's text-to-image neural network based on cascading DDPMs conditioned on T5 text embeddings. It provides the model architecture and training/sampling tooling for text-to-image synthesis research.

## Use cases
- generate images from text prompts in pytorch
- train a cascading diffusion model on my own image dataset
- replicate Google's Imagen text-to-image model
- experiment with classifier-free guidance in diffusion models
- build a text-to-image research project without CLIP

## When to choose
- you want an open PyTorch codebase of Imagen for research or experimentation
- you need a cascading DDPM implementation with T5 text conditioning
- you want to train or fine-tune a text-to-image diffusion model yourself

## When to avoid
- you need a production-ready text-to-image service with pretrained checkpoints at full quality
- you have no GPU or ML training experience and just want to generate images easily
- you need a stable inference library with long-term support guarantees

## Facets
- artifact type: library
- maturity: active
- function: deep-learning, machine-learning, image-processing
- domain: artificial-intelligence, deep-learning, machine-learning, image-processing
- platform: python
- tags: text-to-image, diffusion-models, pytorch, imagen, generative-ai, ddpm, t5-encoder, gpu

## Member repositories
- lucidrains/imagen-pytorch (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:21.122140+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-29T17:27:16.111998+00:00, confidence not recorded.
  - readme: https://github.com/lucidrains/imagen-pytorch (fetched 2026-08-28T04:10:21.122140+00:00, sha 03f52880d86e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
