Gladia

Audio Intelligence API for companies.

Integrate the Gladia API with the Python API

Setup the Gladia API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate Gladia and Python 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 Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python 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
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}