upload_image
Upload a local image to COS and get a direct URL to use as a reference in video editing, without passing through a business server.
Instructions
把本地图片上传到我方 COS,返回 image_url(字节直传 COS、不过业务服务器)。用于给视频编辑当参考图,或先拿 URL 再登记。免费。
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": {
"file_path": "<file_path>"
},
"name": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | 默认 image;视频编辑的参考视频/音频可选 video/audio | |
| file_path | Yes | 本地图片绝对路径(jpg/png/webp) |