Stability-AI / rest-api-support

Stability REST API examples, issues, and discussions | https://api.stability.ai
107 stars 21 forks source link

REST API reference docs (openapi.json) incorrect #38

Open nomagick opened 9 months ago

nomagick commented 9 months ago

https://platform.stability.ai/docs/api-reference#tag/v1generation/operation/textToImage

In your reference doc, you specified the success response to be

CleanShot 2023-09-18 at 18 21 30@2x

Which is an array of objects directly.

However, the actual response is an object with an array named artifacts. CleanShot 2023-09-18 at 18 22 55@2x