Tạo tác vụ bytedance/seedream-4
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: /replicate/v1/models/bytedance/seedream-4/predictions: post: summary: Tạo tác vụ bytedance/seedream-4 deprecated: false description: >- Gửi một yêu cầu dự đoán chuyển văn bản thành hình ảnh bằng ByteDance Seedream 4; trả về mã định danh dự đoán để thăm dò. operationId: replicate_replicate_v1_models_bytedance_seedream_4_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: [] requestBody: content: application/json: schema: type: object x-apidog-orders: [] examples: bytedanceseedream_4_single: value: input: aspect_ratio: '4:3' height: 2048 image_input: [] max_images: 2 prompt: >- một bức ảnh chụp mặt tiền một cửa hàng có tên i"sedream 4", cửa hàng bán sách, một áp phích trên cửa sổ ghi i"sedream 4 hiện đã có trên Replicate! sequential_image_generation: tự động size: 2K width: 2048 summary: bytedanceseedream_4_single description: Tạo tác vụ bytedance/seedream-4 responses: '200': description: '' content: application/json: schema: type: object x-apidog-orders: [] examples: example: summary: example value: request_id: req_example status: OK 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-45208969-runcomponents: schemas: {} securitySchemes: {}servers: - url: https://api.openaihub.net description: Prod Envsecurity: []