Share feedback, ideas and get community help

Updated 6 months ago

Image from AI - openAI or other integration

At a glance

The community member is asking how to get an image URL from an AI, as they don't see a good option in the OpenAI block to get the image URL back. They've tried converting image blobs/strings before, but it didn't work well. The comments suggest that there is no way to do this currently, and one community member has tracked the issue on GitHub. Another community member has solved the issue by sending the base64 image to imgbb to get a URL, but they are having issues with raw image data coming in with corrupted characters. They plan to reach out to the API creators about this issue.

Useful resources
Does anyone know how to get an image URL from an AI?

I don't really see a good option in the openAI block to get the image URL back.

I've tried conveting image blobs/strings before but it doesn't work great for me and I don't see a way to return that either but maybe I am misssing something.

Now, I have not learned to train an assistant yet so maybe that is the path I need to go down. But also, maybe there is something I am missing with openAI or maybe one of the other integrations gives me good image generation?

Thanks for any help!
B
g
4 comments
No way to do that for now
I solved this by sending the base64 image to imgbb and it gives me a jpg or png url.

BUT I'm having issues one of my other API calls returns RAW image data and it comes into tyepbot with a bunch of ? diamonds. I can't even send the data back out as it is corrupted or something because typebot can't read the special chars.

I am going to ask the api creators if they can return a URL to me, but they are on vacation until the end of the month.
Add a reply
Sign up and join the conversation on Discord