Worked with deepgram API for speech to text for MLH: LHD : Build Day 3
It generates the transcript for the given audio with other details such as duration, confidence for entire transcript as well as individual words.
To use the deepgram API yourself: https://deepgram.com/why-deepgram/