generate_video_script
Create a professional shooting script from any video. Analyze key frames to craft tailored scripts for commercials, documentaries, tutorials, or narratives with custom style, audience, and duration.
Instructions
基于视频内容生成专业拍摄脚本
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": {
"videoPath": "<videoPath>"
},
"name": "generate_video_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | 拍摄风格(默认:专业、吸引人) | 专业、吸引人 |
| prompt | No | 自定义脚本生成要求(可选) | |
| region | No | 腾讯云地域(可选,默认 ap-beijing) | ap-beijing |
| secretId | No | 腾讯云 SecretId(可选,优先使用环境变量 TENCENT_SECRET_ID) | |
| strategy | No | 帧提取策略 | keyframe |
| maxFrames | No | 最大分析帧数(默认5帧以控制成本) | |
| secretKey | No | 腾讯云 SecretKey(可选,优先使用环境变量 TENCENT_SECRET_KEY) | |
| videoPath | Yes | 视频文件路径 | |
| scriptType | No | 脚本类型:commercial(商业广告), documentary(纪录片), tutorial(教学), narrative(叙事), custom(自定义) | commercial |
| targetAudience | No | 目标受众(默认:一般观众) | 一般观众 |
| targetDuration | No | 目标脚本时长(秒) |