Upload an image from a link
upload_imageBring an image into the account from a public https address (PNG, JPEG or WebP, up to 4 MB), so an edit’s AI shots (photo_ids of create_edit), a generate call or a product can use it. Free. Answers with its asset id.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https address of the image |