with Accelo 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
Accelo's API provides a gateway to streamline professional service operations, offering endpoints that manage projects, tickets, sales, and more. With Pipedream, you can harness this API to automate routine tasks, sync data across platforms, and trigger custom workflows. Accelo's API lets you manipulate client data, automate service processes, and integrate with other tools for a seamless business ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
accelo: {
type: "app",
app: "accelo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.accelo.$auth.hostname}.api.accelo.com/api/v0/user`,
headers: {
Authorization: `Bearer ${this.accelo.$auth.oauth_access_token}`,
},
})
},
})
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,
})
},
})