with AltTextify and Mux?
Emit new event when new alt text is generated for an image. See the documentation
Delete the generated alt text for a specific image using the asset ID. See the documentation
Adds an asset track (for example, subtitles) to an asset. See the documentation
Retrieve alt text for a previously submitted image using the asset ID. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
alttextify: {
type: "app",
app: "alttextify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.alttextify.net/api/v1/image`,
headers: {
"x-api-key": `${this.alttextify.$auth.api_key}`,
},
})
},
})
Mux is a powerful API that simplifies the process of working with video and audio data. By leveraging Mux on Pipedream, you unlock the potential to automate video and audio streaming workflows, analyze media performance, and integrate seamlessly with other services to enrich your media content strategy. With Mux's ability to manage video assets, including uploading, encoding, and delivering content across devices, combined with Pipedream's serverless execution model, you can create dynamic, scalable, and highly customized media operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mux: {
type: "app",
app: "mux",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mux.com/video/v1/assets`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.mux.$auth.access_key}`,
password: `${this.mux.$auth.secret_key}`,
},
})
},
})