Skip to main content
POST
Layerize Image

Authorizations

Authorization
string
header
required

API key from Settings > Developer > REST API

Headers

Moda-Version
enum<string>
default:2026-05-01

Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.

Available options:
2026-04-12,
2026-05-01
Example:

"2026-05-01"

Body

application/json
image
string
required

The image to layerize: a file_ id from an upload or an http(s) image URL.

variant
enum<string>
default:full

'full' rebuilds every layer (background, objects, text); 'text' extracts editable text only.

Available options:
full,
text
canvas_name
string | null

Name for the created canvas. Defaults to 'Layerized image'.

Maximum string length: 200
idempotency_key
string | null

A retried call with the same key replays the stored response (replayed:true) instead of paying for a second provider render.

Maximum string length: 200

Response

Successful Response

The response is of type Response Medialayerizeimage · object.