About Veo 3.1
Veo 3.1 is Google's video generation model. It excels at generating high-fidelity videos with native synchronized audio, including dialogue, sound effects, and ambient noise, along with improved narrative control and scene consistency over prior versions.
Some other noteworthy features of Veo 3.1 include image-to-video animation from a first-frame image, strong prompt adherence, and legible on-screen text.
Ready to build with Veo 3.1?
Try Veo 3.1 in the Workbench to prompt it, compare outputs, and iterate on prompts without writing any code. When you're ready to ship, call the same model from our API and build your own apps on top of it.
curl -sSf -X POST https://hub.oxen.ai/api/ai/videos/generate \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OXEN_API_KEY" \
-d '{
"model": "google-veo-3-1",
"prompt": "A dog digging on the beach",
"aspect_ratio": "16:9",
"resolution": "1080p",
"duration": 8
}'Request parameters
Every field Veo 3.1 accepts in the request body. See the API reference for response formats.
POST
https://hub.oxen.ai/api/ai/videos/generate| Field | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | — | Text description of the video to generate, or how to animate the input image. |
input_image | stringuri | No | — | Optional first-frame image to animate (image-to-video). Leave empty to generate from the prompt alone. Must be jpeg, png, gif, or webp. |
aspect_ratio | string | No | "16:9" | 16:99:16 |
resolution | string | No | "1080p" | 720p1080p4k |
duration | integer | No | 8 | Range: 4 – 8 |