Veo 3.1 API
$0.06-$0.24/sec /second
Developer-ready API access
Create cinematic videos with , the latest Veo AI API built on the Veo 3 architecture. Experience sharper realism, smoother motion, and richer audio fidelity - or revisit for the earlier model.
Pay-as-you-go access through PiAPI.
$0.06-$0.24/sec /second
Developer-ready API access
Capabilities from the production model page.
The Veo 3.1 API captures true-to-life textures, lighting, and physics for production-quality storyboarding and direction-driven storytelling powered by Veo AI.
Built on Veo 3, Veo 3.1 delivers better prompt adherence, accurately translating complex text and visual cues into context-aligned scenes for T2V and I2V generations.
With Veo AI API, creators can generate natural speech, ambient layers, and multi-speaker dialogue synchronized perfectly with visual output.
The Veo 3.1 API supports up to three reference images to guide generation, giving developers precise control over characters, objects, and visual style across scenes.
Extend clips to one minute or longer using the Veo 3.1 API, maintaining visual continuity and background audio, ideal for cinematic storytelling and long-form creative output.
Define exact start and end frames with the Veo AI API, ensuring smoother transitions and stronger narrative direction in every generated video.
Easily integrate new objects into scenes using the Veo AI API, while maintaining lighting, perspective, and photorealistic consistency.
An optimized version of Veo 3.1, the Veo 3.1 Fast API allows developers to create videos with sound while maintaining high quality and optimizing for speed, ideal for scalable, rapid creative workflows.
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Add credits on the billing page when you are ready to scale beyond the free tier.
POST your first task following the API docs, then poll the task until the result is ready.
Prototype prompts and settings in the the playground above before wiring them into your product.
curl -X POST 'https://api.piapi.ai/api/v1/task' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "veo3.1",
"task_type": "veo3.1-video",
"input": {
"prompt": "A cinematic shot of waves rolling onto a golden beach at sunset",
"duration": "8s",
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": false
}
}'
# → { "task_id": "9d5a…", "status": "pending" }curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'
# poll until status = completed
{
"data": {
"status": "completed",
"output": {
"video_url": "https://img.theapi.app/ephemeral/…"
}
}
}$ npm install -g piapi-cli $ piapi run veo-3-1 \ prompt="A cinematic shot of waves rolling onto a golden beach at sunset" \ duration=8s \ resolution=720p \ aspect_ratio=16:9 \ generate_audio=false ✓ Task completed! https://img.theapi.app/ephemeral/…
Google Veo 3.1 PiAPI, we offer a wide range of API services for creators and developers.
Use PiAPI's Google Veo API endpoints to submit prompts and receive generated videos. See Veo API Docs for details.
Veo 3.1 improves temporal consistency, cinematic lighting control, and physics-accurate motion, delivering lifelike realism and smoother frame coherence compared to earlier Veo AI models.
Yes, the duration and resolution parameters are configurable when calling the Veo 3.1 API for flexible generation control.
Yes, many teams use Veo AI for ads, trailers, and concept visualization. The Veo 3.1 API is optimized for scalable production workflows.
For Veo 3.1, we offer $0.24 per second for generations with audio and $0.12 per second for generations without audio. For Veo 3.1 Fast, we offer $0.09 per second for generations with audio and $0.06 per second for generations without audio.
Please refer to our NSFW policyfor more information and follow the guidelines.
More questions? See the API docs.