Skip to main content
POST
Generate image from FabricJS canvas

Authorizations

Authorization
string
header
required

API key obtained from the Pictify dashboard

Body

application/json
fabricJSData
object
required

FabricJS canvas JSON

variables
object
variableDefinitions
object[]
width
integer
height
integer
fileExtension
enum<string>
Available options:
png,
jpg,
jpeg,
webp

Response

200 - application/json

Canvas image generated

url
string<uri>

URL of the generated image

Example:

"https://cdn.pictify.io/renders/abc123.png"

userStorageUrl
string<uri>

URL in user's configured storage (if configured)

id
string

Unique image identifier

Example:

"img_abc123"

createdAt
string<date-time>

Timestamp when image was created