Skip to content
pubscout

whisper_flutter_new

1.0.1, released 2 years ago by xcl.ink

Use whisper.cpp speech-to-text models implementation for Android and iOS

Copyleft license
$ flutter pub add whisper_flutter_new
Source repository

What it does

Provides an implementation of whisper.cpp models for speech-to-text transcription and translation on Android, iOS, and macOS. Supports multiple model sizes from tiny to large, allowing offline audio processing.

AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need on-device speech-to-text transcription for audio files
  • You want to run whisper.cpp models within a Flutter application on Android, iOS, or macOS

Skip it when

  • You require cloud-based speech recognition services with streaming real-time mic input not supported by this API
  • You are targeting platforms other than Android, iOS, and macOS

Strengths

  • Supports multiple whisper.cpp model sizes (tiny, base, small, medium, large)
  • Optimized and fast native implementations for mobile and desktop platforms

Weaknesses

  • Requires managing model files and downloads
  • Limited platform support (Android, iOS, macOS only)

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
Yes (build_runner)
Direct dependencies
5

Requires supplying audio files in WAV format and downloading whisper.cpp model files.

final Whisper whisper = Whisper(
    model: WhisperModel.base,
    downloadHost: "https://huggingface.co/ggerganov/whisper.cpp/resolve/main"
);
final String transcription = await whisper.transcribe(
    transcribeRequest: TranscribeRequest(
        audio: jfkPath,
        isTranslate: true,
        isNoTimestamps: false,
        splitOnWord: true,
    ),
);

Alternatives

Packages that do the same job and could replace whisper_flutter_new.

Works with

Packages commonly used together with whisper_flutter_new: ones it builds on, ones built on it, and its own family.