Retool Vision - invalid image format

Hi Retool forum,

I'm testing a new prototype using Retool AI, but I'm running into issues using Vision. When I use fileDropzone to upload a test image to test generating text of an image, the output returns an error "400 invalid image". I've tried different files types (e.g. png, jpg), different file sizes (e.g. 500kb to 5mb), and encoding then decoding the image, but I have not been able to get around this bug. Anyone experienced this before have an answer?


Hi @Willie_Zhou,

Thanks for reaching out! :thinking: we haven't been able to reproduce this one. Sounds like it was happening for a lot of different images, but any chance you can send an example image that isn't working?