Audio Intelligence API for companies.
Sends audio to Gladia for transcription and optional translation. 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.
The Gladia API offers a suite of AI-powered capabilities, including image recognition, text analysis, and language processing. With its integration on Pipedream, you can build serverless workflows to automate tasks like content moderation, data enrichment, and real-time translations. Leverage Gladia's AI functions within Pipedream to create powerful, event-driven workflows that respond to various triggers such as webhooks, schedules, or app events.
import { axios } from "@pipedream/platform"
import FormData from 'form-data';
const form = new FormData();
form.append('audio_url', 'http://files.gladia.io/example/audio-transcription/split_infinity.wav');
form.append('toggle_diarization', 'true');
export default defineComponent({
props: {
gladia: {
type: "app",
app: "gladia",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.gladia.io/audio/text/audio-transcription/`,
headers: {
...form.getHeaders(),
"x-gladia-key": `${this.gladia.$auth.api_key}`,
},
data: form
})
},
})
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
},
})