Generate a video
generate_videoUse when the user asks for a new AI video from a text description. Spends credits from the user's AI Video GT account (quote the price with estimate_cost first) and waits until the clip is ready, usually 10 seconds to 3 minutes, then returns its URL. If the call times out, find the result with list_generations. Failed generations are refunded automatically. Needs the user's AI Video GT account: sign-in (OAuth) or a Developer API key sent as Authorization: Bearer vgt_....
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": {
"model": "<model>",
"prompt": "<prompt>"
},
"name": "generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Video model id from list_models. | |
| prompt | Yes | The shot to make: subject, action, setting, camera, light and any sound. | |
| duration | No | Clip length in seconds, one of the model's durations. Defaults to the shortest. | |
| resolution | No | One of the model's resolutions, e.g. 720p. Defaults to the lowest. | |
| aspect_ratio | No | One of the model's aspect ratios, e.g. 16:9 or 9:16. Defaults to the first. |