Aliyun Bailian | 阿里云百炼 icon

Aliyun Bailian | 阿里云百炼

Access Alibaba Cloud Aliyun Bailian video generation, editing, and task APIs.

Task → Task Status Query | 任务状态查询

AI-generated

Summary

Retrieve the current status of a specific task by its Task ID, optionally polling until the task completes or a maximum wait time is reached.

Inputs

  • Task ID | 任务 ID (required) — The identifier of the task to query, obtained from the output.task_id of a task creation request.
  • Wait for Completion | 等待任务完成 — Whether to continuously poll the task status until the task finishes. If set to false, returns the latest available status immediately.
  • Poll Interval (MS) | 轮询间隔 (毫秒) — The delay in milliseconds between each polling attempt when waiting for task completion. Valid only if waiting is enabled. Minimum 500 ms, maximum 10,000 ms.
  • Max Wait (Seconds) | 最大等待时间 (秒) — The maximum time in seconds to continue polling for task completion before stopping. Applies only if waiting is enabled. Range: 30 to 3,600 seconds.

Output shape

a JSON object containing the detailed status information of the specified task as returned by the Aliyun Bailian API.

If 'Wait for Completion' is enabled, the operation will poll the API at the specified interval until the task finishes or the maximum wait time is reached, then return the final task status. If disabled, it returns the current task status immediately without polling.

Links

Discussion