Cloudflare 中文文档
Workers AI
编辑这个页面
跳转官方原文档
Set theme to dark (⇧+D)

stable-diffusion-xl-lightning

Beta

Model ID: @cf/bytedance/stable-diffusion-xl-lightning

SDXL-Lightning is a lightning-fast text-to-image generation model. It can generate high-quality 1024px images in a few steps.

More Information  

​​ Properties

Task Type: Text-to-Image

​​ Code Examples

Workers - TypeScript
curl

​​ Response

The response is a binary PNG file.

​​ API Schema

The following schema is based on JSON Schema

Input JSON Schema
Output JSON Schema