with Uberduck and AI Textraction?
Generates lyrics using a specified voice model. See the documentation
Extract custom data from text using AI Textraction. See the documentation
Get voice samples for a specific voice model. See the documentation
The Uberduck API offers text-to-speech capabilities with a variety of voice choices, from standard voices to celebrity impersonations. It enables you to convert text into lifelike speech, providing an API that can be used for creating audio content, voiceovers for videos, or for making interactive voice response systems more engaging. On Pipedream, you can build workflows that leverage this functionality, triggering voice synthesis with events from various sources and integrating with other apps for a seamless automation experience.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
uberduck: {
type: "app",
app: "uberduck",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.uberduck.ai/voices`,
auth: {
username: `${this.uberduck.$auth.api_key}`,
password: `${this.uberduck.$auth.secret_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ai_textraction: {
type: "app",
app: "ai_textraction",
}
},
async run({steps, $}) {
const data = {"text":"John Doe is a software engineer with 5 years of experience. He specializes in web development and has expertise in multiple programming languages such as JavaScript, Python, and HTML. John has worked on various projects, including e-commerce websites and mobile applications. In his free time, John enjoys playing the guitar, hiking, and reading books.","entities":[{"var_name":"first_name","type":"string","description":"first name of the person"},{"var_name":"last_name","type":"string","description":"last name of the person"},{"var_name":"years_of_experience","type":"integer","description":"years of experience"},{"var_name":"programming_languages","type":"array[string]","description":"programming languages experienced with"},{"var_name":"hobbies","type":"array[string]","description":"hobbies"}]}
return await axios($, {
method: "post",
url: `https://ai-textraction.p.rapidapi.com/textraction`,
headers: {
"x-rapidapi-host": `ai-textraction.p.rapidapi.com`,
"x-rapidapi-key": `${this.ai_textraction.$auth.rapid_key}`,
},
data,
})
},
})