Transcribe audio files
Transcribe spoken language from audio files.
Benefits
- Provides easy audio transcription on a global scale.
- Integrates with your Squid-connected resources to streamline building AI pipelines.
Use cases
- Use in an embedded AI workflow to transcribe audio files on the fly.
- Automatically trigger transcription when new audio files are uploaded.
- Save and summarize transcriptions using a Squid AI Agent.
Run transcription
To transcribe a file, you use methods provided by the Squid Client SDK.
Note
The Squid AI Audio client requires admin access to your Squid resources. It should only be used in a secure enviroment like the Squid backend where you can safely provide your Squid API key.
To transcribe a file, use Squid AI Audio's transcribe()
method, passing the audio Blob and file name as an object:
Backend code
const audioBlobAndFilename = {
audioBlob // provide your audio as a Blob
'myAudioFile.mp3' // provide the name of the audio file
}
const transcription = await squid.ai().audio().transcribe(audioBlobAndFilename);