Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/gemini-api-generate-videos-with-veo-3-1-in-workflow-guide.mdA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. 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