KyyVideo2 Query Video Task
Use the task ID to query the status and results of KyyVideo2 video generation tasks.
Authentication
All requests require a Bearer token in the request header:
Authorization: Bearer {{key}}
Path Parameters
Unique identifier for the video generation task, returned from the create task APIExample: video_fd35ee52-2a98-44a6-b930-29a88ce9b8fd
Response Parameters
Unique identifier for the video generation task
Object type, always video
Model name used (kyyvideo2, kyyvideo2_fast, kyyvideo2_pro, kyyvideo2_fast_pro)
Task status:
queued - Queued
processing - Processing
completed - Completed
failed - Failed
Generated video URL, returned when status is completed
Error message, returned when status is failed
Status Flow
queued
Task created and added to queue, waiting for processing
processing
Task is being processed, KyyVideo2 model is generating the video
completed
Task completed, video generated successfully, available via video_url
Polling Recommendations
Polling Strategy:
- Recommended polling interval: 20-40 seconds
- Fast models (kyyvideo2_fast, kyyvideo2_fast_pro) generate faster, can use shorter polling intervals
- Avoid overly frequent requests to prevent rate limiting
- Stop polling when status is
completed or failed
Important Notes:
- Generated video URLs are typically valid for 24 hours
- Download and save videos to your storage system promptly
- Videos cannot be accessed after URL expiration
- Video files are typically in MP4 format
- Depending on the
generateAudio parameter, videos may or may not contain audio
Generation Time Estimates
Standard Models
kyyvideo2 / kyyvideo2_proEstimated generation time: 2-5 minutes
Fast Models
kyyvideo2_fast / kyyvideo2_fast_proEstimated generation time: 1-3 minutes
Factors Affecting Generation Time:
- Video duration: Longer duration requires more generation time
- Model type: Fast models generate faster
- Reference materials: Using multimodal references (images, videos, audio) may increase processing time
- System load: Peak times may require longer queue times
Model Generation Speed Comparison
| Model | Average Generation Time | Use Case |
|---|
| kyyvideo2 | 2-5 minutes | Standard quality, supports reference videos |
| kyyvideo2_fast | 1-3 minutes | Fast generation, supports reference videos |
| kyyvideo2_pro | 3-6 minutes | High quality output |
| kyyvideo2_fast_pro | 2-4 minutes | High quality fast generation |
curl --request GET \
--url https://zcbservice.aizfw.cn/kyyReactApiServer/v1/result/video_fd35ee52-2a98-44a6-b930-29a88ce9b8fd \
--header 'Authorization: Bearer {{key}}'
{
"id": "video_fd35ee52-2a98-44a6-b930-29a88ce9b8fd",
"object": "video",
"created": 1774836724,
"model": "kyyvideo2_fast",
"status": "queued",
"video_url": null,
"error": null
}