Generate video
generate_videoPROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. Generate a VIDEO clip with AI — real moving footage — from a text prompt, or animate an existing image by passing from_image_asset_key (a generated or uploaded image's storage_key). The clip is saved as a project asset; it reaches the program ONLY after add_overlay (replace picture, preserve audio/time) or insert_media (add time). It creates NEW animation from a reference, not an identity-safe retargeting of existing video motion. Inspect the result and disclose this distinction. This is the tool for 'make me a video of X' / 'bring this photo to life'. It is SLOW (tens of seconds to a few minutes) and costs credits per second, so use it deliberately. duration_s ~5s is typical.
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>",
"project_id": "<project_id>"
},
"name": "generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| duration_s | No | ||
| project_id | Yes | Explicit project identifier for this request. The connection's navigation pointer does not select the target. | |
| from_image_asset_key | No |