A managed service offering industry-leading speech capabilities such as speech-to-text, text-to-speech, speech translation, and speaker recognition.
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
The Azure Speech Service API offers a suite of speech-to-text, text-to-speech, and speech translation capabilities, allowing you to integrate advanced speech processing into your applications. With the API, you can transcribe audio into text, convert text into natural-sounding speech, and even translate spoken languages in real-time. Leveraging these features within Pipedream, you can automate workflows that respond to voice commands, generate audio content from textual data, or provide real-time translation services for global communication.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
azure_speech_service: {
type: "app",
app: "azure_speech_service",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.azure_speech_service.$auth.endpoint}/speechtotext/v3.1/healthstatus`,
headers: {
"Ocp-Apim-Subscription-Key": `${this.azure_speech_service.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})