POST https://api.novita.ai/openai/v1/images/edits
ming-image-0.1-design-layer only supports layer decoupling, using the OpenAI Image edits protocol.
Request Headers
Request Body
The input image, 1 image. It is
image[] in the form.ming-image-0.1-design-layer only supports 1 image input.The form in which the image is returned, default is
b64_json. Available values: url, b64_json. Note: url is valid for 24 hours.The output image size, default
auto selects automatically based on the model. Format "{w}x{h}", e.g. "1024x1024".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
The array of returned images, containing multiple layers (e.g. foreground layer, background layer, etc.), one element per layer.
Example
Request:
Response: