Create video highlights using generative AI.
Emit new event when a media is done processing by ContentGroove.
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
The ContentGroove API offers functionality for managing and automating content-related tasks. Within Pipedream, you can harness this API to create workflows that trigger on various events, process data, and connect to other services. Think about automating content dissemination, analyzing audience engagement, or syncing content across platforms. With Pipedream's serverless architecture, these workflows can run on demand, on a schedule, or in response to specific events, providing a powerful way to streamline your content management processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
contentgroove: {
type: "app",
app: "contentgroove",
}
},
async run({steps, $}) {
return await axios($, {
url: ` https://api.contentgroove.com/api/v1/clips`,
headers: {
"Accept": `application/json`,
"Authorization": `${this.contentgroove.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})