# lucidrains/big-sleep

A simple command line tool for text to image generation, using OpenAI's CLIP and a BigGAN. Technique was originally created by https://twitter.com/advadnoun

Repository: https://github.com/lucidrains/big-sleep
Canonical: https://ross.abutalabs.com/products/big-sleep
Language: Python
License: MIT
License Family: permissive
Topics: artificial-intelligence, deep-learning, text-to-image, generative-adversarial-networks, multimodality
Last push: 2022-02-06T18:04:34+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": 2053, "days_push": 1669, "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 2573, forks 301 (observed 2026-08-28T04:07:01.541282+00:00)

## What it is
Big Sleep is a Python command line tool that generates images from natural language text prompts by combining OpenAI's CLIP with a BigGAN generator. It wraps Ryan Murdock's technique into a simple one-line terminal command and a Python API.

## Use cases
- generate images from text prompts
- create ai art from a phrase in the terminal
- text to image generation with clip and biggan
- dream up images using natural language
- programmatically generate images from text in python

## When to choose
- you want a simple one-line CLI for CLIP+BigGAN text-to-image synthesis
- you want a small Python API to experiment with generative image art
- you have a GPU and want lightweight text-to-image without heavy diffusion models

## When to avoid
- you need modern high-fidelity text-to-image like diffusion models (Stable Diffusion)
- you need production image generation at scale
- you need a maintained project - the last release was in early 2022

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: image-processing, deep-learning, cli
- domain: artificial-intelligence, deep-learning, image-processing
- platform: python, cli, cross-platform
- tags: text-to-image, clip, biggan, generative-art, gan, gpu

## Member repositories
- lucidrains/big-sleep (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:01.541282+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-30T02:23:05.788145+00:00, confidence not recorded.
  - readme: https://github.com/lucidrains/big-sleep (fetched 2026-08-28T04:07:01.541282+00:00, sha 53f7c288a8a9)
  - registry_pypi: https://pypi.org/pypi/big-sleep/json (fetched 2026-08-29T10:05:26.149962+00:00, sha f25aeec6134a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
