Canvas Editor API
Visual canvas editor for advanced layouts
Base URL: https://api.wemasy.nl/api
ⓘ The token stays in this browser tab only (sessionStorage) and is sent to the WEMASY API only. Don't use production tokens on shared computers.
Canvas
List the project's canvas designs, newest first (with their thumbnails)
POST
/services/canvas/v1/canvas/design/all
Auth
Create a design: blank, or with nodes. A preset sets the size
POST
/services/canvas/v1/canvas/design/create
Auth
One design with its nodes. For the editor its images come back as data URLs (inline, the default); inline=0 gives URLs a browser loads
POST
/services/canvas/v1/canvas/design/get
Auth
Save a design from the editor: its nodes (images move to the media library), title, size and a small preview. Every field is optional
POST
/services/canvas/v1/canvas/design/save
Auth
Delete designs (their images stay in the media library)
POST
/services/canvas/v1/canvas/design/delete
Auth
Duplicate designs (the copies use the same media library images)
POST
/services/canvas/v1/canvas/design/duplicate
Auth
Rename a design (its id, the folder name, stays)
POST
/services/canvas/v1/canvas/design/rename
Auth
Save the rendered design (a PNG, JPEG or WebP data URL from the editor) in the media library, labelled "canvas". A design made from a media item becomes an edited copy of it
POST
/services/canvas/v1/canvas/design/export-media
Auth
A new design around a media library image ("Edit in Canvas"): the artboard has the image's size and the image fills it
POST
/services/canvas/v1/canvas/design/from-media
Auth
An image for the canvas as a data URL: a media library item of this project (media_id or its URL) or a theme photo. Any other URL is refused: the server fetches nothing it is handed
POST
/services/canvas/v1/canvas/image/fetch
Auth
Formats (sizes), layouts and icons, with the project's brand colors
POST
/services/canvas/v1/canvas/templates/catalog
Auth
The nodes of a layout at a size, filled with the project's brand: the editor's template previews and "apply to this design". Nothing is saved
POST
/services/canvas/v1/canvas/templates/render
Auth
Designs from a layout, one per preset, saved in one set
POST
/services/canvas/v1/canvas/templates/create
Auth
A QR code as layers (a light square and a vector path) for a link or text, to add to a design. Nothing is saved
POST
/services/canvas/v1/canvas/qr
Auth
Remove background from a canvas image (AI worker or solid-bg MVP)
POST
/services/canvas/v1/canvas/image/remove-background
Auth