inclusionAI: Ming Image 0.1 Design Layer
Ming Image 0.1 Design Layer decomposes one flattened design image into separate RGBA image layers. Supply exactly one reference and a prompt describing the intended layer plan. This edition returns image layers for further composition, supports PNG or WebP, and preserves the input image’s dimensions.
About the model
This description covers the model’s capabilities. Available in Ailoot inputs, outputs and options are listed for the selected method below.
Ming Image 0.1 Design Layer is inclusionAI’s image-to-image model for separating a flattened design into RGBA layers. Select the exact ID inclusionai/ming-image-0.1-design-layer with the Images method at POST /v1/images/generations. Its role is to take an existing composition and a written layer plan, then return separate image outputs for the layers.
Supply exactly one reference image through input_references and describe what should be isolated in prompt. The documented reference representation accepts an HTTP(S) image URL or a base64 data URL. A useful layer plan can distinguish the background, the main object and foreground decoration, explaining which visible elements belong together. Use the actual flattened design as the reference so the decomposition is tied to the composition you intend to edit.
The dedicated model profile sets input_references to one reference and n to 1. That request setting describes one requested decomposition; the documented model behaviour returns one image per layer. Preserve every image in the response rather than treating the first data item as the whole result. The prompt should communicate the intended grouping of elements, while the returned layers provide the actual output set to inspect.
The supported output_format choices are png and webp. Output dimensions follow the input image. Explicit size and aspect_ratio values are rejected for this edition, so prepare the reference image at the dimensions required for the composition and leave those controls unspecified. The exact selector identifies the Design Layer edition, whose input is an existing design and whose output consists of image layers.
Generation uses a complete image response and this model’s dedicated profile does not support streaming. Decode each returned b64_json image or retrieve each returned image URL, keeping the actual output format when saving the file. Keep the layers together with the source image and layer plan. In a layer-aware editor, check the transparent regions, the separation of neighbouring elements and the reconstructed overall composition before making local changes.
The result is a set of raster image layers. It can support rearrangement, replacement of individual visual elements or further compositing in an editor, with the retained source available for comparison. Inspect any lettering and object edges that cross layer boundaries so the chosen decomposition remains useful for the intended revision.
Ailoot Ultra · Images POST /v1/images/generations inclusionai/ming-image-0.1-design-layer
inclusionai/ming-image-0.1-design-layer
inclusionai/ming-image-0.1-design-layerOverview
Ming Image 0.1 Design Layer decomposes one flattened design image into separate RGBA image layers. Supply exactly one reference and a prompt describing the intended layer plan. This edition returns image layers for further composition, supports PNG or WebP, and preserves the input image’s dimensions.
- Accepted inputs
- Text · Images
- Results
- Images
Available in Ailoot · inputs & methods
Ailoot Ultra · Images POST /v1/images/generations
- Input types
text,image- Output types
image- Output format
- Image file
| Field | Type | Requirement | Values & limits | Default |
|---|---|---|---|---|
Fieldmodel | Typestring | RequirementRequired | Values & limits inclusionai/ming-image-0.1-design-layer | Default— |
Fieldprompt | Typestring | RequirementRequired | Values & limits | Default— |
Fieldstream | Typeboolean | RequirementOptional | Values & limits false | Defaultfalse |
Fieldinput_references | Typearray | RequirementRequired | Values & limits | Default— |
Fieldn | Typeinteger | RequirementOptional | Values & limits Minimum: 1 Maximum: 1 | Default— |
Fieldoutput_format | Typestring | RequirementOptional | Values & limits png, webp | Default— |
Method parameters and lifecycle
| Parameter | Contract |
|---|---|
Parametercontent_type | Contractapplication/json |
Parameterrequired | Contractmodel, prompt, input_references |
Parameteroptional | Contractstream, n, output_format |
Parametermaterial_types | Contracttext, image |
Parameterconditions | ContractUse stream:false or omit stream. The complete buffered JSON result contains all generated images. |
Lifecycle: synchronous_result_then_owned_library
GET /v1/media/assets
GET /v1/media/assets/{asset_id}
Pricing
How the final charge is calculated
The displayed rates estimate the cost before generation. The final charge is calculated from the cost recorded for the original generation. Measured output duration and forecast quantities are not the final billable quantity.
Tariff references do not add request options. Supported parameters are listed for the selected method.
- Fast mode
- Not specified When fast mode is selected
- Flex mode
- Not specified When flex mode is selected
- Maximum reasoning effort
- Not specified When maximum reasoning effort uses the default adjustment
Estimated rates for comparison
Prices by configuration
Match each charge to the conditions shown. Use one rate for each set of alternative configurations.
| Configuration | Rate schedule | Forecast quantity | Charge |
|---|---|---|---|
| ConfigurationBase token rates | Rate scheduleBase rate | Forecast quantity— | Charge Input · Input tokens · Estimate for comparison only — / 1K tokens Output · Output tokens · Estimate for comparison only — / 1K tokens Input · Cache read · Estimate for comparison only — / 1K tokens Input · Cache write · Estimate for comparison only — / 1K tokens Input · Cache write, 1 hour · Estimate for comparison only — / 1K tokens |
| ConfigurationEstimated generation cost | Rate schedule— | Forecast quantityone generation estimate | Charge Input · Estimated generation cost · Estimate for comparison only $0.98304 estimate before generation This estimate is not an additional charge or a fixed rate for the completed generation. |
Ailoot reserves an estimated amount before a request. After the result, it settles the final charge from measured usage. Streaming settlement uses the final usage record. How reservation and settlement work →
Example requests
Ailoot Ultra · Images
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
export AILOOT_API_KEY
: "${AILOOT_IMAGE_URL:?Set an actual customer material or documented value}"
export AILOOT_IMAGE_URL
python3 - <<'PY_REQUEST'
import json,os
from pathlib import Path
p=json.loads('{"model": "inclusionai/ming-image-0.1-design-layer", "prompt": "A calm studio product photograph with a plain background.", "input_references": [{"type": "image_url", "image_url": {"url": "YOUR_ACCESSIBLE_IMAGE_URL"}}]}')
p['input_references'][0]['image_url']['url']=os.environ['AILOOT_IMAGE_URL']
Path("request.json").write_text(json.dumps(p,ensure_ascii=False))
PY_REQUEST
curl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/images/generations \
-H "Authorization: Bearer $AILOOT_API_KEY" -H 'Content-Type: application/json' \
--data-binary @request.json -D response-headers.txt -o result.json
# Submit once. Retain the complete result, original identifiers and every response header.
Receive and save results
Ailoot Ultra · Images
Download each returned image or save its Base64 contents
GET /v1/media/assetsGET /v1/media/assets/{asset_id}
Keep all completed results
Save every completed image; retrieve each returned URL or decode its Base64 contents.
Retain every returned image and field. Use owned content_url values and actual asset_id records; refresh the same asset when a link expires.
If the original response needs checking
Preserve the original response, headers and X-Client-Request-ID. An uncertain outcome does not authorize another creation.
Aliases
Model aliases
Ailoot Ultra inclusionai/ming-image-0.1-design-layer
Method path aliases
Use the method paths shown above.
Related caller IDs
FAQ · inclusionAI: Ming Image 0.1 Design Layer
- What inputs and results are available?
POST /v1/images/generations·inclusionai/ming-image-0.1-design-layer:text,image→image- Which fields does the request use?
POST /v1/images/generations·inclusionai/ming-image-0.1-design-layer:model,prompt,stream,input_references,n,output_format- What limits apply?
POST /v1/images/generations·inclusionai/ming-image-0.1-design-layer:n.minimum:1;n.maximum:1