Skip to main content
⚠️ This documentation is for legacy custom API, not recommendedThe newer entry is Veo-3.1 Quick Start, but the Veo-3.1 legacy route has been temporarily unavailable since May 14, 2026.Pause new production integrations based on the legacy VEO custom API. If you need a currently available Veo 3.1 video route, use Veo 3.1 Official API Forwarding.

Three Steps to Generate Video

1

Submit video generation task

Call the submit interface using your API key
2

Record the returned task ID

System will return task information
3

Query generation result

Query status using task ID

Authentication Method

All API requests need to include a valid Bearer Token in the request header:
Security Reminder: Do not expose API keys in client-side code. It’s recommended to store them in server-side environment variables.

Basic Request Examples

Simple Text Generation

Generation with Reference Image

Handling Responses

Task Submitted Successfully

Video Generation Completed

Polling Recommendations

Recommended polling strategy:
  • Polling interval: 10-15 seconds
  • Maximum wait time: 30 minutes
  • Recommended to implement exponential backoff strategy

Next Steps

API Reference

View complete API documentation

Code Examples

View examples in more programming languages