image_to_video
Generate a video from an image post. Create a new post or reuse an existing one, with control over aspect ratio, duration, and resolution.
Instructions
Create or reuse an image post, then generate a video from it.
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": "image_to_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | custom | |
| extra | No | Optional payload fields merged into the Grok request. | |
| share | No | ||
| prompt | Yes | ||
| account | No | Optional Grok account name from cookies/<name>.json. Overrides cookies.json if provided. | |
| cookies | No | Optional Grok cookies. If omitted, server uses account or cookies.json. | |
| duration | No | ||
| image_url | No | ||
| resolution | No | 480p | |
| aspect_ratio | No | Examples: 16:9, 9:16, 1:1, 2:3, 3:2 | |
| parent_post_id | No |