Skip to main content
POST
/
v1
/
templates
/
createStoredImage
cURL
curl --request POST \
  --url https://api.bannerify.co/v1/templates/createStoredImage \
  --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": []
}
'
{
  "url": "<string>"
}

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[]

Response

Image object

url
string
required