Pexels Stock Video Creator

Create videos with Pexels stock footage

GET STARTED GitHub

Your video will display here

Hold tight, rendering may take a minute...

About the Pexels video maker demo

This demo integrates with the Pexels API to search their video library. The application loops through the results and chooses the first 8 videos to include in the edit. A title and soundtrack are also prepared. Finally the edit is sent to the Shotstack API for rendering.

This demo is available as an open source project in the following languages:

These repos will allow you to 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
        }
      }
    }'