Also, I’ve already tried to provide URLs for chat API. However, this is the kinda of issue I get from Vercel:
1Request:2 POST https://ai-gateway.vercel.sh/v1/chat/completions3 {"messages":[{"role":"system","content":"User local date is Monday, September 29, 2025 (timezone is America/Sao_Paulo)"},{"role":"user","content":[{"type":"text","text":"o que você vê nessa imagem?"},{"type":"image_url","image_url":{"url":"https://preview-s01.proj.pw/api/v1/public/ext-res/c9700b3649cc2200c125dd6d600a85b5b1ab3fc5","media_type":"image/jpeg"}}]}],"model":"amazon/nova-lite","stream":true,"stream_options":{"include_usage":true}}4InferenceException:5 'File URL data' functionality not supported.6Status:7 400 Bad Request
With some models it works fine, like Gemini 2.0 Flash. I’ve tried with Grok 4, Amazon Nova Lite and Claude 3.5 Haiku, no success at all. Only works when sending images on base64 contents.