# "Truy vấn các tác vụ video (miễn phí)"

Nguồn: https://docs.openaihub.net/api-45209045/

> 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 Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /runwayml/v1/tasks/{task_id}:
    get:
      summary: Truy vấn các tác vụ video (miễn phí)
      deprecated: false
      description: >-
        Truy vấn trạng thái và kết quả của tác vụ Tusheng Video dựa trên ID tác
        vụ.
      operationId: runway_runwayml_v1_tasks
      tags:
        - OpenAiHub Việt Nam/OpenAiHub Tiếng Việt/Video/Đường băng
        - Đường băng
      parameters:
        - name: task_id
          in: path
          description: ID được trả về khi gửi tác vụ
          required: true
          example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                required:
                  - id
                  - state
                properties:
                  batch_id:
                    type: string
                    description: Mã lô
                  created_at:
                    type: string
                    description: Thời gian tạo
                  id:
                    type: string
                    description: ID tài nguyên hoặc tác vụ
                  prompt:
                    type: string
                    description: Lời nhắc văn bản
                  state:
                    type: string
                    description: Trạng thái chuyển tiếp tùy chỉnh
                refName: GetRunwaymlV1TasksTaskIdResponse
                description: >-
                  Phản hồi truy vấn tác vụ Runway (cùng cấu trúc với phản hồi
                  gửi tác vụ)
                x-apifox-orders:
                  - batch_id
                  - created_at
                  - id
                  - prompt
                  - state
                x-apidog-orders:
                  - batch_id
                  - created_at
                  - id
                  - prompt
                  - state
              examples:
                example:
                  summary: example
                  value:
                    batch_id: ''
                    created_at: '2024-12-22T13:38:40.139Z'
                    id: 4665a07c-7641-4809-a133-10786201bb56
                    prompt: ''
                    state: đang chờ
          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/Đường băng
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1218648/apis/api-45209045-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.openaihub.net
    description: Prod Env
security: []

```
