Skip to content

stable-diffusion-v1-5-inpainting example #22771

@thestarrypage

Description

@thestarrypage

Existing documentation URL(s)

https://developers.cloudflare.com/workers-ai/models/stable-diffusion-v1-5-inpainting/

input

curl https://api.cloudflare.com/client/v4/accounts/{{ACCOUNT_ID}}/ai/run/@cf/runwayml/stable-diffusion-v1-5-inpainting \ -X POST \ --header 'Authorization: Bearer {{CF_TOKEN}}' \ -d '{ "prompt": "cyberpunk cat" }'

output
{ "errors": [ { "message": "AiError: AiError: Model input is not valid: missing required input mask_image (6e843e5d-f3f0-48ab-a355-ebe33316d602)", "code": 3030 } ], "success": false, "result": {}, "messages": [] }

What changes are you suggesting?

Please provide a actual working curl command with required input mask_image (6e843e5d-f3f0-48ab-a355-ebe33316d602)

Additional information

No response

Metadata

Metadata

Labels

content:editRequest for content editsdocumentationDocumentation editsproduct: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