Access powerful AI models to transcribe and understand speech via a simple API.
Emit new event when a transcribed audio file from AssemblyAI is ready. See the documentation
Export your completed transcripts in SRT (srt) or VTT (vtt) format, which can be used for subtitles and closed captions in videos. See the documentation
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Fetches a specific transcribed result from the AssemblyAI API. See the documentation
The AssemblyAI API provides powerful speech recognition and natural language processing capabilities. It allows users to transcribe audio, analyze sentiment, detect topics, and more. In Pipedream, you can leverage these features to create automated workflows that process audio and text data. Connect AssemblyAI to various apps and services, trigger actions based on the API's output, and build robust, serverless data pipelines.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
assemblyai: {
type: "app",
app: "assemblyai",
}
},
async run({steps, $}) {
const data = {
"audio_url": `{{your_audio_url}}`,
//for testing, try: https://storage.googleapis.com/aai-web-samples/espn-bears.m4a
}
return await axios($, {
method: "POST",
url: `https://api.assemblyai.com/v2/transcript`,
headers: {
"authorization": `${this.assemblyai.$auth.api_key}`,
},
data,
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})