generateVideoTool
Generate video to use in a post, in case the user specified a platform that requires attachment and attachment was not provided, ask if they want to generate a picture of a video. In many cases 'videoFunctionTool' will need to be called first, to get things like voice id Generating takes a few minutes, so this only starts the generation and returns a jobId: poll 'videoStatusTool' with it until the status is "completed" to get the video url. Here are the type of video that can be generated:
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": {
"identifier": "<identifier>",
"output": "<output>",
"customParams": "<customParams>"
},
"name": "generateVideoTool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | ||
| identifier | Yes | ||
| customParams | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| jobId | No |