Skip to main content
Check the APIXO model catalog for current availability.

Endpoints

Authentication

Use your APIXO API key with Authorization: Bearer YOUR_API_KEY. Send JSON requests to https://api.apixo.ai with Content-Type: application/json.

Request Body

Parameters

Example

Submit a layer-decomposition task with the following request body.

Response

Task creation returns data.taskId. Poll the status endpoint or use a webhook for the result. The following example shows a successful decomposition.

Status Response Fields

Error Codes

Requests can fail validation for missing inputs, out-of-range image dimensions, or incompatible format and background options. A failed task includes failCode and failMsg.

Billing

The prices below are standard USD rates. Check the live API pricing catalog for current offers. Before discounts, the initial charge is $0.020 per output for 1k and 1.5k, and $0.035 for 2k. Explicit sizes are estimated by the requested pixel count. Decomposition initially charges for up to max_images outputs at the selected rate, or $0.035 per output when resolution is omitted. Final billing uses the actual width × height of each returned image, including the base image and each layer in decomposition. The requested resolution determines the initial estimate. Each returned image’s actual pixel count determines its final price tier. Any overpayment is refunded, and the charge does not exceed the initial charge. Text recognition and prompt optimization have no separate fee. The standard input price is $0.008 per image, including the first. Applicable discounts are applied before rounding the total request charge up to the next $0.001. Tasks use the rates that applied when they were accepted.

MCP integration

The model schema declares mcp.attachments for input.image_urls and mcp.result for decoding image URLs from resultJson.resultUrls. See MCP model contracts.