Hey guys 👋
I'm trying to implement imagine.art API which I found super fast and pretty decent text-to-image AI tool for my new app.
Using API call feature in FF and imagine.art documentation, I made everything required to test the call and received this:
Thing is, it doesn't return a json with a path URL to the image. It's returns PNG image in the body (confirmed with Postman).
I'm not sure what to do now, because FF API calls do not suppose to work with bytes to be returned, right?
My final aim is to get the prompt from user, provide the generated picture in UI, and create a document with this picture in Firebase (which supposes uploading to Storage as well i guess).
So, what might be a workaround to make it working, and what could be the most elegant way to solve this?
Any help! Thank you ✌️