Gladia

Audio Intelligence API for companies.

Integrate the Gladia API with the Bash API

Setup the Gladia API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate Gladia and Bash remarkably fast. Free for developers.

Send Audio For Transcription with the Gladia API

Sends audio to Gladia for transcription and optional translation. See the documentation

 
Try it
Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it

Overview of Gladia

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.

Connect Gladia

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS