OpenViSTAI · Agents · Blockchain · Crypto
Menu
Image & Video AI

Llamagen

Llamagen is an open-source autoregressive image-generation project that provides pretrained model weights, image tokenizers, and PyTorch code for training and sampling images conditioned on text or class labels.

Independent OpenViST project profile, based on linked sources.

Llamagen — OpenViST project profile in Image & Video AI.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Llamagen when you want model weights and research code for autoregressive image generation, rather than a packaged image-editing application. Choose the text-conditional workflow for prompt-driven images and the class-conditional workflow for generation by class.

Who it is for

  • Researchers studying autoregressive image generation and its relationship to diffusion methods.
  • Developers who want pretrained checkpoints and code as a basis for text-to-image or class-conditional generation.
  • Teams exploring training or serving workflows for autoregressive image models.

Documented uses

  • Generate images from text prompts using released text-conditional models.
  • Generate class-conditional images using the provided sampling scripts.
  • Use released PyTorch code and model weights as a starting point for training and evaluation.
  • Explore serving the released models with the vLLM framework identified by the project.
Before you choose

Requirements & limits

The repository is public and reports an MIT license for most of the project; some portions are covered by separate licenses. The README links to an online demo as well as local workflows.

  • The project offers both text-conditional and class-conditional generation, but they use different checkpoints and sampling scripts.
  • The README specifies PyTorch 2.1 or later for training and sampling code.
  • Text-conditional sampling additionally requires packages and language models covered in language/README.md.
  • Class-conditional model sizes span roughly 100 million to 3.1 billion parameters, which may affect checkpoint selection and resource needs.
  • The README identifies vLLM support for serving and links to an online Hugging Face demo.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Sample a class-conditional image locally

Use a listed pretrained class-conditional checkpoint and sampling script to generate an image file.

Before you start

  • Python 3 and PyTorch 2.1 or later.
  • Downloaded class-conditional tokenizer and model checkpoints placed in ./pretrained_models.
  • The repository's sampling code and its dependencies.

Steps

  1. Download a class-conditional tokenizer checkpoint and an AR model checkpoint listed in the repository.

  2. Place both files in ./pretrained_models.

  3. Run the documented sample_c2i.py command with the matching checkpoint paths and model settings.

Expected outcome

The script saves the generated image as sample_c2i.png.

Guide limitations

  • The README provides example settings for 384-pixel generation; it does not specify a general hardware requirement.
  • The FSDP example uses an additional --from-fsdp flag.
Source-based practical guide

Sample a text-conditional image locally

Run one of the documented text-to-image sampling workflows with pretrained checkpoints.

Before you start

  • Python 3 and PyTorch 2.1 or later.
  • The required packages and language models described in language/README.md.
  • Downloaded text-conditional tokenizer and AR checkpoints placed in ./pretrained_models.

Steps

  1. Follow language/README.md to install the required packages and language models.

  2. Download the documented text-conditional tokenizer and either the stage-one or stage-two AR checkpoint.

  3. Place the checkpoints in ./pretrained_models.

  4. Run the corresponding sample_t2i.py command from the repository README.

Expected outcome

The script saves the generated image as sample_t2i.png.

Guide limitations

  • The documented examples target 256- or 512-pixel output.
  • The README does not specify a general hardware requirement.
COMPARE OPTIONS

Compare options for Model inference and serving

These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.

ProjectDocumented purposePlatformAccess and requirements
LlamagenGenerate images from text prompts using released text-conditional models.Linux, ServerThe repository is public and reports an MIT license for most of the project; some portions are covered by separate licenses. The README links to an online demo as well as local workflows.
FASHN VTON v1.5Generate a try-on preview from a person image and a garment image.CLI, Linux, macOS, Self-hostedThe repository is public and states an Apache-2.0 license. Local setup requires downloading approximately 2 GB of model weights.
PosteromniRescale a poster to a target aspect ratio using a text prompt.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
14 October 2026
Original website title
FoundationVision/LlamaGen · Official homepage title · retained in its source language