with Easy-Peasy.AI and api4ai?
Generates AI transcription for a given audio URL. See the documentation
Accurately identifies alcohol labels using advanced intelligent technologies. Powered by API4AI.
Generates an AI image based on the given prompt. See the documentation
Automatically and quickly remove image background with high accuracy. Powered by API4AI.
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,
})
},
})
API4AI offers a range of artificial intelligence solutions and APIs for diverse applications, including content moderation, image recognition, and text analysis. Built on a robust cloud technology stack, our APIs guarantee seamless operability, scalability, and reliable uptime. Our aim is to provide standalone AI solutions that effortlessly integrate into any application with minimal setup required.
All API4AI APIs are subscription-based and managed through RapidAPI
šļøļø Website: https://api4.ai
š© Email: hello@api4.ai
š¬ Chat: https://t.me/a4a_support_bot
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
api4ai: {
type: "app",
app: "api4ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://general-detection.p.rapidapi.com/v1/algos`,
headers: {
"X-RapidAPI-Key": `${this.api4ai.$auth.api_key}`,
"X-RapidAPI-Host": `general-detection.p.rapidapi.com`,
},
})
},
})