Multi-Image to Image
Create Task
Generate images based on multiple reference images (subject, scene, style).
Request Header
Data Exchange Format
Authentication information, refer to API authentication
Request Body
Model Name
Positive text prompt
- Cannot exceed 2500 characters
Subject Reference Images
- Support up to 4 images, at least 1 image, using key:value format as follows:
- The API does not perform cropping, please upload images with subjects already cropped
- Supports image input as either Base64-encoded string or URL (ensure the URL is publicly accessible)
- Important: When using Base64, do NOT add any prefix like
data:image/png;base64,. Submit only the raw Base64 string.
- Correct Base64 format:
- Incorrect Base64 format (with data: prefix):
- Supported image formats: .jpg / .jpeg / .png
- Image file size must not exceed 10MB. Image dimensions must be at least 300px in width and height. Aspect ratio must be between 1:2.5 and 2.5:1
Subject image URL or Base64 string
Scene Reference Image
- Supports image input as either Base64-encoded string or URL (ensure the URL is publicly accessible)
- Important: When using Base64, do NOT add any prefix like
data:image/png;base64,. Submit only the raw Base64 string.
- Correct Base64 format:
- Incorrect Base64 format (with data: prefix):
- Supported image formats: .jpg / .jpeg / .png
- Image file size must not exceed 10MB. Image dimensions must be at least 300px in width and height. Aspect ratio must be between 1:2.5 and 2.5:1
Style Reference Image
- Supports image input as either Base64-encoded string or URL (ensure the URL is publicly accessible)
- Important: When using Base64, do NOT add any prefix like
data:image/png;base64,. Submit only the raw Base64 string.
- Correct Base64 format:
- Incorrect Base64 format (with data: prefix):
- Supported image formats: .jpg / .jpeg / .png
- Image file size must not exceed 10MB. Image dimensions must be at least 300px in width and height. Aspect ratio must be between 1:2.5 and 2.5:1
Number of generated images
- Value range: [1, 9]
Aspect ratio of the generated images (width:height)
The support range for different model versions varies. For details, see Capability Map
Whether to generate watermarked results simultaneously
- Defined by the enabled parameter, format:
- true: generate watermarked result, false: do not generate
- Custom watermarks are not currently supported
The callback notification address for the result of this task. If configured, the server will actively notify when the task status changes
- The specific message schema of the notification can be found in Callback Protocol
Customized Task ID
- User-defined task ID. It will not override the system-generated task ID, but supports querying tasks by this ID
- Please note that it must be unique for each user
Query Task (Single)
Request Header
Data Exchange Format
Authentication information, refer to API authentication
Path Parameters
The task ID for image generation. Request path parameter, directly fill the value in the request path. Query by external_task_id or task_id.
Customized Task ID for audio generation
- The external_task_id filled in when creating the task. You can choose to query by external_task_id or task_id
- When creating a task, you can choose to query by external_task_id or task_id.
Query Task (List)
Request Header
Data Exchange Format
Authentication information, refer to API authentication
Query Parameters
Page number
- Value range: [1, 1000]
Number of items per page
- Value range: [1, 500]