Shotstack

Revolutionizing how video is built. Create, edit and distribute thousands of bespoke, data driven videos in minutes with Shotstack.

Integrate the Shotstack API with the Bash API

Setup the Shotstack API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate Shotstack and Bash remarkably fast. Free for developers.

Run Bash Code with Bash API on Asset Uploaded from Shotstack API
Shotstack + Bash
 
Try it
Asset Uploaded from the Shotstack API

Trigger when a new media asset has been uploaded to the Shotstack API. See the documentation here.

 
Try it
Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it
Create Timeline with the Shotstack API

Generate a timeline with layers and assets for a new video project. See the documentation here.

 
Try it
Start Render with the Shotstack API

Initiate rendering of a video using a timeline created in Shotstack API. See the documentation here.

 
Try it
Upload Asset with the Shotstack API

Add media assets like images, audio, or video to the Shotstack API for use in video projects. See the documentation here.

 
Try it

Overview of Shotstack

The Shotstack API is a video editing platform that allows you to automate the creation and production of videos. With it, you can edit clips, add transitions, overlays, and backgrounds, and even include music in your videos. Integrating Shotstack with Pipedream can supercharge your workflow by automating the video creation process. You can trigger video edits in response to various events, manage assets, or even kick off rendering jobs based on data from other apps and services.

Connect Shotstack

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    shotstack: {
      type: "app",
      app: "shotstack",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.shotstack.io/ingest/${this.shotstack.$auth.version}/sources`,
      headers: {
        "x-api-key": `${this.shotstack.$auth.api_key}`,
      },
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS