with Supercast and Easy-Peasy.AI?
Emit new event when a new episode is created in Supercast. See the documentation
Emit new event when a new question is created. See the documentation
Creates a new channel creator on Supercast. See the documentation
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
The Supercast API offers the ability to automate interactions with your Supercast account, enabling you to manage subscribers, analyze subscription data, and integrate with other services. With the Supercast API on Pipedream, you can create serverless workflows that trigger from various events, helping to streamline operations, personalize subscriber engagement, and extend the functionality of your podcast subscription service.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
supercast: {
type: "app",
app: "supercast",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://supercast.tech/api/v1/users`,
headers: {
Authorization: `Bearer ${this.supercast.$auth.access_token}`,
"Accept": `application/json`,
},
})
},
})
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,
})
},
})