submit_generation
Starts a video generation task for a project node, requiring explicit user confirmation before spending credits. Returns only the task ID and rejects requests when the node is already running.
Instructions
提交生成任务(花积分)。每次都要用户单独确认:插件会弹确认框/确认窗口,用户点确认才提交。 同一节点已有任务在跑时直接拒绝。提交后只返回任务 ID,不会自动盯进度。
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": "<project>",
"node": "<node>"
},
"name": "submit_generation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | 要提交的视频节点(节点名或 ID) | |
| project | Yes | 项目名称或项目 ID(用 list_projects 查) | |
| confirm_code | No | 两步确认码。只有上一次调用返回了确认码、并且用户已经明确同意时才填;平时不要填 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||