# Transcribe audio into text
> Supported in: Batch, Faster
Transcribes an audio file into text.
**Expression categories:** Media
## Declared arguments
* **Media reference:** The column containing media references to audio files in a media set.
*Expression\*
* *optional* **Language:** The language to detect in the input file. If no language is provided, it will be inferred from the first 30 seconds of audio.
*Enum\*
* *optional* **Output mode:** Choose between simply returning the output or returning a struct, containing both the output and any errors.
*Enum\*
* *optional* **Performance mode:** The performance mode to use when running transcription. If no mode is provided, we will default to the more economical option.
*Enum\*
**Output type:** *String | Struct\*
## Examples
### Example 1: Base case
**Description:** Transcribe the audio file
**Argument values:**
* **Media reference:** `mediaReference`
* **Language:** *null*
* **Output mode:** *null*
* **Performance mode:** *null*
| mediaReference | **Output** |
| ----- | ----- |
| {"mimeType":"audio/mpeg","reference":{"type":"mediaSetItem","mediaSetItem":{"mediaSetRid":"ri.mio.main.media-set.a", "mediaItemRid":"ri.mio.main.media-item.a"}}} | This is an example transcription from Whisper |
***
### Example 2: Null case
**Argument values:**
* **Media reference:** `Media Reference`
* **Language:** *null*
* **Output mode:** *null*
* **Performance mode:** *null*
| mediaReference | **Output** |
| ----- | ----- |
| *null* | *null* |
***