Skip to main content
POST
Ming Image Layer Decoupling
ming-image-0.1-design-layer only supports layer decoupling, using the OpenAI Image edits protocol.

Request Headers

string
required
Supports: multipart/form-data
string
required
Bearer authentication format, for example: Bearer {{API Key}}.

Request Body

enum
required
The model name. Available values: ming-image-0.1-design-layer
Files
required
The input image, 1 image. It is image[] in the form.ming-image-0.1-design-layer only supports 1 image input.
string
required
The text description of the image.
string
default:"png"
The output image format. Must be one of png or webp.
string
default:"b64_json"
The form in which the image is returned, default is b64_json. Available values: url, b64_json. Note: url is valid for 24 hours.
string
default:"auto"
The output image size, default auto selects automatically based on the model. Format "{w}x{h}", e.g. "1024x1024".
boolean
default:false
Controls whether a watermark is added to the AI-generated image. true: enables the explicit watermark and implicit digital watermark on AI-generated images, complying with policy requirements. false: disables all watermarks.

Response

integer
required
The Unix timestamp (seconds) when the response was created.
array
required
The array of returned images, containing multiple layers (e.g. foreground layer, background layer, etc.), one element per layer.
string
required
The output image format (layers are always output as png).
string
null
object
required
Token usage statistics.
string
required
The name of the model that actually processed the request.
string
required
The unique identifier ID of this request.

Example

Request:
Response:
Last modified on September 21, 2026