upload_image
Upload images to Google Files API for use as reference, first, or last frames in video generation. Returns a reusable file URI for 48 hours.
Instructions
Upload an image to Google Files API for use as reference, first frame, or last frame in video generation. Returns a fileUri that can be reused for 48 hours. This is the most token-efficient way to pass images to video generation.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source type: 'url' to download from web, 'file_path' for local file | |
| url | No | URL to download (if source='url') | |
| filePath | No | Local file path (if source='file_path') | |
| displayName | No | Optional display name for the uploaded file |