generate_video
Generate AI videos from a text prompt with control over model, duration, resolution, and aspect ratio.
Instructions
Generate an AI video with LemGen. Requires LEMGEN_API_TOKEN. Videos are slow and should only be called after explicit user confirmation.
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": {
"prompt": "<prompt>"
},
"name": "generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | ||
| wait | No | ||
| model | No | Seedance | |
| prompt | Yes | ||
| duration | No | ||
| promptId | No | ||
| resolution | No | 720p | |
| aspectRatio | No | 自动 | |
| timeoutSeconds | No | ||
| referenceImages | No | ||
| referenceVideos | No |