Add a watermark to a video using the Shotstack API
This demo application shows how you can build an interface to apply a watermark to a video using the Shotstack cloud video editing API. The form prepares the video, watermark and watermark settings and posts the required parameters to the Shotstack API which takes care of rendering the video.
This demo is provided as open source code so you can use it as is, adapt it to your own needs or use it as the basis to build a fully automated video watermark application that can apply a watermark to 1000's of videos as part of an automated workflow.
Our How to watermark video tutorial also provides more information.
curl --request POST 'https://api.shotstack.io/v1/render' \
--header 'x-api-key: YOUR_API_KEY' \
--data-raw '{
"timeline": {
"tracks": [
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://shotstack-assets.s3.amazonaws.com/footage/beach-overhead.mp4"
},
"start": 0,
"length": "auto"
}
]
}
]
},
"output": {
"format": "mp4",
"size": {
"width": 1280,
"height": 720
}
}
}'
Video editing demo applications give you an idea of what Shotstack can do and source code to help you get started
Use Shotstack to automate the creation of real estate listing videos.
Use Shotstack to automate the creation of videos for your social media channels using generative AI.