# "openai chỉnh sửa video"

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

> 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}/remix:
    post:
      summary: openai chỉnh sửa video
      deprecated: false
      description: >-
        Chỉ dành cho Sora2 · phối lại/chỉnh sửa một video hiện có (`POST
        /v1/videos/{id}/remix`).
      operationId: sora_v1_videos_remix
      tags:
        - >-
          OpenAiHub Việt Nam/OpenAiHub Tiếng Việt/Video/sora/Định dạng video chính thức
          của 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
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - prompt
              properties:
                prompt:
                  type: string
                  description: Lời nhắc văn bản
              x-apifox-orders:
                - prompt
              x-apidog-orders:
                - prompt
            examples:
              openai_single:
                value:
                  prompt: Làm cho giao diện tinh tế hơn một chút
                  size: 1280x720
                summary: openai_single
                description: openai chỉnh sửa video
      responses:
        '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: ''
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - message
                      - message_zh
                      - type
                    properties:
                      message:
                        type: string
                        description: Vui lòng cung cấp nội dung tài liệu cần dịch.
                      message_zh:
                        type: string
                        description: Thông báo lỗi / lời nhắc bằng tiếng Trung
                      type:
                        type: string
                        description: Kiểu
                    description: Thông báo lỗi
                    x-apifox-orders:
                      - message
                      - message_zh
                      - type
                    x-apidog-orders:
                      - message
                      - message_zh
                      - type
                x-apifox-orders:
                  - error
                x-apidog-orders:
                  - error
              examples:
                example:
                  summary: example
                  value:
                    error:
                      message: Thông tin xác thực không hợp lệ
                      message_zh: Thông tin xác thực không hợp lệ
                      type: invalid_request_error
          headers: {}
          x-apidog-name: ''
      security: []
      x-apidog-folder: >-
        OpenAiHub Việt Nam/OpenAiHub Tiếng Việt/Video/sora/Định dạng video chính thức
        của OpenAI
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1218648/apis/api-45209056-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.openaihub.net
    description: Prod Env
security: []

```
