with Plainly and Shotstack?
Trigger when a new media asset has been uploaded to the Shotstack API. See the documentation here
Emit new event when a video render job finishes successfully.
Emit new event when a video is created or uploaded in Plainly.
Creates a render job for a video template. See the documentation
Retrieves the current status of a render job in Plainly. See the documentation
Generate a timeline with layers and assets for a new video project. See the documentation here
Fetches a list of available video templates in a project in the user's Plainly account. See the documentation
Initiate rendering of a video using a timeline created in Shotstack API. See the documentation here
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
plainly: {
type: "app",
app: "plainly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.plainlyvideos.com/api/v2/projects`,
auth: {
username: `${this.plainly.$auth.api_key}`,
password: ``,
},
})
},
})
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}`,
},
})
},
})