图像生成视频(查询状态)
POST/api/v5/video/status
根据 requestId查询视频生成状态。
Request
Header Parameters
Authorization stringrequired
用户个人令牌
- application/json
Body
request_idstringrequired
请求ID
Example:
009522a671394f3f5ac02c63b1a62662Responses
- 200
Response Headers
- application/json
- Schema
- Example (auto)
- Example
Schema
request_idstring
请求ID(有效时长为 24h,请尽快获取结果)
statusstring
处理状态(running,failed,succeeded)
Example:
succeededvideo_urlstring
视频URL(仅成功返回,且有效时长为 10 分钟)
error_messagestring
错误信息(仅异常时出现)
{
"request_id": "string",
"status": "succeeded",
"video_url": "string",
"error_message": "string"
}
{
"request_id": "2600c2714f184f9087060b014fb2f7a3",
"status": "succeeded",
"video_url": "https://ai-inference-cdn-static.gitcode.com/video-2600c2714f184f9087060b014fb2f7a3-output.mp4?auth_key=1765510460-86c58596bd5944b1af78aa3587cfb902-0-44a97eda8e44774e561eaced4dd124865c7855ca2e251f3099b3ec3aea77c62b"
}