tencentyouturesearch/t2i-l2p — explained in plain English
Analysis updated 2026-05-18
Generate 1024x1024 images directly in pixel space from a text prompt.
Try the model through a hosted demo on Hugging Face Spaces.
Run the Gradio web interface locally with multi-GPU support.
Train your own version starting from the Z-Image-Turbo base model.
| tencentyouturesearch/t2i-l2p | marcj/papernews | python/tzdata | |
|---|---|---|---|
| Stars | 107 | 107 | 107 |
| Language | Python | Python | Python |
| Last pushed | — | — | 2026-07-01 |
| Maintenance | — | — | Active |
| Setup difficulty | hard | moderate | easy |
| Complexity | 4/5 | 2/5 | 1/5 |
| Audience | researcher | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Needs downloaded model weights and a GPU, low-VRAM training still needs under 24GB VRAM.
This is a research codebase from Tencent Youtu Research for a text-to-image generation method called L2P. The core idea involves taking an AI model that was originally trained to generate images by working in a compressed internal representation (called latent space) and transferring it so that it instead generates images directly in pixel space. The paper claims this transfer requires minimal extra data and computation. Most modern AI image generators work by creating images in a compressed form and then decoding that into pixels. L2P produces pixels directly. The released model is six billion parameters in size and currently generates images at 1024 by 1024 pixel resolution. The roadmap lists higher resolutions (4K, 8K, 10K) as planned future work. A live demo is hosted on Hugging Face Spaces, and the model weights are also available through Hugging Face. The repository contains code for both inference and training. To generate an image you load the model weights, point the pipeline at a text prompt, and the model produces an image. The inference code is written in Python and depends on a toolkit called DiffSynth-Studio. A Gradio web interface is also provided for running the model through a browser, with support for distributing requests across multiple GPUs automatically. Training your own version follows four steps: download a base model called Z-Image-Turbo, run a weight conversion script that adapts those latent-space weights into a pixel-space starting point, run the training script against your own image dataset, and then merge the trained output back together for inference. A low-VRAM training script is available for single GPUs with less than 24 GB of memory. This repository is primarily aimed at AI researchers and engineers working on image generation. It accompanies an arXiv preprint and is not a consumer-facing product.
A research codebase from Tencent for an AI method called L2P that generates images directly in pixel space instead of the usual compressed latent space.
Mainly Python. The stack also includes Python, DiffSynth-Studio, Gradio.
Setup difficulty is rated hard, with roughly 1day+ to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.