with Easy-Peasy.AI and Melissa Data?
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
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,
})
},
})
The Melissa Data API provides data quality services that can validate, cleanse, append, and enrich your data. Using Pipedream, you can seamlessly integrate these capabilities into workflows, automating processes that require address verification, email validation, phone number validation, and more. With Pipedream's serverless platform, you can trigger workflows with HTTP requests, schedule them, or even run them in response to events from other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
melissa_data: {
type: "app",
app: "melissa_data",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://globalip.melissadata.net/v4/web/iplocation/doiplocation`,
params: {
id: `${this.melissa_data.$auth.api_key}`,
ip: `47.149.180.9`,
},
})
},
})