with Temi and Easy-Peasy.AI?
Generates AI transcription for a given audio URL. See the documentation
Generates an AI image based on the given prompt. See the documentation
Generates text outputs for the templates. See the documentation
Temi API offers automated transcription services, converting audio and video files into text. With Pipedream's robust platform, you can exploit Temi's capabilities to activate a myriad of automated workflows, from transcribing meeting recordings for easy reference to triggering tasks based on the presence of keywords in transcribed text. The real power lies in connecting these transcriptions to other services for further analysis, archiving, or even real-time alerting.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
temi: {
type: "app",
app: "temi",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.temi.com/v1/account`,
headers: {
Authorization: `Bearer ${this.temi.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
easy_peasy_ai: {
type: "app",
app: "easy_peasy_ai",
}
},
async run({steps, $}) {
const data = {
"audio_type": `podcast`,
"language": `English`,
"name": `Interview with John Doe`,
"detect_speakers": `true`,
"enhanced_quality": `true`,
"url": `https://example.com/audiofile.mp3`,
}
return await axios($, {
method: "post",
url: `https://easy-peasy.ai/api/transcriptions`,
headers: {
"accept": `application/json`,
"content-type": `application/json`,
"x-api-key": `${this.easy_peasy_ai.$auth.api_key}`,
},
data,
})
},
})