Skip to main content
POST
/
v1
/
templates
/
createImage
cURL
curl --request POST \
  --url https://api.bannerify.co/v1/templates/createImage \
  --header 'Content-Type: application/json' \
  --data '
{
  "format": "png",
  "_debug": "<string>",
  "s3Config": {
    "endPoint": "s3.amazonaws.com",
    "port": 443,
    "useSSL": true,
    "region": "us-east-1",
    "bucket": "my-images-bucket",
    "pathStyle": false,
    "accessKey": "<string>",
    "secretKey": "<string>",
    "customUrl": "https://cdn.example.com/{key}"
  },
  "apiKey": "<string>",
  "templateId": "tpl_xxxxxxxxx",
  "modifications": [],
  "thumbnail": false
}
'
This response does not have an example.

Authorizations

apiKey
string
query
required

Body

application/json
apiKey
string
required
templateId
string
required

Your template id

Example:

"tpl_xxxxxxxxx"

format
enum<string>
default:png
Available options:
png,
jpeg,
webp
_debug
string

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

s3Config
object

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

modifications
object[]
thumbnail
boolean | null
default:false

Generate thumbnail preview (non-billable)

Response

A image file

The binary of image file