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

Tạo tác vụ black-forest-labs/flux-1.1-pro-ultra

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/black-forest-labs/flux-1.1-pro-ultra/predictions:
post:
summary: Tạo tác vụ black-forest-labs/flux-1.1-pro-ultra
deprecated: false
description: >-
Tài liệu chính thức:
https://replicate.com/black-forest-labs/flux-1.1-pro-ultra
operationId: >-
replicate_replicate_v1_models_black_forest_labs_flux_1_1_pro_ultra_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:
aspect_ratio:
type: string
description: >-
Tỷ lệ khung hình của ảnh được tạo, giá trị mặc định:
"1:1".
image_prompt_strength:
type: number
description: >-
Sự kết hợp giữa câu lệnh và câu lệnh tạo hình ảnh. Giá
trị tối thiểu: 0, giá trị tối đa: 1.
output_format:
type: string
description: 'Định dạng của hình ảnh đầu ra. Giá trị mặc định: "jpg".'
prompt:
type: string
description: Lời nhắc văn bản được tạo từ hình ảnh.
raw:
type: boolean
description: >-
Tạo ra hình ảnh ít qua xử lý hơn và tự nhiên hơn. Giá
trị mặc định: false.
safety_tolerance:
type: integer
description: >-
Mức dung sai an toàn. 1 là nghiêm ngặt nhất và 6 là ít
nghiêm ngặt nhất. Giá trị mặc định: 2.
description: Vui lòng cung cấp nội dung tài liệu cần dịch.
x-apifox-orders:
- aspect_ratio
- image_prompt_strength
- output_format
- prompt
- raw
- safety_tolerance
x-apidog-orders:
- aspect_ratio
- image_prompt_strength
- output_format
- prompt
- raw
- safety_tolerance
x-apifox-orders:
- input
x-apidog-orders:
- input
examples:
black_forest_labsflux_11_pro_ultra_single:
value:
input:
aspect_ratio: '3:2'
image_prompt_strength: 0.1
output_format: jpg
prompt: >-
một đỉnh núi phủ tuyết hùng vĩ, đắm mình trong ánh sáng ấm
áp của mặt trời lặn
raw: false
safety_tolerance: 2
summary: black_forest_labsflux_11_pro_ultra_single
description: Tạo tác vụ black-forest-labs/flux-1.1-pro-ultra
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
required:
- input
properties:
input:
type: object
required:
- prompt
properties:
aspect_ratio:
type: string
description: 'Tỷ lệ khung hình, ví dụ: 16:9, 9:16, 1:1'
image_prompt_strength:
type: number
description: Mức độ tác động của lời nhắc tạo ảnh
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
raw:
type: boolean
description: Có trả về đầu ra thô (chưa qua xử lý) 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
- image_prompt_strength
- output_format
- prompt
- raw
- safety_tolerance
x-apidog-orders:
- aspect_ratio
- image_prompt_strength
- output_format
- prompt
- raw
- safety_tolerance
x-apifox-orders:
- input
x-apidog-orders:
- input
examples:
example:
summary: example
value:
created_at: '2025-07-29T05:45:44.464Z'
data_removed: false
id: brgfcps121rm80crajvr2x4jg4
input:
aspect_ratio: '3:2'
image_prompt_strength: 0.1
output_format: jpg
prompt: >-
một đỉnh núi phủ tuyết hùng vĩ, đắm mình trong ánh sáng
ấm áp của mặt trời lặn
raw: false
safety_tolerance: 2
logs: ''
model: black-forest-labs/flux-1.1-pro-ultra
status: starting
urls:
cancel: >-
https://api.replicate.com/v1/predictions/brgfcps121rm80crajvr2x4jg4/cancel
get: >-
https://api.replicate.com/v1/predictions/brgfcps121rm80crajvr2x4jg4
stream: >-
Vui lòng dán nội dung tài liệu cần dịch vào đây; tôi
không thể truy cập trực tiếp liên kết này.
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ừ URL 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-45208950-run
components:
schemas: {}
securitySchemes: {}
servers:
- url: https://api.openaihub.net
description: Prod Env
security: []