Bỏ qua để đến nội dung

Truy vấn video

Xem Markdownllms.txt

API origin: https://api.openaihub.net. Chọn đúng nhóm API và model. Thông số dưới đây là bản tham chiếu kỹ thuật; chưa phải kết quả kiểm thử từng endpoint bằng tài khoản của bạn.

openapi: 3.0.1
info:
title: ''
description: ''
version: 1.0.0
paths:
/alibailian/api/v1/tasks/{task_id}:
get:
summary: Truy vấn video
deprecated: false
description: >-
Truy vấn trạng thái thực thi/kết quả của các tác vụ bất đồng bộ được tạo
thông qua `POST
/alibailian/api/v1/services/aigc/video-generation/video-synthesis`, v.v.
Đây là một trong hai tiền tố đường dẫn cho cùng một tuyến phía máy chủ
như `GET /alibailian/tasks/{task_id}`; có thể dùng một trong hai.
`output.video_url` hợp lệ khi `task_status` là `SUCCEEDED` (có giới hạn
thời gian).
operationId: alibailian_get_task_api_path
tags:
- OpenAiHub Việt Nam/OpenAiHub Tiếng Việt/Video/Thông Nghĩa Vạn Tượng
- Xưởng mô hình Alibaba
parameters:
- name: task_id
in: path
description: ID tác vụ bất đồng bộ
required: true
example: ''
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
required:
- usage
- output
- request_id
properties:
output:
type: object
required:
- task_id
- end_time
- video_url
- orig_prompt
- submit_time
- task_status
- actual_prompt
- scheduled_time
properties:
actual_prompt:
type: string
description: Lời nhắc thực tế đã dùng
end_time:
type: string
description: Thời gian kết thúc
orig_prompt:
type: string
description: Lời nhắc ban đầu
scheduled_time:
type: string
description: Thời gian thực thi theo lịch
submit_time:
type: string
description: Thời gian gửi
task_id:
type: string
description: ID tác vụ bất đồng bộ
task_status:
type: string
description: Trạng thái tác vụ
video_url:
type: string
description: URL video
description: Kết quả đầu ra
x-apifox-orders:
- actual_prompt
- end_time
- orig_prompt
- scheduled_time
- submit_time
- task_id
- task_status
- video_url
x-apidog-orders:
- actual_prompt
- end_time
- orig_prompt
- scheduled_time
- submit_time
- task_id
- task_status
- video_url
request_id:
type: string
description: ID truy vết yêu cầu
usage:
type: object
required:
- SR
- duration
- video_count
properties:
SR:
type: integer
description: Chỉ số sử dụng liên quan đến siêu phân giải
duration:
type: integer
description: Thời lượng (giây hoặc đơn vị do nền tảng quy định)
video_count:
type: integer
description: Số lượng video
description: Thống kê mức sử dụng token
x-apifox-orders:
- SR
- duration
- video_count
x-apidog-orders:
- SR
- duration
- video_count
refName: GetAlibailianApiV1TasksTaskIdResponse
x-apifox-orders:
- output
- request_id
- usage
x-apidog-orders:
- output
- request_id
- usage
examples:
example:
summary: example
value:
output:
actual_prompt: >-
Người đàn ông mặc áo màu cam cưỡi chổi bay vụt qua với
tốc độ cao từ bên phải sang bên trái khung hình, cơ thể
chúi về phía trước, hai tay nắm chặt cán chổi, đầu hướng
thẳng về trước, miệng há ra và hét lớn: 'Này! Đừng cản
tôi!'. Cây chổi di chuyển nhanh trong không trung, phần
lông chổi bị nhòe do tốc độ. Ba người phía dưới đứng
trên vỉa hè, cầm đũa phép chĩa về phía người đang bay
trên không; đầu họ hơi xoay theo hướng bay của người đó
và mắt dõi theo hành động của anh ta. Ở hậu cảnh liên
tục vang lên tiếng xe cộ trên đường phố, tiếng người đi
bộ trò chuyện, tiếng gió và tiếng rít khi cây chổi xé
qua không khí.
end_time: '2025-10-11T19:02:27.297Z'
orig_prompt: Điều chỉnh ánh sáng một chút
scheduled_time: '2025-10-11T18:55:57.908Z'
submit_time: '2025-10-11T18:55:56.952Z'
task_id: a55bfe14-6e78-4b9d-b97d-128420399ed1
task_status: THÀNH CÔNG
video_url: >-
https://dashscope-result-bj.oss-cn-beijing.aliyuncs.com/1d/21/20251011/9b1c82b0/a55bfe14-6e78-4b9d-b97d-128420399ed1.mp4?Expires=1760266939&OSSAccessKeyId=LTAI5tDUB1cEqFCYhEwWry26&Signature=Fjpx1uAlmLmeYGWx0Ye7n%2F%2F9Isw%3D
request_id: ec8f059e-f2e5-4887-bb43-3306cd38f403
usage:
SR: 480
duration: 5
video_count: 1
headers: {}
x-apidog-name: ''
'401':
description: Khóa API bị thiếu hoặc không hợp lệ
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: object
required:
- message
- type
properties:
message:
type: string
description: Thông báo lỗi (thường kết thúc bằng mã yêu cầu)
type:
type: string
description: Loại lỗi; các lỗi cổng cục bộ thường là new_api_error
examples:
- new_api_error
x-apifox-orders:
- message
- type
x-apidog-orders:
- message
- type
refName: NewApiError
x-apifox-orders:
- error
x-apidog-orders:
- error
examples:
example:
summary: example
value:
error:
message: >-
Mã thông báo không hợp lệ (request id:
20260805120000123456789AbCdEfGh)
type: new_api_error
headers: {}
x-apidog-name: Khóa API bị thiếu hoặc không hợp lệ
security: []
x-apidog-folder: OpenAiHub Việt Nam/OpenAiHub Tiếng Việt/Video/Thông Nghĩa Vạn Tượng
x-apidog-status: released
x-run-in-apidog: https://app.apidog.com/web/project/1218648/apis/api-45209062-run
components:
schemas: {}
securitySchemes: {}
servers:
- url: https://api.openaihub.net
description: Prod Env
security: []