generate_video
Generate a video from a text description using AI. Optionally provide an image to use as the first frame.
Instructions
Generate a video from a text prompt using AI. Optionally provide an image as the first frame. Available providers: none configured
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the video to generate | |
| provider | No | Provider to use: openai, xai, google. Auto-selects if omitted. | |
| duration | No | Video duration in seconds (provider limits apply) | |
| aspectRatio | No | Aspect ratio: 16:9, 9:16, 1:1 | |
| resolution | No | Resolution: 480p, 720p, 1080p | |
| imagePath | No | Path to an image to use as the first frame of the video (OpenAI and Google only) | |
| outputDirectory | No | Directory to save the generated file. Supports absolute or relative paths (resolved from cwd). Defaults to MEDIA_OUTPUT_DIR env var or cwd. | |
| providerOptions | No | Provider-specific parameters passed through directly |