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

/fal-ai/flux-pro/kontext/max

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:
/fal-ai/flux-pro/kontext/max:
post:
summary: /fal-ai/flux-pro/kontext/max
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 này, nhưng tôi có thể dịch toàn bộ sang tiếng Việt
đồng thời giữ nguyên Markdown, mã, định danh, URL, đường dẫn, chỗ giữ
chỗ, cấu trúc JSON và định dạng.
operationId: fal_ai_fal_ai_flux_pro_kontext_max
tags:
- OpenAiHub Việt Nam/OpenAiHub Tiếng Việt/Hình ảnh/Fal.ai
- Fal.ai
parameters: []
requestBody:
content:
application/json:
schema:
type: object
required:
- prompt
- output_format
- image_url
properties:
aspect_ratio:
type: string
description: >-
Kích thước hình ảnh, các giá trị liệt kê: 21:9, 16:9, 4:3,
3:2, 1:1, 2:3, 3:4, 9:16, 9:21
guidance_scale:
type: number
description: 'Giá trị phạm vi: 1-20'
image_url:
type: string
description: URL hình ảnh
num_images:
type: integer
description: 'Số lượng hình ảnh đầu ra, phạm vi giá trị: 1-4'
output_format:
type: string
description: 'Định dạng đầu ra của hình ảnh: "jpeg", "png"'
prompt:
type: string
description: từ trong lời nhắc
safety_tolerance:
type: string
description: dung sai an toàn
seed:
type: integer
description: >-
Hạt giống ngẫu nhiên; cùng một hạt giống sẽ tạo ra kết quả
có thể tái lập
sync_mode:
type: boolean
description: chế độ đồng bộ
refName: PostFalAiFluxProKontextMaxRequest
x-apifox-orders:
- aspect_ratio
- guidance_scale
- image_url
- num_images
- output_format
- prompt
- safety_tolerance
- seed
- sync_mode
x-apidog-orders:
- aspect_ratio
- guidance_scale
- image_url
- num_images
- output_format
- prompt
- safety_tolerance
- seed
- sync_mode
examples:
fal_aiflux_prokontextmax_single:
value:
aspect_ratio: chuỗi
guidance_scale: 3.5
image_url: >-
https://v3.fal.media/files/rabbit/rmgBxhwGYb2d3pl3x9sKf_output.png
num_images: 1
output_format: jpeg
prompt: Đặt một chiếc bánh vòng cạnh bột mì.
safety_tolerance: '2'
seed: 0
sync_mode: false
summary: fal_aiflux_prokontextmax_single
description: /fal-ai/flux-pro/kontext/max
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
x-apidog-orders: []
examples:
example:
summary: example
value:
cancel_url: >-
https://queue.fal.run/fal-ai/flux-pro/requests/e36fc67f-afa7-416a-a288-50d90a630d7a/cancel
logs: []
metrics: {}
queue_position: 0
request_id: e36fc67f-afa7-416a-a288-50d90a630d7a
response_url: >-
https://queue.fal.run/fal-ai/flux-pro/requests/e36fc67f-afa7-416a-a288-50d90a630d7a
status: IN_QUEUE
status_url: >-
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 URL này.
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/Fal.ai
x-apidog-status: released
x-run-in-apidog: https://app.apidog.com/web/project/1218648/apis/api-45208906-run
components:
schemas: {}
securitySchemes: {}
servers:
- url: https://api.openaihub.net
description: Prod Env
security: []