Awesome new Anthropic API feature: you can now enable CORS support with a (currently undocumented) anthropic-dangerous-direct-browser-access: true request header - which means you can call their API directly from browser JavaScript now!
My notes here: https://simonwillison.net/2024/Aug/23/anthropic-dangerous-direct-browser-access/
I used it to upgrade my fun little Haiku app, which uses your webcam to take a photo and then writes a Haiku about it using the Claude Haiku model
https://tools.simonwillison.net/haiku