Navigation

API Documentation

Create image

Create an image from a template

POST/v1/templates/createImageTry it

Authorizations

apiKeystringqueryrequired

Body

application/json

apiKeystringrequired
templateIdstringrequired

Your template id

Example: "tpl_xxxxxxxxx"

formatenum<string>default: "png"

Available options: png, jpeg, webp

_debugstring

Only for debug purpose, it draws bounding box for each layer

s3Configobject

Optional custom S3 configuration. If provided, the generated file will be stored in your S3-compatible storage instead of the default Bannerify storage.

Show child attributes
endPointstringrequired

S3 endpoint URL (without protocol)

Example: "s3.amazonaws.com"

portnumberdefault: 443

S3 endpoint port

Example: 443

useSSLbooleandefault: true

Whether to use SSL/TLS

Example: true

regionstringrequired

S3 region

Example: "us-east-1"

bucketstringrequired

S3 bucket name

Example: "my-images-bucket"

pathStylebooleandefault: false

Whether to use path-style URLs

Example: false

accessKeystringrequired

S3 access key

secretKeystringrequired

S3 secret key

customUrlstring

Custom URL template for accessing uploaded files. Use {key} as placeholder for the file key.

Example: "https://cdn.example.com/{key}"

modificationsobject[] | object | string | null
Option 1 · object[]Option 2 · objectOption 3 · stringOption 4 · anyOption 5 · any

Template modifications as the API array format, an object shorthand, or a JSON string. Object values map to text by default, while nested objects keep fields such as src, qrcode, rows, or chart.

{
  "headline": "Summer sale",
  "photo": {
    "src": "https://example.com/photo.png"
  }
}
Show child attributes
namestringrequired

The layer name of the modification

Example: "Text 1"

colorstring

The color for the modification

Example: "#FF0000"

srcstring

The source image for the modification

Example: "https://example.com/image.jpg"

textstring

You can modify the text layer with this field

Example: "Hello World"

barcodestring

Modify the barcode layer content with this field

Example: "1234567890"

qrcodestring

Modify the qrcode layer content with this field

Example: "Some text"

chartobject

Update chart layer's data, follow chart.js data structure

visibleboolean

Set the visibility of the field

Example: true

starnumber

Star value

Example: 5

widthModeenum<string>

Table width mode

Available options: standard, adaptive

Example: "adaptive"

heightModeenum<string>

Table height mode

Available options: standard, adaptive

Example: "adaptive"

themeenum<string>

Table theme

Available options: NONE, DEFAULT, BRIGHT, SIMPLIFY, ARCO

Example: "NONE"

rowsnull[]

Table rows

columnsstring[]

Table columns

thumbnailboolean | nulldefault: false

Generate thumbnail preview (non-billable)

Response

200 image/png

A image file

The binary of image file