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

phần mở rộng 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:
/kling/v1/videos/video-extend:
post:
summary: phần mở rộng video
deprecated: false
description: ''
operationId: post-kling-v1-videos-video-extend
tags:
- OpenAiHub Việt Nam/OpenAiHub Tiếng Việt/Video/Kling
- 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
required:
- video_id
- prompt
properties:
callback_url:
type: string
description: URL gọi lại được kích hoạt khi tác vụ hoàn tất
cfg_scale:
type: number
description: >-
Phạm vi độ mạnh tham chiếu của lời nhắc [0,1]; giá trị càng
cao = càng mạnh
negative_prompt:
type: string
description: lời nhắc văn bản phủ định
prompt:
type: string
description: Lời nhắc văn bản tích cực có tối đa 2500 ký tự
video_id:
type: string
description: >-
ID video để kéo dài (văn bản/hình ảnh/video); video gốc ≤ 3
phút
x-apifox-orders:
- callback_url
- cfg_scale
- negative_prompt
- prompt
- video_id
x-apidog-orders:
- callback_url
- cfg_scale
- negative_prompt
- prompt
- video_id
examples:
example:
value:
callback_url: ''
cfg_scale: 0.5
negative_prompt: ''
prompt: Kéo dài hiệu ứng hoạt hình
video_id: '828006748715380777'
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
x-apidog-status: released
x-run-in-apidog: https://app.apidog.com/web/project/1218648/apis/api-45208987-run
components:
schemas: {}
securitySchemes: {}
servers:
- url: https://api.openaihub.net
description: Prod Env
security: []