Image generation is not available in your country

Hi @JayOh,

ah yeah indeed! The Gemini API returns the image as base64 string whereas the Google Drive API expects binary data. That’s why you need to convert it using an inline function (see screenshot).
Then it works flawlessly,

Best,
Richard

2 Likes