Skip to main content
POST
Magic resize from an image

Authorizations

Authorization
string
header
required

A Melius API key (mel_...), sent as Authorization: Bearer <key>.

x-team-id
string
header
required

The team (workspace) to act on. Defaults to the key's team when omitted.

Path Parameters

canvasId
string<uuid>
required

Body

application/json

Body

sourceNodeId
string<uuid>
required
ratios
(enum<string> | string)[]
required
Required array length: 1 - 5 elements
Available options:
21:9,
16:9,
4:3,
1:1,
3:4,
9:16,
9:21

Response

201

nodeId
string<uuid>
required
nodeRunId
string<uuid>
required
creditCost
integer
required
Last modified on July 17, 2026