Upload an image
upload_imageUpload a PNG/JPEG up to 10 MB from a local path or public HTTPS URL to get an upload_id and signed URL for Clipwright video ads.
Instructions
An upload_id and a signed url for a PNG or JPEG up to 10 MB, from a local path (local server only) or a public https url (up to 20 seconds and 3 redirects). The url is signed for 24 hours; the upload_id lasts 365 days. Set aspect_ratio to match the picture. Remote server and a file on disk: create_upload. Free; 20 uploads per day, at most 30 url downloads per hour.
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": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| path | No |