vision changedbuild-with-claude/vision
Nearest release: v2.1.304, published under an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+9added
Lines−11removed
From line
538
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits13to this page, all time
The whole hunk
from line 538, old and new numbered
/
from line 538
538538<CodeGroup>
539539 ```bash cURL
540540 # First, upload your image to the Files API
541 FILE_ID=$(curl -sS -X POST https://api.anthropic.com/v1/files \
541 curl -sS -X POST https://api.anthropic.com/v1/files \
542542 -H "x-api-key: $ANTHROPIC_API_KEY" \
543543 -H "anthropic-version: 2023-06-01" \
544 -F "[email protected]" | jq -r '.id')
544 -F "[email protected]"
545545
546 # Then use the returned file_id in your message
546 # Then use the file_id from the upload response in your message
547547 curl https://api.anthropic.com/v1/messages \
548548 -H "x-api-key: $ANTHROPIC_API_KEY" \
549549 -H "anthropic-version: 2023-06-01" \
from line 577
577577 https://platform.claude.com/docs/images/vision-example.jpg
578578
579579 # First, upload your image to the Files API
580 FILE_ID=$(ant files upload \
581 --file ./vision-example.jpg \
582 --transform id --raw-output)
580 ant files upload \
581 --file ./vision-example.jpg
583582
584 # Then use the returned file_id in your message
585 ant messages create \
586 --transform content --format yaml <<YAML
583 # Then use the file_id from the upload response in your message
584 ant messages create <<YAML
587585 model: claude-opus-5-5
588586 max_tokens: 1024
589587 messages:
No line in this hunk matches that.