MaiopcMaiopc
Sign in
Model CenterMaiopc

video_30_10_10

POST/kyyReactApiServer/v2/model-center/tasks

Model information

FieldValue
Model ID (model)video_30_10_10
Model typeVideo models
Set the request model field to the Model ID shown above. Using the model name will fail to resolve the model.

Authentication

Get Key
All requests must include a Bearer token in the request headers:
cURL
Authorization: Bearer <API_KEY>

Request parameters

Send the following fields in the JSON request body. model is required — use the Model ID from the Model information section above.
promptstringrequired
Prompt
文本提示词输入。尽量不要超过5000字符稳妥,其实不止。
Minimum:1
reference_imagesimage[]
Reference images
内部统一参考图片输入;仅支持公开 http/https,图片最好不要高于1080,大单文件建议不超过 20MB 大建议使用JPG/PNG/WEBP *避免带防盗链、登录态、短期签名过快过期的链接
Range:0 – 30
Items:0 - 30
Provide a publicly accessible resource URL.
reference_videosvideo[]
Reference videos
Reference video inputs.
Range:0 – 10
Items:0 - 10
Provide a publicly accessible resource URL.
reference_audiosaudio[]
Reference audios
参考音频输入。大总时长不超过15秒 大总大小建议不超过50MB,建议 MP3/WAV,不建议 OGG,部分上游组合会返回invalid media type
Range:0 – 10
Items:0 - 10
Provide a publicly accessible resource URL.
durationinteger
Duration
Generated video duration.
Range:4 – 30
Default:5
aspect_ratiostring
Aspect ratio
Output aspect ratio.
Allowed values:16:9, 9:16, 1:1, 21:9, 4:3, 3:4
Default:16:9
resolutionstringrequired
Resolution
输出分辨率档位。仅支持720p
Allowed values:480p, 720p, 1080p
Default:480p

Response contract

Task status is normalized to queued, processing, completed, or failed. Result URLs are returned only when status is completed;
FieldDescription
idTask ID used to poll status and results.
objectResource type, usually video for this model.
createdTask creation time as a Unix timestamp in seconds.
modelModel name used for this request.
statusqueued, processing, completed, or failed.
progressTask progress, usually returned by the query API.
result_urlGeneric result URL, returned only after completion.
video_urlTyped result URL for this resource, returned only after completion.
amountCredits consumed by this task.
actualDurationDuration used by this task.
errorError message on failure; usually null while queued, processing, or completed.

Query task result

Generation tasks run asynchronously. The submit endpoint returns a task id; poll the query endpoint below with that id until status becomes completed or failed.
http
GET https://zcbservice.aizfw.cn/kyyReactApiServer/v2/model-center/tasks/{id}
Authorization: Bearer <API_KEY>
idstringrequired
The task ID returned by the submit endpoint.
When status is completed, the result URL is returned via result_url and video_url. See the Response contract above for the remaining fields.
Poll every 5–10 seconds and stop once status is completed or failed. Result URLs expire, so download and store them promptly.