mp.tasks.audio.AudioTranscriberOptions

Options for MediaPipe AudioTranscriber task.

base_options Base options for the MediaPipe task (model path and delegate).
sample_rate_hz Input PCM audio sample rate in Hz.
enable_interim_results Whether to emit interim hypotheses during streaming.
model_architecture ASR model family routing (AUTO, OMNI, or TINY_GEMMA).
prompt Optional decoding prompt override; None uses the model default.
cache_dir Optional directory path for compiled weight/program caches; None disables disk caching.

Methods

__eq__

Return self==value.

cache_dir None
enable_interim_results False
model_architecture <ModelArchitecture.AUTO: 0>
prompt None
sample_rate_hz 16000