I can provide YouTube video URLs as attachments; they are processed with media resolution low by default, adjustable to medium, high, or unspecified with -o media_resolution X.
I called Anthropic API support for public-facing image or document URLs a “pretty significant improvement” because it avoids carrying chunky base64-encoded images in JSON multiple times across a longer conversation thread.
I added support to my llm-anthropic plugin for passing a document URL directly to Anthropic’s API instead of downloading the file first.
llm install llm-anthropic
llm -m claude-3.7-sonnet 'extract text from this PDF' -a http/...URL-to-a-document.pdf
I described impressive results from running Claude against URLs to old newspaper PDFs on the Library of Congress and linked to notes on the implementation.
I shared that URL Context was now available in the llm-gemini plugin and pointed readers to details.
I shared a Bash script, which I described as “a Bash script I've been using to run prompts through it with images and PDFs,” for people with a Google Gemini API key.
I described a feature where gpt-4o-can-generate-native-multi-modal-image-input-now, while joking that I did not know what it was called.
I said an item was “the closest we've got yet to confirmation that it's in the API.”
I presented API availability as tentative rather than confirmed, and referred to two links in the thread.
The post continued a thread and was addressed to @TheRealAdamG.
I was discussing native multimodal image input through an API, rather than reporting a definitive API release.
The exchange was dated 2025-04-26 01:22 UTC.
The feature’s formal name was not established in my wording.
I updated my llm-claude-3 plugin to support attaching PDF files to prompts using the LLM command-line tool.
llm install llm-claude-3 --upgrade
llm -m claude-3.5-sonnet 'extract text' -a mydoc.pdf
I used LLM’s new “attachments” feature, which I had added a few days earlier, to support PDFs; the feature also supports images for Claude and GPT-4o; audio and video files for Google Gemini.
I have asked practical questions about how text, images, and API access work when using multimodal and other language-model services.
I asked whether there is a general consensus on which of those should come first when sending an image with a text prompt to various multimodal models.
I framed the ordering question around a Python function, def call_llm(prompt: str, image: Image):, and compared text-then-image with image-then-text message content.
I shared a link under the title “Calling LLMs from client-side JavaScript, converting PDFs to HTML + weeknotes”: https://t.co/BhqOrNv4AV.
I asked, “Do you have a working API key for the Google Gemini API?”
Related: mistral vision models, gemini api and tools, llm apis and tool calling