skip to Main Content

Stability.ai API returning error: cannot unmarshal object into Go struct field TextToImageRequestBody.text_prompts of type – PHP

I'm trying to use the Stability.ai API to generate Stable Diffusion AI images. I got my API key from https://beta.dreamstudio.ai/membership?tab=apiKeys I am following the textToImage docs here: https://api.stability.ai/docs#tag/v1alphageneration/operation/v1alpha/generation#textToImage I'm trying to use PHP / cURL to generate an Image using…

VIEW QUESTION
Back To Top
Search