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

nhận dạng khuôn mặt

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:
/kling/v1/videos/identify-face:
post:
summary: nhận dạng khuôn mặt
deprecated: false
description: ''
operationId: post-kling-v1-videos-identify-face
tags:
- OpenAiHub Việt Nam/OpenAiHub Tiếng Việt/Video/Kling/đồng bộ chuyển động môi
- kling
parameters:
- name: Content-Type
in: header
description: Content-Type của phần thân yêu cầu, thường là application/json
required: false
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
requestBody:
content:
application/json:
schema:
type: object
properties:
video_id:
type: string
description: >-
ID video Kling AI dùng để đồng bộ khẩu hình. Chỉ được cung
cấp một trong hai trường này hoặc video_url. Chỉ hỗ trợ
video trong 30 ngày gần đây và có thời lượng ≤60 giây
video_url:
type: string
description: >-
URL video đã tải lên để đủ điều kiện đồng bộ khẩu hình. Chỉ
được cung cấp một trong hai trường này hoặc video_id. Định
dạng .mp4/.mov; dung lượng ≤100MB; thời lượng 2–60 giây; độ
phân giải 720p/1080p; các cạnh 512–2160px. Nếu xác thực
không thành công, hệ thống sẽ trả về lỗi; nội dung được xác
thực
x-apifox-orders:
- video_id
- video_url
x-apidog-orders:
- video_id
- video_url
examples:
example:
value:
video_id: '827297867148050499'
video_url: ''
summary: example
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
x-apidog-orders: []
examples:
example:
summary: example
value:
code: 0
data:
task_id: task_example_001
message: thành công
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/Kling/đồng bộ chuyển động môi
x-apidog-status: released
x-run-in-apidog: https://app.apidog.com/web/project/1218648/apis/api-45209030-run
components:
schemas: {}
securitySchemes: {}
servers:
- url: https://api.openaihub.net
description: Prod Env
security: []