google · Google AI Docs
Generate videos with Veo 3.1 in Gemini API
Teaches how to use the Veo 3.1 model within the Gemini API to generate video content from text prompts.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Generate videos with Veo 3.1 in Gemini API
Teaches how to use the Veo 3.1 model within the Gemini API to generate video content from text prompts.
When To Use
Use when you need to programmatically generate video content from text descriptions using the Gemini API and Veo 3.1 model.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/gemini-api-generate-videos-with-veo-3-1-in-workflow-guide.md | A guide detailing how to generate high-fidelity videos using the Veo 3.1 model within the Gemini API. | Questions about a guide detailing how to generate high-fidelity videos using the Veo 3.1 model within the Gemini API. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-python-gen.text | A Python code example demonstrating how to use the Gemini API to generate videos using the Veo 3.1 model. | Exact payloads, commands, or snippets shown in A Python code example demonstrating how to use the Gemini API to generate videos using the Veo 3.1 model. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-generate-v.text | A Node.js code example demonstrating how to use the GoogleGenAI SDK to generate video previews using the Veo 3.1 model. | Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to use the GoogleGenAI SDK to generate video previews using the Veo 3.1 model. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene.text | A Go program demonstrating how to use the Gemini API to generate video content using the Veo 3.1 model. | Exact payloads, commands, or snippets shown in A Go program demonstrating how to use the Gemini API to generate video content using the Veo 3.1 model. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-generate-v-2.text | A Java code example demonstrating how to use the Gemini API to generate a video from a text prompt using the Veo 3.1 model. | Exact payloads, commands, or snippets shown in A Java code example demonstrating how to use the Gemini API to generate a video from a text prompt using the Veo 3.1... |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-generate-v-3.text | A bash script using curl to trigger a long-running video generation operation with the Veo 3.1 model in the Gemini API. | Exact payloads, commands, or snippets shown in A bash script using curl to trigger a long-running video generation operation with the Veo 3.1 model in the Gemini API. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-2.text | A Python code example demonstrating how to use the Gemini API to generate videos using the Veo 3.1 model with a text prompt. | Exact payloads, commands, or snippets shown in A Python code example demonstrating how to use the Gemini API to generate videos using the Veo 3.1 model with a text... |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-3.text | A Node.js code example demonstrating how to use the GoogleGenAI SDK to generate video content using the Veo 3.1 model. | Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to use the GoogleGenAI SDK to generate video content using the Veo 3.1 model. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-4.text | A Go program demonstrating how to use the Gemini API to generate video content using the Veo 3.1 model with a specific text prompt. | Exact payloads, commands, or snippets shown in A Go program demonstrating how to use the Gemini API to generate video content using the Veo 3.1 model with a specifi... |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-5.text | A bash script using curl to trigger a long-running video generation operation with the Veo 3.1 model in the Gemini API. | Exact payloads, commands, or snippets shown in A bash script using curl to trigger a long-running video generation operation with the Veo 3.1 model in the Gemini API. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-python-gen-2.text | A Python code example demonstrating how to use the Gemini API to generate a video using the Veo 3.1 model. | Exact payloads, commands, or snippets shown in A Python code example demonstrating how to use the Gemini API to generate a video using the Veo 3.1 model. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-generate-v-4.text | A Node.js code example demonstrating how to use the Gemini API to generate video previews using the Veo 3.1 model. | Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to use the Gemini API to generate video previews using the Veo 3.1 model. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-6.text | A Go program demonstrating how to use the Gemini API to generate video content using the Veo 3.1 model. | Exact payloads, commands, or snippets shown in A Go program demonstrating how to use the Gemini API to generate video content using the Veo 3.1 model. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-7.text | A bash script using curl to trigger a long-running video generation operation with the Veo 3.1 model in the Gemini API. | Exact payloads, commands, or snippets shown in A bash script using curl to trigger a long-running video generation operation with the Veo 3.1 model in the Gemini API. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-image-to-v.text | A Python code example demonstrating how to generate a video using Veo 3.1 by first generating an image with Gemini 3.1 Flash. | Exact payloads, commands, or snippets shown in A Python code example demonstrating how to generate a video using Veo 3.1 by first generating an image with Gemini 3.... |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-8.text | A Node.js code example demonstrating how to generate a video using Veo 3.1 by passing a prompt and an image to the Gemini API. | Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to generate a video using Veo 3.1 by passing a prompt and an image to the Ge... |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-9.text | A Go program demonstrating how to use the Gemini API to generate videos using the Veo 3.1 model. | Exact payloads, commands, or snippets shown in A Go program demonstrating how to use the Gemini API to generate videos using the Veo 3.1 model. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-generate-v-5.text | A Java code example demonstrating how to use the Gemini API to generate a video from an existing image using the Veo 3.1 model. | Exact payloads, commands, or snippets shown in A Java code example demonstrating how to use the Gemini API to generate a video from an existing image using the Veo... |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-10.text | A Python code example demonstrating how to use the Gemini API to generate videos using the Veo 3.1 model with a specific text prompt. | Exact payloads, commands, or snippets shown in A Python code example demonstrating how to use the Gemini API to generate videos using the Veo 3.1 model with a speci... |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-11.text | A Node.js code example demonstrating how to use the GoogleGenAI SDK to generate videos using the Veo 3.1 model with a specific text prompt. | Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to use the GoogleGenAI SDK to generate videos using the Veo 3.1 model with a... |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-12.text | A Go program demonstrating how to use the Gemini API to generate videos using the Veo 3.1 model with a specific text prompt. | Exact payloads, commands, or snippets shown in A Go program demonstrating how to use the Gemini API to generate videos using the Veo 3.1 model with a specific text... |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-13.text | A shell script using curl to send a video generation request to the Gemini API and parse the operation name using jq. | Exact payloads, commands, or snippets shown in A shell script using curl to send a video generation request to the Gemini API and parse the operation name using jq. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-14.text | A Python code example demonstrating how to use the Gemini API to generate cinematic videos using the Veo 3.1 model. | Exact payloads, commands, or snippets shown in A Python code example demonstrating how to use the Gemini API to generate cinematic videos using the Veo 3.1 model. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-15.text | A Node.js code example demonstrating how to use the GoogleGenAI SDK to generate cinematic videos using the Veo 3.1 model. | Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to use the GoogleGenAI SDK to generate cinematic videos using the Veo 3.1 mo... |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-16.text | A Go program demonstrating how to use the Gemini API to generate cinematic videos using the Veo 3.1 model. | Exact payloads, commands, or snippets shown in A Go program demonstrating how to use the Gemini API to generate cinematic videos using the Veo 3.1 model. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-17.text | A bash script using curl and jq to send video generation requests to the Gemini API using Veo 3.1. | Exact payloads, commands, or snippets shown in A bash script using curl and jq to send video generation requests to the Gemini API using Veo 3.1. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-python-gen-3.text | A Python script demonstrating how to use the Gemini API to generate video content using the Veo 3.1 model. | Exact payloads, commands, or snippets shown in A Python script demonstrating how to use the Gemini API to generate video content using the Veo 3.1 model. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-18.text | A Node.js code example demonstrating how to use the Gemini API to generate videos with the Veo 3.1 model. | Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to use the Gemini API to generate videos with the Veo 3.1 model. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-19.text | A Go program demonstrating how to use the Gemini API to generate videos using the Veo 3.1 model with a specific text prompt. | Exact payloads, commands, or snippets shown in A Go program demonstrating how to use the Gemini API to generate videos using the Veo 3.1 model with a specific text... |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-20.text | A bash script using curl to send a request to the Gemini API for video generation with Veo 3.1 and parsing the operation name using jq. | Exact payloads, commands, or snippets shown in A bash script using curl to send a request to the Gemini API for video generation with Veo 3.1 and parsing the operat... |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-python-gen-4.text | A Python code example demonstrating how to initiate a video generation job using the Veo 3.1 model via the Gemini API and manage the resulting operation object. | Exact payloads, commands, or snippets shown in A Python code example demonstrating how to initiate a video generation job using the Veo 3.1 model via the Gemini API... |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-generate-v-6.text | A Node.js code example demonstrating how to use the GoogleGenAI SDK to initiate video generation with the Veo 3.1 model. | Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to use the GoogleGenAI SDK to initiate video generation with the Veo 3.1 model. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-generate-v-7.text | A Go program demonstrating how to use the Gemini API to initiate a video generation job with the Veo 3.1 model. | Exact payloads, commands, or snippets shown in A Go program demonstrating how to use the Gemini API to initiate a video generation job with the Veo 3.1 model. |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-generate-v-8.text | A Java code example demonstrating how to use the Gemini API to initiate a video generation job with the Veo 3.1 model and poll for the operation status. | Exact payloads, commands, or snippets shown in A Java code example demonstrating how to use the Gemini API to initiate a video generation job with the Veo 3.1 model... |
examples/gemini-api-generate-videos-with-veo-3-1-in-gemini-api-veo-3-1-video-gene-21.text | A bash script using curl to trigger a long-running video generation operation with the Veo 3.1 model in the Gemini API. | Exact payloads, commands, or snippets shown in A bash script using curl to trigger a long-running video generation operation with the Veo 3.1 model in the Gemini API. |
What This Skill Covers
- Generate videos with Veo 3.1 in Gemini API
- Main sections:
Text to video generation,Python,JavaScript,Go,Java.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://ai.google.dev/gemini-api/docs/video
