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

/fal-ai/qwen-image-edit-plus

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/qwen-image-edit-plus:
post:
summary: /fal-ai/qwen-image-edit-plus
deprecated: false
description: 'Tài liệu chính thức: https://fal.ai/models/fal-ai/qwen-image-edit-plus'
operationId: post-fal-ai-qwen-image-edit-plus
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
- image_urls
properties:
enable_safety_checker:
type: boolean
description: 'Bật trình kiểm tra an toàn. Mặc định: true'
guidance_scale:
type: integer
description: 'Phạm vi: 0–20'
image_size:
type: string
description: >-
Enum kích thước hình ảnh:
square、square_hd、landscape_4_3、landscape_16_9、portrait_3_4、portrait_9_16
image_urls:
type: array
items:
type: string
description: URL hình ảnh
negative_prompt:
type: string
description: Lời nhắc phủ định (nội dung cần tránh)
num_images:
type: integer
description: 'Số lượng hình ảnh cần tạo. Phạm vi: 1–4'
num_inference_steps:
type: integer
description: 'Phạm vi: 2–100'
output_format:
type: string
description: 'Định dạng ảnh đầu ra: jpeg, png'
prompt:
type: string
description: Lời nhắc.
x-apifox-orders:
- enable_safety_checker
- guidance_scale
- image_size
- image_urls
- negative_prompt
- num_images
- num_inference_steps
- output_format
- prompt
x-apidog-orders:
- enable_safety_checker
- guidance_scale
- image_size
- image_urls
- negative_prompt
- num_images
- num_inference_steps
- output_format
- prompt
examples:
example:
value:
enable_safety_checker: true
guidance_scale: 4
image_size: square_hd
image_urls:
- >-
Vui lòng tải ảnh lên trực tiếp để tôi có thể đọc và dịch
nội dung.
- >-
https://v3.fal.media/files/penguin/BCOZp6teRhSQFuOXpbBOa_da8ef9b4982347a2a62a516b737d4f21.png
- >-
Vui lòng tải ảnh trực tiếp lên cuộc trò chuyện hoặc dán
nội dung tài liệu cần dịch. Tôi không thể đọc nội dung ảnh
chỉ từ URL này.
negative_prompt: mờ, xấu
num_images: 1
num_inference_steps: 50
output_format: png
prompt: >-
Chân dung cận cảnh một người phụ nữ đứng trước chiếc xe này
trên đường cao tốc này
summary: example
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/qwen-image-edit-plus/requests/9c08e7d8-312c-402d-a691-c207a9cb8121/cancel
metrics: {}
queue_position: 0
request_id: 9c08e7d8-312c-402d-a691-c207a9cb8121
response_url: >-
https://queue.fal.run/fal-ai/qwen-image-edit-plus/requests/9c08e7d8-312c-402d-a691-c207a9cb8121
status: IN_QUEUE
status_url: >-
https://queue.fal.run/fal-ai/qwen-image-edit-plus/requests/9c08e7d8-312c-402d-a691-c207a9cb8121/status
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-45208914-run
components:
schemas: {}
securitySchemes: {}
servers:
- url: https://api.openaihub.net
description: Prod Env
security: []