查询批量推理任务
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
|---|---|---|---|---|
Action | String | 是 | GetBatchInferenceTask | 要执行的操作,取值:GetBatchInferenceTask。 |
Version | String | 是 | 2024-07-01 | API的版本,取值:2024-07-01。 |
Id | String | 是 | bi-20260902103000-***** | 批量推理任务 ID |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
Id | String | bi-20260902103000-***** | 批量推理任务 ID |
Model | String | video-transfer | 公开模型名称 |
Name | String | batch-inference-demo | 任务名称 |
Status | Object | {"Phase":"Succeeded"} | 任务状态 |
Progress | Object | {"CompletedCount":2,"TotalCount":2} | 任务进度 |
Input | Object | {"Prompt":"保持主体动作和镜头构图,将场景转换为电影质感","Videos":[{"URL":"tos://example-bucket/inputs/front.mp4"}]} | 任务输入 |
Output | Object | {"Prefix":"tos://example-bucket/outputs/batch-inference/","OutputDir":"tos://example-bucket/outputs/batch-inference/bi-20260902103000-*****/"} | 任务输出 |
Parameters | Object | {"PromptOptimize":true,"PromptGuidance":4.5,"ControlGuidance":1.2,"ControlSignals":[{"Type":"depth","Enabled":true,"Weight":1}]} | 任务参数 |
Description | String | 批量推理任务示例 | 任务描述 |
CreateTime | String | 2026-09-02T10:30:00Z | 创建时间,RFC3339 格式 |
UpdateTime | String | 2026-09-02T10:45:00Z | 更新时间,RFC3339 格式 |
AccountId | Long | 2100000000 | 账号 ID |
UserId | Long | 123456789 | 创建人用户 ID |
MaxWaitHours | Integer | 24 | 最大等待小时数 |
ProjectName | String | default | 项目名称 |
Tags | Array of Object | [{"Key":"scene","Value":"demo"}] | 自定义标签,最多 20 个且 Key 不可重复 |
StartTime | String | 2026-09-02T10:31:00Z | 开始时间,RFC3339 格式 |
BillingResolution | String | 720 | 计费分辨率档位 |
BillableFrameCount | Long | 242 | 计费帧数 |
{ "Id": "bi-20260902103000-*****" }
{ "AccountId": 2100000000, "BillableFrameCount": 242, "BillingResolution": "720", "CreateTime": "2026-09-02T10:30:00Z", "Description": "批量推理任务示例", "Id": "bi-20260902103000-*****", "Input": { "Prompt": "保持主体动作和镜头构图,将场景转换为电影质感", "Videos": [ { "URL": "tos://example-bucket/inputs/front.mp4" }, { "URL": "tos://example-bucket/inputs/side.mp4" } ] }, "MaxWaitHours": 24, "Model": "video-transfer", "Name": "batch-inference-demo", "Output": { "Objects": [ { "MediaType": "video/mp4", "Name": "result-0.mp4", "URI": "tos://example-bucket/outputs/batch-inference/bi-20260902103000-*****/result-0.mp4" }, { "MediaType": "video/mp4", "Name": "result-1.mp4", "URI": "tos://example-bucket/outputs/batch-inference/bi-20260902103000-*****/result-1.mp4" } ], "OutputDir": "tos://example-bucket/outputs/batch-inference/bi-20260902103000-*****/", "Prefix": "tos://example-bucket/outputs/batch-inference/" }, "Parameters": { "ControlGuidance": 1.2, "ControlSignals": [ { "EdgeStrength": "medium", "Enabled": true, "Type": "edge", "Weight": 0.5 }, { "Enabled": true, "Type": "depth", "Weight": 0.5 } ], "PromptGuidance": 4.5, "PromptOptimize": true }, "Progress": { "CompletedCount": 2, "TotalCount": 2 }, "ProjectName": "default", "StartTime": "2026-09-02T10:31:00Z", "Status": { "Phase": "Succeeded" }, "Tags": [ { "Key": "scene", "Value": "demo" } ], "UpdateTime": "2026-09-02T10:45:00Z", "UserId": 123456789 }
您可访问公共错误码,获取更多错误码信息。