提交单片段视频
pavo_script_submit_segment_videoSubmits a validated segment video generation task for a script episode, checking model, resolution, style, aspect ratio, keyframes, and segment duration before saving the new task ID.
Instructions
消耗额度,须用户已授权模型参数和费用。显式模型、分辨率、style_id或custom_style_prompt、expected_ratio;比例只核项目,原生请求无独立ratio字段。核实时segment_video模型和段总时长、已选关键帧;只调用已核single_frame视频合同,保存唯一真实新task_id。不调用Pavo生图。UNKNOWN禁止重投;重生成须regenerate且旧任务为已核终态。
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>",
"model_code": "<model_code>",
"resolution": "<resolution>",
"expected_ratio": "<expected_ratio>",
"style": "<style>",
"expected_sha256": "<expected_sha256>",
"operation_id": "<operation_id>"
},
"name": "pavo_script_submit_segment_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | Yes | ||
| episode_id | Yes | ||
| model_code | Yes | ||
| project_id | Yes | ||
| regenerate | No | ||
| resolution | Yes | ||
| segment_id | Yes | ||
| operation_id | Yes | ||
| expected_ratio | Yes | ||
| expected_sha256 | Yes | ||
| reference_image_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||