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

stable-diffusion-v1-5-inpainting

Beta

Model ID: @cf/runwayml/stable-diffusion-v1-5-inpainting

Stable Diffusion Inpainting is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input, with the extra capability of inpainting the pictures by using a mask.

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