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

stable-diffusion-xl-base-1.0

Beta

Model ID: @cf/stabilityai/stable-diffusion-xl-base-1.0

Diffusion-based text-to-image generative model by Stability AI. Generates and modify images based on text prompts.

More Information   Terms & License  

​​ 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