https://platform.stability.ai/docs/api-reference#tag/v1generation/operation/textToImage
In your reference doc, you specified the success response to be

Which is an array of objects directly.
However, the actual response is an object with an array named artifacts.
