跳到主要内容Skip to main content

文生图Text-to-Image Generation

Text-to-Image Generation

  • 图像语音视频Image, speech & video
  • 第一站 · 进门Station 1 · Getting In
  • 引用核验 2026-11-03refs checked 2026-11-03
解决什么问题What problem it solves

打字变图片:扩散模型最出圈的应用,从像素空间搬进潜空间才变得可用。Typing turns into pictures: diffusion's most visible application — practical only after moving from pixel space to latent space.

这是什么What it is

早期扩散模型直接在像素空间去噪,训练要烧数百 GPU 天。

latent diffusion 论文把扩散搬进预训练自编码器的潜空间。训练与推理成本大幅下降。

加入交叉注意力后,文本等条件可以直接引导生成,文生图由此成立。

该论文(Stable Diffusion 的基础)2022 年发表于 CVPR。

Early diffusion models denoised directly in pixel space, costing hundreds of GPU-days to train.

The latent diffusion paper moved diffusion into the latent space of a pretrained autoencoder, slashing training and inference cost.

Adding cross-attention let text and other conditions guide generation — making text-to-image work.

That paper, the basis of Stable Diffusion, was published at CVPR 2022.

为什么需要知道Why it matters

「输入一句话出图」不是魔法,是这套架构组合。知道潜空间这步,才懂为什么它比早期方案便宜可用。'Type a sentence, get a picture' is not magic but this architecture stack. Knowing the latent-space step explains why it is affordable where early approaches were not.

出处Sources
  • Rombach 等《High-Resolution Image Synthesis with Latent Diffusion Models》(CVPR 2022)Rombach et al., High-Resolution Image Synthesis with Latent Diffusion Models (CVPR 2022) ↗