Skip to main content

Options

string
required
Veo model id (use the identifier from the current Google Gemini API video / Veo documentation).
string
required
Google AI / Gemini API key (x-goog-api-key). Store as hidden.
string
Optional base URL; default https://generativelanguage.googleapis.com/v1beta/.
number
Optional flat cost per run (overrides token-based cost).
float
Cost per input token (per million) when operation metadata includes token counts.
float
Cost per output token (per million) when operation metadata includes token counts.

Arguments

string
required
Scene description.
string
16:9, 9:16, 1:1; default 16:9.
integer
Duration between 4 and 8 seconds, default 8.
string
720p or 1080p.
string
Content to avoid.
integer
If greater than 0, uses the latest chat image when present (image-to-video).

Prompt function