Send images to vision models through the Anannas API.
Requests with images, to multimodal models, are available via the /chat/completions API with a multi-part messagesparameter. The image_url can either be a URL or a base64-encoded image. You can send multiple images by adding more content entries in the same message.
URLs are preferred for large files since they avoid payload bloat. Use base64 encoding when working with local or private files.
Anannas supports both direct URLs and base64-encoded data for images:
URLs: More efficient for publicly accessible images as they donโt require local encoding
Base64: Required for local files or private images that arenโt publicly accessible