curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "veo3.1-fast",
"callback_url": "https://your-domain.com/callback",
"input": {
"prompt": "Dolphins jumping in a bright blue ocean",
"duration": 8,
"aspect_ratio": "16:9"
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-1757165031-uyujaw3d",
"status": "not_started",
"created_time": "2025-11-12T10:30:00"
}
}{
"code": 400,
"error": {
"message": "Invalid request parameters",
"type": "invalid_request_error"
}
}{
"code": 401,
"error": {
"message": "Unauthorized - Invalid API key",
"type": "authentication_error"
}
}Google
VEO 3.1 Video Generation
Fast and high-quality 8-second video generation with Google’s VEO 3.1
POST
/
api
/
generate
/
submit
curl --request POST \
--url https://api.vidgo.ai/api/generate/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "veo3.1-fast",
"callback_url": "https://your-domain.com/callback",
"input": {
"prompt": "Dolphins jumping in a bright blue ocean",
"duration": 8,
"aspect_ratio": "16:9"
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-1757165031-uyujaw3d",
"status": "not_started",
"created_time": "2025-11-12T10:30:00"
}
}{
"code": 400,
"error": {
"message": "Invalid request parameters",
"type": "invalid_request_error"
}
}{
"code": 401,
"error": {
"message": "Unauthorized - Invalid API key",
"type": "authentication_error"
}
}- After submission, a
task_idwill be returned. If you provided acallback_url, when the task status becomesfinishedorfailed, a POST request will be sent to thecallback_url. - Regardless of whether
callback_urlis provided, you can retrieve the response result through the unified Query Task Status endpoint.
VEO 3.1 Video Generation
Generate fast or high-quality 8-second videos with Google’s VEO 3.1 model. Supports text-to-video and image-to-video generation.Available Models
- veo3.1-fast - Fast 8-second generation
- veo3.1-quality - High-quality 8-second generation
Duration Options
- 8 seconds - Fixed duration for all generations
Key Features
- Asynchronous processing that returns a
task_idfor status tracking - Supports text-to-video and image-to-video generation
- Supports up to 4k output resolution
- Generated video URLs are valid for 24 hours
Advanced Parameters
Generation Type
frame- Frame-to-video (two images)reference- Reference image video (three images)- If omitted, inferred by
image_urlscount: 2 images forframe, 3 images forreference
Image URLs
- Supports up to 3 images
- Frame mode: first image is the start frame, second image is the end frame
- Maximum file size: 10MB
- Supported formats: .jpeg, .jpg, .png, .webp
Resolution
720p(default),1080p, or4k
Authorizations
All API endpoints require Bearer Token authentication
Get your API Key:
Visit the API Key Management Page to get your API Key
Add it to the request header:
Authorization: Bearer VIDGO_API_KEY
Body
application/json