Home/Models/Google/Veo 3.1 Pro
G

Veo 3.1 Pro

Per Request:$2
Veo 3.1-Pro refers to the high-capability access/configuration of Google’s Veo 3.1 family — a generation of short-form, audio-enabled video models that add richer native audio, improved narrative/editing controls and scene-extension tools.
New
Commercial Use
Playground
Overview
Features
Pricing
API
Versions

Veo 3.1-Pro refers to the high-capability access/configuration of Google’s Veo 3.1 family — a generation of short-form, audio-enabled video models that add richer native audio, improved narrative/editing controls and scene-extension tools; the “Pro” label is commonly used to indicate higher access or quality tiers in Google’s subscription and product ecosystem rather than to denote a radically different public architecture.

How to access Veo 3.1 Pro API

Step 1: Sign Up for API Key

Log in to cometapi.com. If you are not our user yet, please register first. Sign into your CometAPI console. Get the access credential API key of the interface. Click “Add Token” at the API token in the personal center, get the token key: sk-xxxxx and submit.

Step 2: Send Requests to Veo 3 Pro API

Select the “\veo3.1-pro \” endpoint to send the API request and set the request body. The request method and request body are obtained from our website API doc. Our website also provides Apifox test for your convenience. Replace <YOUR_API_KEY> with your actual CometAPI key from your account. base url is Veo3 Async Generation(https://api.cometapi.com/v1/videos).

Insert your question or request into the content field—this is what the model will respond to . Process the API response to get the generated answer.

Step 3: Retrieve and Verify Results

Process the API response to get the generated answer. After processing, the API responds with the task status and output data.

To learn more about Veo3.1, please see the Veo3.1 page.

FAQ

Can Veo 3.1 Pro generate videos with synchronized audio?

Yes, Veo 3.1 Pro features native audio generation that produces integrated dialogue, ambient sounds, and sound effects automatically synchronized with the visual timeline.

What is the maximum video length and resolution supported by Veo 3.1 Pro API?

Veo 3.1 Pro supports video generation up to approximately 60 seconds in 1080p resolution with multi-prompt sequences for narrative continuity.

How does Veo 3.1 Pro handle scene extension and interpolation?

Veo 3.1 Pro offers Scene Extension mode and First/Last Frame capabilities to extend footage or interpolate content between key frames, enabling longer narrative sequences.

When should I use Veo 3.1 Pro instead of standard Veo 3.1?

Choose Veo 3.1 Pro for high-capability video generation requiring enhanced narrative controls, native audio integration, and advanced scene-extension tools—it represents the premium tier of the Veo 3.1 family.

Does Veo 3.1 Pro API support object manipulation in generated videos?

Yes, Veo 3.1 Pro allows object insertion within the Flow interface, with object removal and editing features planned for future updates.

What is the enhance_prompt parameter in Veo 3.1 Pro API?

The enhance_prompt parameter automatically improves your input prompt for better video generation results by optimizing narrative structure and visual descriptions.

How does the Veo 3.1 Pro API handle asynchronous video generation?

Veo 3.1 Pro uses an async task-based workflow where you create a generation task, receive a task_id, then poll the /query endpoint to check status and retrieve the video_url when completed.

Features for Veo 3.1 Pro

Explore the key features of Veo 3.1 Pro, designed to enhance performance and usability. Discover how these capabilities can benefit your projects and improve user experience.

Pricing for Veo 3.1 Pro

Explore competitive pricing for Veo 3.1 Pro, designed to fit various budgets and usage needs. Our flexible plans ensure you only pay for what you use, making it easy to scale as your requirements grow. Discover how Veo 3.1 Pro can enhance your projects while keeping costs manageable.
Comet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
Per Request:$2
Per Request:$2.5
-20%

Sample code and API for Veo 3.1 Pro

Access comprehensive sample code and API resources for Veo 3.1 Pro to streamline your integration process. Our detailed documentation provides step-by-step guidance, helping you leverage the full potential of Veo 3.1 Pro in your projects.
Python
Curl
import os
import requests
import json

# Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/v1"

headers = {
    "Authorization": COMETAPI_KEY,
}

# ============================================================
# Step 1: Download Reference Image
# ============================================================
print("Step 1: Downloading reference image...")

image_url = "https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1280"
image_response = requests.get(image_url)
image_path = "/tmp/veo3.1-pro_reference.jpg"
with open(image_path, "wb") as f:
    f.write(image_response.content)
print(f"Reference image saved to: {image_path}")

# ============================================================
# Step 2: Create Video Generation Task (form-data with image upload)
# ============================================================
print("
Step 2: Creating video generation task...")

with open(image_path, "rb") as image_file:
    files = {
        "input_reference": ("reference.jpg", image_file, "image/jpeg"),
    }
    data = {
        "prompt": "A breathtaking mountain landscape with clouds flowing through valleys, cinematic aerial shot",
        "model": "veo3.1-pro",
        "size": "16x9",
    }
    create_response = requests.post(
        f"{BASE_URL}/videos", headers=headers, data=data, files=files
    )

create_result = create_response.json()
print("Create response:", json.dumps(create_result, indent=2))

task_id = create_result.get("id")
if not task_id:
    print("Error: Failed to get task_id from response")
    exit(1)
print(f"Task ID: {task_id}")

# ============================================================
# Step 3: Query Task Status
# ============================================================
print("
Step 3: Querying task status...")

query_response = requests.get(f"{BASE_URL}/videos/{task_id}", headers=headers)
query_result = query_response.json()
print("Query response:", json.dumps(query_result, indent=2))

task_status = query_result.get("data", {}).get("status")
print(f"Task status: {task_status}")

Versions of Veo 3.1 Pro

The reason Veo 3.1 Pro has multiple snapshots may include potential factors such as variations in output after updates requiring older snapshots for consistency, providing developers a transition period for adaptation and migration, and different snapshots corresponding to global or regional endpoints to optimize user experience. For detailed differences between versions, please refer to the official documentation.
version
veo3.1-pro

More Models