<br />

Options to configure the MediaPipe AudioTranscriber Task on the Web.

**Signature:**

```typescript
export declare interface AudioTranscriberOptions extends TaskRunnerOptions 
```

## Properties

| Property | Modifiers | Type | Description |
|---|---|---|---|
| [sampleRateHz](https://developers.google.com/edge/api/mediapipe/js/tasks-audio.audiotranscriberoptions.md.txt#audiotranscriberoptionssampleratehz) |   | number | Input audio sample rate in Hz. Defaults to 16000 Hz when unset or 0. |
| [enableInterimResults](https://developers.google.com/edge/api/mediapipe/js/tasks-audio.audiotranscriberoptions.md.txt#audiotranscriberoptionsenableinterimresults) |   | boolean | Whether to emit interim (non-final) transcription segments during streaming. Defaults to false. |
| [modelArchitecture](https://developers.google.com/edge/api/mediapipe/js/tasks-audio.audiotranscriberoptions.md.txt#audiotranscriberoptionsmodelarchitecture) |   | AudioTranscriberModelArchitecture \| number | Model architecture backend family ('AUTO', 'OMNI', or 'TINY_GEMMA', or numeric code 0=AUTO, 1=OMNI, 2=TINY_GEMMA). Defaults to 'AUTO'. |
| [prompt](https://developers.google.com/edge/api/mediapipe/js/tasks-audio.audiotranscriberoptions.md.txt#audiotranscriberoptionsprompt) |   | string | Optional system or user prompt override for generative ASR models. |
| [modelAssetSize](https://developers.google.com/edge/api/mediapipe/js/tasks-audio.audiotranscriberoptions.md.txt#audiotranscriberoptionsmodelassetsize) |   | number | **Deprecated.** Optional byte length of `baseOptions.modelAssetBuffer` when provided as a `ReadableStreamDefaultReader`. |

## AudioTranscriberOptions.sampleRateHz

Input audio sample rate in Hz. Defaults to 16000 Hz when unset or 0.

**Signature:**

```typescript
sampleRateHz?: number;
```

## AudioTranscriberOptions.enableInterimResults

Whether to emit interim (non-final) transcription segments during streaming. Defaults to false.

**Signature:**

```typescript
enableInterimResults?: boolean;
```

## AudioTranscriberOptions.modelArchitecture

Model architecture backend family ('AUTO', 'OMNI', or 'TINY_GEMMA', or numeric code 0=AUTO, 1=OMNI, 2=TINY_GEMMA). Defaults to 'AUTO'.

**Signature:**

```typescript
modelArchitecture?: AudioTranscriberModelArchitecture | number;
```

## AudioTranscriberOptions.prompt

Optional system or user prompt override for generative ASR models.

**Signature:**

```typescript
prompt?: string;
```

## AudioTranscriberOptions.modelAssetSize

Optional byte length of `baseOptions.modelAssetBuffer` when provided as a `ReadableStreamDefaultReader`.

> [!WARNING]
> **Warning:** **Deprecated.** Unused: the model is always written to the Wasm virtual filesystem, which the native AudioTranscriber requires.

**Signature:**

```typescript
modelAssetSize?: number;
```