Skip to content

Inconsistent image type for @cf/bytedance/stable-diffusion-xl-lightning #21022

@leonardcser

Description

@leonardcser

The Usage > Workers - TypeScript shows a jpeg output type.

The API Schemas > Output shows a png output type.

When using the api, I observe a jpeg image.

Expected

API Schemas > Output should show image/jpeg.

Affected Page

https://developers.cloudflare.com/workers-ai/models/stable-diffusion-xl-lightning/#API%20Schemas

Metadata

Metadata

Labels

product:workers-aiWorkers AI: https://developers.cloudflare.com/workers-ai/

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions