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

Tạo tác vụ prunaai/vace-14b

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:
/replicate/v1/models/prunaai/vace-14b/predictions:
post:
summary: Tạo tác vụ prunaai/vace-14b
deprecated: false
description: >-
Vui lòng dán nội dung tài liệu cần dịch. Tôi không thể truy cập trực
tiếp nội dung từ URL đã cung cấp.
operationId: replicate_replicate_v1_models_prunaai_vace_14b_predictions
tags:
- OpenAiHub Việt Nam/OpenAiHub Tiếng Việt/Hình ảnh/Tổng hợp bản sao
- Tái tạo
parameters:
- 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:
input:
type: object
required:
- prompt
properties:
frame_num:
type: integer
description: 'Số lượng khung hình cần tạo. Giá trị mặc định: 81.'
prompt:
type: string
description: Mô tả văn bản.
sample_guide_scale:
type: integer
description: >-
Dịch tài liệu kỹ thuật này sang tiếng Việt. Giữ nguyên
Markdown, mã nguồn, định danh, URL, đường dẫn, chỗ dành
sẵn, cấu trúc JSON và định dạng. Chỉ trả về văn bản đã
dịch và không để lại bất kỳ chữ Hán nào.
Thang hướng dẫn mẫu. Giá trị mặc định: 5
sample_shift:
type: integer
description: 'Độ lệch mẫu. Mặc định: 16'
sample_solver:
type: string
description: 'Bộ giải lấy mẫu. Mặc định: "unipc"'
sample_steps:
type: integer
description: 'Các bước ví dụ. Giá trị mặc định: 50'
seed:
type: integer
description: Hạt giống ngẫu nhiên (-1 nghĩa là ngẫu nhiên)
size:
type: string
description: 'Độ phân giải đầu ra. Giá trị mặc định: "832*480"'
speed_mode:
type: string
description: >-
Mức độ tối ưu hóa tốc độ. Mặc định: "Ép nhẹ 🍊 (ổn định
hơn)"
src_mask:
type: string
description: Nhập video hoặc hình ảnh đã che mà bạn muốn chỉnh sửa.
src_ref_images:
type: array
items:
type: string
description: Nhập một hình ảnh tham chiếu để chỉnh sửa.
src_video:
type: string
description: Nhập video bạn muốn chỉnh sửa.
description: Vui lòng cung cấp nội dung tài liệu cần dịch.
x-apifox-orders:
- frame_num
- prompt
- sample_guide_scale
- sample_shift
- sample_solver
- sample_steps
- seed
- size
- speed_mode
- src_mask
- src_ref_images
- src_video
x-apidog-orders:
- frame_num
- prompt
- sample_guide_scale
- sample_shift
- sample_solver
- sample_steps
- seed
- size
- speed_mode
- src_mask
- src_ref_images
- src_video
version:
type: string
description: Phiên bản
refName: PostReplicateV1ModelsPrunaaiVace14bPredictionsRequest
x-apifox-orders:
- input
- version
x-apidog-orders:
- input
- version
examples:
prunaaivace_14b_single:
value:
input:
frame_num: 81
prompt: >-
Video cho thấy một người đàn ông cưỡi ngựa trên một thảo
nguyên rộng lớn. Anh ấy có mái tóc dài màu tím oải hương
và mặc trang phục truyền thống gồm áo trắng và quần đen.
Phong cách hoạt hình khiến anh ấy trông như đang tham gia
một hoạt động ngoài trời hoặc biểu diễn. Phía sau là dãy
núi hùng vĩ cùng bầu trời đầy mây, tạo cảm giác yên bình
và bao la. Toàn bộ video được quay từ một góc máy cố định,
tập trung vào người cưỡi và con ngựa của anh ấy.
sample_guide_scale: 5
sample_shift: 16
sample_solver: unipc
sample_steps: 50
seed: -1
size: 1280*720
speed_mode: Tăng tốc cực đại 🚀 (nhanh hơn nữa)
src_mask: >-
https://replicate.delivery/pbxt/N323tegI7AuoZmg0U5CuTKa7VBFC4gymhe0kT8Jk3o2sjUUj/src_mask.mp4
src_ref_images:
- >-
https://replicate.delivery/pbxt/N323t5X69JB1MPD4w4cDIxK4rm0BG0W2JOWBrDrR4O9HTcyp/src_ref_image_1.png
src_video: >-
https://replicate.delivery/pbxt/N323u1ljtNYyyaLrgw0ZLmXgepvWlBvxbJWi3sAa2VDPuNus/src_video.mp4
version: >-
51299232dc3d0946d5f5ed74935d85243e172698f747d291460db1e6ef3669fb
summary: prunaaivace_14b_single
description: Tạo tác vụ prunaai/vace-14b
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
required:
- id
- status
properties:
created_at:
type: string
description: Thời gian tạo
data_removed:
type: boolean
description: Liệu dữ liệu nhạy cảm đã được loại bỏ hay chưa
error:
type: string
description: Thông báo lỗi
nullable: true
id:
type: string
description: ID tài nguyên hoặc tác vụ
input:
type: object
properties:
aspect_ratio:
type: string
description: 'Tỷ lệ khung hình, ví dụ: 16:9, 9:16, 1:1'
input_image:
type: string
description: URL hình ảnh đầu vào hoặc Base64
output_format:
type: string
description: 'Định dạng đầu ra, ví dụ: png / jpeg / webp'
prompt:
type: string
description: Lời nhắc văn bản
prompt_upsampling:
type: boolean
description: Có tăng độ phân giải / cải thiện lời nhắc hay không
safety_tolerance:
type: integer
description: Mức dung sai của bộ lọc an toàn
description: Vui lòng cung cấp nội dung tài liệu cần dịch.
x-apifox-orders:
- aspect_ratio
- input_image
- output_format
- prompt
- prompt_upsampling
- safety_tolerance
x-apidog-orders:
- aspect_ratio
- input_image
- output_format
- prompt
- prompt_upsampling
- safety_tolerance
logs:
type: string
description: Nhật ký chạy
model:
type: string
description: Tên mô hình / mã định danh mô hình
output:
type: string
description: Kết quả đầu ra
nullable: true
status:
type: string
description: Trạng thái
urls:
type: object
required:
- cancel
- get
- stream
- web
properties:
cancel:
type: string
description: URL để hủy tác vụ
get:
type: string
description: URL để truy vấn trạng thái tác vụ
stream:
type: string
description: Có truyền phát phản hồi hay không
web:
type: string
description: URL để xem tác vụ trong trình duyệt
description: Danh sách URL tài nguyên
x-apifox-orders:
- cancel
- get
- stream
- web
x-apidog-orders:
- cancel
- get
- stream
- web
version:
type: string
description: Phiên bản
refName: PostReplicateV1ModelsPrunaaiVace14bPredictionsResponse
x-apifox-orders:
- created_at
- data_removed
- error
- id
- input
- logs
- model
- output
- status
- urls
- version
x-apidog-orders:
- created_at
- data_removed
- error
- id
- input
- logs
- model
- output
- status
- urls
- version
examples:
'2':
summary: '2'
value:
created_at: '2025-07-12T07:27:54.577Z'
data_removed: false
id: w44zs9cet5rmc0cqzp49gpkhf8
input:
aspect_ratio: match_input_image
input_image: >-
Vui lòng tải ảnh lên trực tiếp hoặc dán nội dung tài
liệu để tôi có thể dịch sang tiếng Việt và giữ nguyên
định dạng Markdown, mã, định danh, URL, đường dẫn, chỗ
giữ chỗ cùng cấu trúc JSON.
output_format: jpg
prompt: >-
Làm cho các chữ cái có hiệu ứng 3D, lơ lửng trong không
gian trên một con phố thành thị
prompt_upsampling: false
safety_tolerance: 2
logs: ''
model: black-forest-labs/flux-kontext-dev
status: starting
urls:
cancel: >-
https://api.replicate.com/v1/predictions/w44zs9cet5rmc0cqzp49gpkhf8/cancel
get: >-
Vui lòng truy xuất nội dung tại
https://api.replicate.com/v1/predictions/w44zs9cet5rmc0cqzp49gpkhf8
rồi dịch tài liệu kỹ thuật đó sang tiếng Việt. Giữ
nguyên Markdown, mã, định danh, URL, đường dẫn, chỗ dành
sẵn, cấu trúc JSON và định dạng. Chỉ trả về văn bản đã
dịch và không để lại ký tự Hán.
stream: >-
Vui lòng dán nội dung tài liệu vào đây để tôi có thể
dịch sang tiếng Việt và giữ nguyên Markdown, mã nguồn,
định danh, URL, đường dẫn, chỗ dành sẵn, cấu trúc JSON
cùng định dạng.
web: >-
Vui lòng dán nội dung tài liệu cần dịch; tôi không thể
truy cập trực tiếp nội dung từ liên kết này.
version: ẩn
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/Hình ảnh/Tổng hợp bản sao
x-apidog-status: released
x-run-in-apidog: https://app.apidog.com/web/project/1218648/apis/api-45208967-run
components:
schemas: {}
securitySchemes: {}
servers:
- url: https://api.openaihub.net
description: Prod Env
security: []