extract_frames
视频抽帧($0.05):从视频均匀抽 N 张关键帧 JPG(可指定画幅)。用于选封面/做缩略图/分镜参考。零 API 成本。
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": {
"input": "<input>"
},
"name": "extract_frames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | 抽几张,1-30,默认 6 | |
| input | Yes | 视频文件路径(本机)或先用 upload_asset 上传 | |
| ratio | No | 可选统一画幅 |