Generate Email Banners Via API

Build automated image and video editing workflows and applications with Shotstack.

GET STARTED FOR FREE Example

The internet's most advanced image and video editing API

Shotstack is the most user friendly, powerful and reliable infrastructure solution to automatically generate email banners.

GET STARTED FOR FREE

The only thing you need is some JSON

{
"timeline": {
"fonts": [
{
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/fonts/Arimo.ttf"
}
],
"background": "#1DA1F2",
"tracks": [
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>Peter and Emily are having a baby boy<p/>",
"css": "p { font-family: \"Arimo\"; color: #275E77; font-size: 38px; text-align: center; font-weight: bold}",
"width": 900,
"height": 150
},
"start": 0,
"length": 5,
"position": "bottomRight"
}
]
},
{
"clips": [
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/templates/images/email-banner/email-banner-template.png"
},
"start": 0,
"length": 5,
"fit": "none"
}
]
}
]
},
"output": {
"format": "png",
"size": {
"width": 2013,
"height": 669
}
}
}
Generate Email Banners Via API

Tutorials & Resources

Learn how to automatically generate email banners via API

How to add captions to video using PHP
How to add captions to video using PHP

Automatically add captions or subtitles to a video using PHP. This guide show you how to render an SRT subtitles file and add it to a video.

Read more

Demo's & Code Examples

Automatically Generate email banners by using demo code

Christmas Personalised Video
Christmas Personalised Video

Create a personalised video with a Christmas message using the Shotstack API. Merge text and video from a form to generate a video

Go to demo

Pexels Video Maker
Pexels Video Maker

Search the Pexels stock footage video library and the Shotstack API will automatically compile an edit with music and a title

Go to demo

Pexels Slideshow Video Maker
Pexels Slideshow Video Maker

Automatically generate a video slideshow from the Pexels image library using the Pexels API and Shotstack video editing API

Go to demo