Image upload with Anthropic API
-
Hello,
First of all, thank you for the plugin, it works fantastically!
However, I’ve been encountering a recurring issue with the Anthropic API, for which I haven’t found a solution, even after modifying the plugin.
When I send an image in a chat message, I receive the following API error message:
From Anthropic: messages.0.content.1.image.source: image exceeds 5 MB maximum: 6509824 bytes > 5242880 bytesThis is strange because the image is only 3.5 MB. I’ve tried converting the image before uploading (both in terms of size and format, as the issue occurs with the iPhone HEIF format and also with Android-based JPG files).
Could you help me with this?
Thank you and happy holidays in advance! ??
- You must be logged in to reply to this topic.