curl --request POST \
--url https://api.poyo.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
Lite, fast, and high-quality video generation with Google’s VEO 3.1
POST
/
api
/
generate
/
submit
curl --request POST \
--url https://api.poyo.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 lite, fast, or high-quality videos with Google’s VEO 3.1 model. All models support text-to-video.veo3.1-fast and veo3.1-quality also support image-to-video.
Available Models
- veo3.1-fast - Fast 8-second generation
- veo3.1-lite - Lite 8-second generation
- veo3.1-quality - High-quality 8-second generation
Duration Options
- All VEO 3.1 models on this page - 8 seconds
Key Features
- Asynchronous processing that returns a
task_idfor status tracking - All models support text-to-video
veo3.1-fastandveo3.1-qualitysupport image-to-video- 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-to-video (three images)- If omitted, inferred by
image_urlscount: 2 images forframe, 3 images forreference veo3.1-qualitydoes not supportreferencemodeveo3.1-litedoes not support this parameter; do not passgeneration_type
Image URLs
- Reference image URLs for image-to-video generation on supported models
- 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
veo3.1-litedoes not support this parameter; do not passimage_urls
Resolution
720p(default),1080p, or4k
Pricing
Pricing varies by model and resolution. See the model page for current credit rates.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 PoYo_API_KEY
Body
application/json
