How I Write <img> Alt Tags for This Blog
llm 'Write an alt tag for this image' -a xyz.gif
I use the llm CLI tool and cycle through different vision-capable models until I get an answer I like. At some point I will probably automate this as part of the build step of the blog, but the novelty of trying out the various different models far outweighs any annoyance for now. I was surprised they all handled animated GIFs without complaints, although they may just be pulling a single (or a few) frames.
The price of that query with GPT-4o? $0.0023 - that is, one half of one half of one penny.