Home/Models/Google/Veo 3.1 Pro
G

Veo 3.1 Pro

每次請求:$2
Veo 3.1-Pro 指的是 Google 的 Veo 3.1 系列的高能力访问/配置——这一代短时长、支持音频的视频模型带来更丰富的原生音频、改进的叙事/剪辑控制以及场景扩展工具。
新
商用
Playground
概览
功能亮点
定价
API
版本

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.

常见问题

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.

Veo 3.1 Pro 的功能

了解 Veo 3.1 Pro 的核心能力,帮助提升性能与可用性,并改善整体体验。

Veo 3.1 Pro 的定价

查看 Veo 3.1 Pro 的竞争性定价,满足不同预算与使用需求,灵活方案确保随需求扩展。
Comet 价格 (USD / M Tokens)官方定价 (USD / M Tokens)折扣
每次請求:$2
每次請求:$2.5
-20%

Veo 3.1 Pro 的示例代码与 API

获取完整示例代码与 API 资源,简化 Veo 3.1 Pro 的集成流程,我们提供逐步指导,助你发挥模型潜能。
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}")

Veo 3.1 Pro 的版本

Veo 3.1 Pro 可能存在多个快照,原因包括:更新后保持一致性需要保留旧版、给开发者留出迁移窗口,以及全球/区域端点提供的优化差异。具体差异请参考官方文档。
version
veo3.1-pro

更多模型