# "Tải xuống video OpenAI"

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

> 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:
  /v1/videos/{id}/content:
    get:
      summary: Tải xuống video OpenAI
      deprecated: false
      description: >-
        Chỉ dành cho Sora2 · tải xuống nội dung video đã hoàn tất (`GET
        /v1/videos/{id}/content`).
      operationId: sora_v1_videos_content
      tags:
        - OpenAiHub Việt Nam/OpenAiHub Tiếng Việt/Video/Veo/Định dạng video OpenAI
        - Sora2
      parameters:
        - name: id
          in: path
          description: ID tài nguyên / tác vụ trong đường dẫn
          required: true
          example: video_099c5197-abfd-4e16-88ff-1e162f2a5c77
          schema:
            type: string
        - name: Content-Type
          in: header
          description: Content-Type của phần thân yêu cầu, thường là application/json
          required: true
          example: application/json
          schema:
            type: string
        - name: Accept
          in: header
          description: Content-Type dự kiến của phản hồi
          required: true
          example: application/json
          schema:
            type: string
        - name: Authorization
          in: header
          description: Khóa API Bearer
          required: false
          example: Bearer {{YOUR_API_KEY}}
          schema:
            type: string
        - name: X-Forwarded-Host
          in: header
          description: Host gốc được chuyển tiếp (trường hợp proxy)
          required: false
          example: localhost:5173
          schema:
            type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties: {}
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                required:
                  - id
                  - status
                  - video_url
                  - enhanced_prompt
                  - status_update_time
                properties:
                  enhanced_prompt:
                    type: string
                    description: Lời nhắc nâng cao
                  id:
                    type: string
                    description: ID tài nguyên hoặc tác vụ
                  status:
                    type: string
                    description: Trạng thái
                  status_update_time:
                    type: integer
                    description: Thời điểm cập nhật trạng thái
                  video_url:
                    type: string
                    description: URL video
                    nullable: true
                refName: GetV1VideosIdContentResponse
                x-apifox-orders:
                  - enhanced_prompt
                  - id
                  - status
                  - status_update_time
                  - video_url
                x-apidog-orders:
                  - enhanced_prompt
                  - id
                  - status
                  - status_update_time
                  - video_url
              examples:
                example:
                  summary: example
                  value:
                    enhanced_prompt: chuỗi
                    id: string
                    status: string
                    status_update_time: 0
                    video_url: chuỗi
          headers: {}
          x-apidog-name: ''
        '400':
          description: Yêu cầu không hợp lệ hoặc xác thực thất bại
          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: >-
                        Yêu cầu không hợp lệ (mã yêu cầu:
                        20260805120000123456789AbCdEfGh)
                      type: new_api_error
          headers: {}
          x-apidog-name: Yêu cầu không hợp lệ hoặc xác thực thất bại
        '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/Veo/Định dạng video OpenAI
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1218648/apis/api-45208972-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.openaihub.net
    description: Prod Env
security: []

```
