I am making an app that involves interacting with the stability ai api to generate images. (I cannot use the Imagebot component as openAI cannot be used in my region)
I used the above blocks to send a request to the api. However, every time a request is attempt, an error occurs, stating that the request is unable to be completed.
I have tried the access the same api through python, and it worked perfectly.
Any solution or suggestions will be highly apprieciated. Thank you!