Remix.run Logo
jstanley 6 days ago

> CADAM uses ngrok to send image URLs to Anthropic

FYI you can send base64 encoded PNGs, no need to mess about with ngrok.

adenta 6 days ago | parent | next [-]

Yeah, the idea sounds magic, but there’s a lot of weird things going on in this application

I feel like a standalone script would be much more helpful

zachdive 6 days ago | parent [-]

i agree

simlevesque 6 days ago | parent | prev [-]

That'll use way more tokens.

jacobr1 6 days ago | parent [-]

No, the tokens are evaluated on the image itself, once downloaded and resized. The same image sent as an encoded text payload and as url will cost the same. Now, if you are sending the content the model as a text payload, then that would cost text tokens, but that doesn't work very well for non-trivial images.