generate_video
Generates a video from a text prompt, verifies the credit cost against FLOW_MAX_COST, and saves the output to disk.
Instructions
Generate a video with Google Flow (Veo) and save it to disk. UNLIKE images, video COSTS CREDITS: it only runs when the FLOW_MAX_COST ceiling is raised above the quoted cost; otherwise it refuses before generating. Text-to-video from a prompt; pick an aspect (16:9 or 9:16).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aspect | No | Aspect ratio for the video. Flow's Veo supports 16:9 and 9:16. Defaults to 16:9. | 16:9 |
| prompt | Yes | Image description. In any language. | |
| out_dir | No | Destination folder. Defaults to FLOW_OUTPUT_DIR. | |
| basename | No | Base filename. Derived from the prompt by default. | |
| out_file | No | Output path. The extension decides the format. |