/fal-ai/bytedance/seedream/v4/edit
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 Specification
Phần tiêu đề “OpenAPI Specification”openapi: 3.0.1info: title: '' description: '' version: 1.0.0paths: /fal-ai/bytedance/seedream/v4/edit: post: summary: /fal-ai/bytedance/seedream/v4/edit deprecated: false description: >- Tài liệu chính thức: https://fal.ai/models/fal-ai/bytedance/seedream/v4/edit operationId: fal_ai_fal_ai_bytedance_seedream_v4_edit 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 các kiểm tra bảo mật, giá trị mặc định: true' image_size: type: object required: - height - width properties: height: type: integer description: Chiều cao (pixel) width: type: integer description: Chiều rộng (pixel) description: >- Kích thước, chiều rộng và chiều cao của hình ảnh phải nằm trong khoảng: 1024-4096. x-apifox-orders: - height - width x-apidog-orders: - height - width image_urls: type: array items: type: string description: URL hình ảnh num_images: type: integer description: 'Số lượng ảnh được tạo: 1-6' prompt: type: string description: từ trong lời nhắc refName: PostFalAiBytedanceSeedreamV4EditRequest x-apifox-orders: - enable_safety_checker - image_size - image_urls - num_images - prompt x-apidog-orders: - enable_safety_checker - image_size - image_urls - num_images - prompt examples: fal_aibytedanceseedreamv4edit_single: value: enable_safety_checker: true image_size: height: 1280 width: 1280 image_urls: - >- https://storage.googleapis.com/falserverless/example_inputs/seedream4_edit_input_1.png - >- https://storage.googleapis.com/falserverless/example_inputs/seedream4_edit_input_2.png - >- https://storage.googleapis.com/falserverless/example_inputs/seedream4_edit_input_3.png - >- https://storage.googleapis.com/falserverless/example_inputs/seedream4_edit_input_4.png num_images: 1 prompt: Mặc quần áo và giày cho người mẫu. summary: fal_aibytedanceseedreamv4edit_single description: /fal-ai/bytedance/seedream/v4/edit 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/bytedance/requests/42a7eb80-8916-43ae-b27b-02e79f479977/cancel logs: [] metrics: {} queue_position: 0 request_id: 42a7eb80-8916-43ae-b27b-02e79f479977 response_url: >- https://queue.fal.run/fal-ai/bytedance/requests/42a7eb80-8916-43ae-b27b-02e79f479977 status: IN_QUEUE status_url: >- https://queue.fal.run/fal-ai/bytedance/requests/42a7eb80-8916-43ae-b27b-02e79f479977/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-45208910-runcomponents: schemas: {} securitySchemes: {}servers: - url: https://api.openaihub.net description: Prod Envsecurity: []