Transcript
Transcribe a recording using a speech to text model
returns Transcript
Convert spoken words from an AudioClip
into text using powerful AI transcription models. Ideal for voice commands, user feedback, subtitles, or audio-driven gameplay systems.
Basic Usage
AudioClip recording = MicrophoneCapture.GetLastClip();
string result = await recording
.GENTranscript()
.SetModel(OpenAIModel.Whisper)
.SetLanguage(SystemLanguage.Korean)
.ExecuteAsync();
Debug.Log("Transcript: " + result);
GENTranslation
returns Transcript
You can also translate speech into English using GENTranslation.
string english = await recording
.GENTranslation()
.SetModel(OpenAIModel.Whisper)
.ExecuteAsync();
Last updated