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 initial charge is $0.034 per output for 1k and 1.5k, and $0.045 for 2k. Explicit sizes and 3k with a concrete ratio use the requested pixel count. Decomposition initially charges for up to max_images outputs at the selected rate, or $0.045 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. Any overpayment is refunded; the charge does not exceed the initial charge. Text recognition and prompt optimization have no separate fee. The input price is $0.015 per image, including the first. The total request charge is rounded up to the next $0.001.

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.