Revolutionizing how video is built. Create, edit and distribute thousands of bespoke, data driven videos in minutes with Shotstack.
Trigger when a new media asset has been uploaded to the Shotstack API. See the documentation here.
Add or update a single record in your Pipedream Data Store.
Generate a timeline with layers and assets for a new video project. See the documentation here.
Add or update multiple records to your Pipedream Data Store.
Initiate rendering of a video using a timeline created in Shotstack API. See the documentation here.
Append to a record in your data store Pipedream Data Store. If the record does not exist, a new record will be created in an array format.
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.
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}`,
},
})
},
})
Data Stores are a key-value store that allow you to persist state and share data across workflows. You can perform CRUD operations, enabling dynamic data management within your serverless architecture. Use it to save results from API calls, user inputs, or interim data; then read, update, or enrich this data in subsequent steps or workflows. Data Stores simplify stateful logic and cross-workflow communication, making them ideal for tracking process statuses, aggregating metrics, or serving as a simple configuration store.
export default defineComponent({
props: {
myDataStore: {
type: "data_store",
},
},
async run({ steps, $ }) {
await this.myDataStore.set("key_here","Any serializable JSON as the value")
return await this.myDataStore.get("key_here")
},
})