Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
PORT | No | Server port | 3000 |
LOG_LEVEL | No | Logging level (available levels: verbose, debug, info, warn, error, fatal, none) | fatal |
STORAGE_DIR | No | Directory for storing generated videos | ./generated-videos |
GOOGLE_API_KEY | Yes | Your Google API key with access to Gemini API and Veo2 model |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
video-templates | Example prompts for generating videos with Veo2 |
image-templates | Example prompts for generating images with Google Imagen |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
generateVideoFromText | Generate a video from a text prompt |
generateVideoFromImage | Generate a video from an image |
generateImage | Generate an image from a text prompt using Google Imagen |
generateVideoFromGeneratedImage | Generate a video from a generated image (one-step process) |
listGeneratedVideos | List all generated videos |
getImage | Get a specific image by ID |
listGeneratedImages | List all generated images |