get_upload_link
Get a one-use link to upload ONE photo of the user (jpeg, png, heic or webp, 10 MB at most). Use it whenever the user has a photo that is not a public https link, for example one attached to this chat. With a shell (Claude Code, Cowork): run the returned curl command with the photo path. Without a shell (Claude on the web or the phone): give the user the returned upload_page link; they open it, choose the photo and tell you when it is uploaded. Then pass the returned photo_url as image_url (generate_video) or reference_image_url (generate_image). The link works once and expires in 15 minutes. Free; it spends no coins.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_upload_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content_type | No | Type of the photo to upload. Default image/jpeg. |