关联已上传媒体到片段
pavo_script_attach_segment_mediaAttaches uploaded image or video to a script segment's media slot by verifying fingerprint, preserving script text and other media without generating new content.
Instructions
将已上传HTTPS图片/视频沿原生media/upload存历史,再select并回读槽位;image用segment_keyframe,video用segment_video且须明确first_frame_url。核最新media指纹,保护脚本文字和其它媒体。不生图、不生成视频;部分成功保持UNKNOWN,禁止换号重投。
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": {
"project_id": "<project_id>",
"episode_id": "<episode_id>",
"segment_id": "<segment_id>",
"media_type": "<media_type>",
"url": "<url>",
"expected_sha256": "<expected_sha256>",
"operation_id": "<operation_id>"
},
"name": "pavo_script_attach_segment_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| episode_id | Yes | ||
| media_type | Yes | ||
| project_id | Yes | ||
| segment_id | Yes | ||
| operation_id | Yes | ||
| thumbnail_url | No | ||
| expected_sha256 | Yes | ||
| first_frame_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||