Your video will display here

Hold tight, rendering may take a minute...

About the Pexels slideshow video maker demo

This demo shows you a how you can create a slideshow style video from a collection of still images. By integrating with the Pexels API you are able to search their library of images and automatically generate a video from the results using the Shotstack video editing API.

To make the video more interesting we add a soundtrack, a title, and a series of luma matte transitions using a brush effect in different directions. To make each video unique we also randomize the list of images returned by the Pexels API.

This demo is available as an open source project so you can see exactly how it works and adapt or re-use it as the starting point for your own cloud video editing application.

Get started with Shotstack's video editing API in two steps:

  1. Sign up for free to get your API key.
  2. Send an API request to create your video:
    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
    }
    }
    }'