Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.xingchaoyiqing.com/llms.txt

Use this file to discover all available pages before exploring further.

After you create a VEO video generation task, use this endpoint to check its status and retrieve the download URL once generation is complete. Pass the id returned by the Create Video Task endpoint as the path parameter, and keep polling until status is "completed" or "failed".
VEO video generation is asynchronous. All output videos have a fixed duration of 8 seconds, regardless of the model or input parameters used.

Endpoint

Base URL:  https://zcbservice.aizfw.cn/kyyReactApiServer
Endpoint:  GET /v1/result/{id}
Full URL:  https://zcbservice.aizfw.cn/kyyReactApiServer/v1/result/{id}
All requests must include your API key as a Bearer token:
Authorization: Bearer YOUR_API_KEY

Path Parameters

id
string
required
The unique task identifier returned by the Create Video Task endpoint (e.g. vgen_abc123def456).

Response Fields

id
string
Unique identifier of the video generation task.
object
string
Object type. Always "video".
created
integer
Unix timestamp (seconds) of when the task was created.
model
string
The VEO model used for generation (e.g. "veo_3_1_fast").
status
string
Current task status:
  • queued — task is in the queue, waiting to be processed
  • processing — the VEO model is actively generating the video
  • completed — generation succeeded; video_url is populated
  • failed — generation failed; see error for details
video_url
string
A direct download URL for the generated MP4 video. Only present when status is "completed". The URL is valid for 24 hours — download and store the video before it expires.
actualDuration
number
The actual output duration of the video in seconds. VEO always produces 8-second videos. Only present when status is "completed".
error
string
Error message describing why the task failed. Only present when status is "failed".

Status Flow

StepStatusMeaning
1queuedTask created and added to the processing queue
2processingVEO model is generating the video
3completedVideo is ready; retrieve it via video_url
failedAn error occurred; inspect the error field

Polling Recommendations

Poll every 30–60 seconds. VEO generation is relatively fast, but still takes several minutes.
  • Stop polling as soon as status is "completed" or "failed".
  • Avoid polling more frequently than every 30 seconds to prevent rate limiting.

Generation Time Estimates

Generation ModeEstimated Time
Reference image mode~2–5 minutes
First/last frame mode~3–5 minutes

Video URL Notes

The video_url is valid for 24 hours after the task completes. Download and save the file to your own storage promptly — the URL cannot be recovered after expiry.
  • Format: MP4
  • Duration: fixed 8 seconds

Code Examples

curl --request GET \
  --url https://zcbservice.aizfw.cn/kyyReactApiServer/v1/result/vgen_abc123def456 \
  --header 'Authorization: Bearer YOUR_API_KEY'
Example response — processing:
{
  "id": "vgen_abc123def456",
  "object": "video",
  "created": 1761635478,
  "model": "veo_3_1_fast",
  "status": "processing",
  "video_url": null,
  "error": null
}
Example response — completed:
{
  "id": "vgen_abc123def456",
  "object": "video",
  "created": 1761635478,
  "model": "veo_3_1_fast",
  "status": "completed",
  "video_url": "https://cdn.example.com/videos/vgen_abc123def456.mp4",
  "actualDuration": 8,
  "error": null
}