Photo with border & text image template

Pre-built Shotstack image editing templates to kick-start your imagination.

Photo with border & text
{
"timeline": {
"background": "#000000",
"fonts": [
{
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/fonts/LilitaOne-Regular.ttf"
}
],
"tracks": [
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>Shotstack enables businesses to massively scale their video production capabilities using code.</p>",
"css": "p { font-family: \"Lilita One\"; color: #ffd300; font-size: 64px; text-align: center; }",
"width": 600,
"height": 600,
"background": "transparent"
},
"start": 0,
"length": 1
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p>Shotstack enables businesses to massively scale their video production capabilities using code.</p>",
"css": "p { font-family: \"Lilita One\"; color: #e90ec0; font-size: 64px; text-align: center; }",
"width": 600,
"height": 600,
"background": "transparent"
},
"start": 0,
"length": 1,
"offset": {
"x": 0.004,
"y": -0.004
}
}
]
},
{
"clips": [
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/borders/80s-acid-pink-square.png"
},
"start": 0,
"length": 1
}
]
},
{
"clips": [
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/images/earth.jpg"
},
"start": 0,
"length": 1
}
]
}
]
},
"output": {
"format": "jpg",
"quality": "high",
"size": {
"width": 1000,
"height": 1000
}
}
}

Photo with border and drop shadow style text in retro colors.

DOWNLOAD JSON

New to Shotstack? Sign up for API access to use this template and start automatically generating videos.

SIGN UP

How to use this template

Use this template as the starting point for your automated image editing project. Customize it to meet the needs of your application or workflow.

Postman

Test and modify this template directly in Postman by forking our public Collection.

Application

Customize the template and integrate it in to your application or workflow using the programming language of your choice.

SDK

Use this template as the starting point for integration with our SDKs. Port the JSON to PHP, Node or Ruby and integrate in to your code base.

Experience Shotstack for yourself, with no risk, and generate your first video in 15 minutes.