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

Video mở rộng

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:
/v1/video/extend:
post:
summary: Video mở rộng
deprecated: false
description: >-
Chuỗi video hợp nhất VEO · kéo dài một video hiện có (`POST
/v1/video/extend`); tính năng kéo dài Grok-Video sử dụng tuyến này tùy
theo mô hình.
operationId: veo_video_extend
tags:
- >-
OpenAiHub Việt Nam/OpenAiHub Tiếng Việt/Video/hiểu thấu đáo/Định dạng hợp nhất
cho video
- Video hợp nhất · VEO
parameters: []
requestBody:
content:
application/json:
schema:
type: object
required:
- model
- task_id
properties:
model:
type: string
description: Tên mô hình
examples:
- grok-video
parent_post_id:
type: string
description: ID bài đăng gốc (Grok-Video)
prompt:
type: string
description: Mở rộng phần mô tả
task_id:
type: string
description: ID tác vụ video gốc
refName: PostV1VideoExtendRequest
x-apifox-orders:
- model
- parent_post_id
- prompt
- task_id
x-apidog-orders:
- model
- parent_post_id
- prompt
- task_id
examples:
grok_video:
value:
model: grok-video
prompt: Tiếp tục cảnh đại bàng hạ cánh
task_id: task_abc123
summary: grok_video
description: mở rộng video
responses:
'200':
description: Tác vụ tiện ích mở rộng đã được tạo thành công
content:
application/json:
schema:
type: object
properties:
enhanced_prompt:
type: string
description: >-
Các từ trong lời nhắc đã được tối ưu hóa Các từ trong lời
nhắc đã được tối ưu hóa
id:
type: string
description: Mã tác vụ Mã tác vụ
progress:
oneOf:
- type: integer
- type: string
description: phần trăm tiến độ phần trăm tiến độ
status:
type: string
enum:
- pending
- image_downloading
- video_generating
- video_generation_completed
- video_upsampling
- completed
- failed
description: trạng thái tác vụ trạng thái tác vụ
status_update_time:
type: integer
description: >-
dấu thời gian cập nhật trạng thái dấu thời gian cập nhật
trạng thái
video_url:
type: string
description: >-
URL video (sẽ có sau khi hoàn tất) URL video (sẽ có sau
khi hoàn tất)
refName: UnifiedVideoResponse
x-apifox-orders:
- enhanced_prompt
- id
- progress
- status
- status_update_time
- video_url
x-apidog-orders:
- enhanced_prompt
- id
- progress
- status
- status_update_time
- video_url
examples:
example:
summary: example
value:
enhanced_prompt: chuỗi
id: string
progress: 0
status: pending
status_update_time: 0
video_url: chuỗi
headers: {}
x-apidog-name: Tác vụ tiện ích mở rộng đã được tạo thành công
'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/hiểu thấu đáo/Định dạng hợp nhất
cho video
x-apidog-status: released
x-run-in-apidog: https://app.apidog.com/web/project/1218648/apis/api-45209063-run
components:
schemas: {}
securitySchemes: {}
servers:
- url: https://api.openaihub.net
description: Prod Env
security: []