跳转到主要内容
GET
/
kyyReactApiServer
/
v1
/
result
/
{id}
curl --request GET \
  --url https://zcbservice.aizfw.cn/kyyReactApiServer/v1/result/proj_sd2manxue_1234567890 \
  --header 'Authorization: Bearer {{key}}'
{
  "id": "proj_sd2manxue_1234567890",
  "object": "video",
  "created": 1761635478,
  "model": "sd2_manxue_1080p",
  "status": "processing",
  "video_url": null,
  "error": null
}

Documentation Index

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

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

Sd2 Manxue 查询视频任务

使用任务 ID 查询 sd2_manxue 视频生成任务的状态和结果。

认证

所有请求都需要在请求头中包含 Bearer token:
Authorization: Bearer {{key}}

基础 URL

https://zcbservice.aizfw.cn/kyyReactApiServer
baseUrl 为所有对外 API 的公共前缀。当前页面 frontmatter 中的 api 字段展示的是完整请求地址,请在接入时以这里的 baseUrl 为统一前缀理解和拼接接口路径。

路径参数

id
string
必填
视频生成任务的唯一标识符,从创建任务接口返回。
创建接口返回字段名为 projectId,查询时请将该值作为这里的 id 使用。

响应参数

id
string
视频生成任务的唯一标识符。
object
string
对象类型,固定为 video
created
integer
任务创建时间戳。
model
string
使用的模型名称,例如 sd2_manxue_1080p
status
string
任务状态:
  • queued - 排队中
  • processing - 处理中
  • completed - 已完成
  • failed - 失败
video_url
string
生成的视频 URL,当状态为 completed 时返回。
actualDuration
number
视频实际输出时长(秒),当状态为 completed 时返回。
error
string
错误信息,当状态为 failed 时返回。

状态流程

1

queued

任务已创建并进入队列,等待处理。
2

processing

sd2_manxue 模型正在生成视频。
3

completed

任务完成,可通过 video_url 获取结果。

轮询建议

轮询策略:
  • 建议轮询间隔:30-60 秒
  • 一般在数分钟内可完成,涉及多素材参考时可能更久
  • 不要过于频繁轮询,避免触发限流
  • 当状态为 completedfailed 时停止轮询

结果说明

重要提示:
  • 生成结果通常为临时下载地址,请及时保存
  • 使用较多参考图片、视频、音频时,处理时间通常会更长
  • 若提示词或参考素材不符合平台要求,任务可能直接失败
curl --request GET \
  --url https://zcbservice.aizfw.cn/kyyReactApiServer/v1/result/proj_sd2manxue_1234567890 \
  --header 'Authorization: Bearer {{key}}'
{
  "id": "proj_sd2manxue_1234567890",
  "object": "video",
  "created": 1761635478,
  "model": "sd2_manxue_1080p",
  "status": "processing",
  "video_url": null,
  "error": null
}