I have a Zap set up that triggers the OpenAI API to generate images, but the problem is that the response only comes back as a base64-encoded string.
I’ve been able to work around this by running the base64 through a Google Apps Script that uploads the image to Google Drive, but it’s not very efficient.
The main issue is that the base64 string is just too large to handle inside a Zapier code step or embedding it dreictly causes timeouts or errors.
I’m wondering if there’s a better way to decode or host the image. If anyone’s run into this before or has suggestions on a cleaner way to handle the image output, I’d really appreciate the help.
Thanks in advance!