iSukces.Cli.Whisper 1.26.713.1

dotnet add package iSukces.Cli.Whisper --version 1.26.713.1
                    
NuGet\Install-Package iSukces.Cli.Whisper -Version 1.26.713.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="iSukces.Cli.Whisper" Version="1.26.713.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="iSukces.Cli.Whisper" Version="1.26.713.1" />
                    
Directory.Packages.props
<PackageReference Include="iSukces.Cli.Whisper" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add iSukces.Cli.Whisper --version 1.26.713.1
                    
#r "nuget: iSukces.Cli.Whisper, 1.26.713.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package iSukces.Cli.Whisper@1.26.713.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=iSukces.Cli.Whisper&version=1.26.713.1
                    
Install as a Cake Addin
#tool nuget:?package=iSukces.Cli.Whisper&version=1.26.713.1
                    
Install as a Cake Tool

iSukces.Cli.Whisper

Polska wersja

NuGet

.NET library for running OpenAI Whisper CLI from C# code. It provides a configuration model for whisper.exe calls, builds process arguments, supports transcription and translation tasks, integrates execution with a Python virtual environment, and includes predefined Whisper model names and metadata.

Requirements

  • .NET 10
  • OpenAI Whisper CLI installed and available in the Python environment
  • Python virtual environment represented by PythonVenv

External tools and AI models

  • OpenAI Whisper CLI, the whisper.exe process, Python, and the Python virtual environment are external dependencies supplied outside this package.
  • The OpenAI Whisper project is available at https://github.com/openai/whisper, and its repository currently declares the MIT license at https://github.com/openai/whisper/blob/main/LICENSE.
  • Whisper models, including tiny, base, small, medium, large, and turbo, are external AI models used by OpenAI Whisper CLI; this package stores only their names and configuration metadata.
  • PyTorch, CUDA, GPU drivers, and other dependencies required by Whisper CLI are not part of this package.
  • This package does not include, distribute, install, download, link against, or license OpenAI Whisper, Whisper models, Python, PyTorch, CUDA, or GPU drivers.
  • This package invokes an independently installed whisper.exe executable as a separate operating-system process, passing command-line arguments through the process execution layer.
  • Users are responsible for installing OpenAI Whisper and ensuring that their use of the selected Whisper version, models, Python packages, GPU stack, and generated outputs complies with the licenses and terms applicable to those external components.

Installation

NuGet package:

dotnet add package iSukces.Cli.Whisper

Usage

Minimal transcription call:

var result = await new WhisperCli
{
    Venv = pythonVenv,
    InputFile = "audio.mp3",
    Model = WhisperModel.Turbo,
    OutputFormat = WhisperOutputFormat.Srt
}.RunAsync(workingDirectory: null);

Audio translation to English:

var result = await new WhisperCli
{
    Venv = pythonVenv,
    InputFile = "japanese.wav",
    Model = WhisperModel.Medium,
    Language = WhisperLanguages.Japanese,
    Task = WhisperTask.Translate
}.RunAsync(workingDirectory: null);

Do not type language names directly as string literals, for example Language = "Japanese". Use constants from the WhisperLanguages class, for example WhisperLanguages.Japanese or WhisperLanguages.Ja, to keep values consistent with languages accepted by Whisper CLI.

Main types

WhisperCli

Builds arguments for whisper.exe and runs the process through the base CLI mechanism. It supports input file, model, language, output directory, output format, task, temperature, initial prompt, time range, and options related to previous-text context.

WhisperModel

Describes Whisper models with parameter count, multilingual model name, English-only model name, VRAM requirements, and relative speed. The class exposes predefined models: WhisperModel.Tiny, WhisperModel.Base, WhisperModel.Small, WhisperModel.Medium, WhisperModel.Large, and WhisperModel.Turbo. WhisperModel.All contains all defined models.

WhisperLanguages

Contains string constants for languages accepted by OpenAI Whisper CLI. The class exposes both short language codes, for example WhisperLanguages.Ja, WhisperLanguages.Pl, and WhisperLanguages.En, and English language names, for example WhisperLanguages.Japanese, WhisperLanguages.Polish, and WhisperLanguages.English. Use these constants to set WhisperCli.Language without hard-coded string literals.

WhisperTask

Defines the Whisper task mode: Transcribe or Translate.

WhisperOutputFormat

Defines the output format: Txt, Vtt, Srt, Tsv, Json, or All.

Build

dotnet build ..\iSukces.Cli.sln

Project configuration

  • Target framework: net10.0
  • Package license: MIT for the iSukces.Cli.Whisper package code only

Dependencies

  • iSukces.CliTools — base library for running CLI processes and building arguments.
  • iSukces.Cli.Python — Python and virtual environment process integration.
  • Externally installed tools and libraries: OpenAI Whisper CLI, Python, PyTorch/CUDA according to the Whisper environment requirements.

OpenAI Whisper is an external project. Copyrights in OpenAI Whisper, its documentation, and related assets belong to their respective authors and copyright holders. This package does not include OpenAI Whisper source code, binaries, Python packages, or model files; it only stores selected configuration names and metadata needed to call an externally installed whisper.exe process.

The MIT license declared by this NuGet package applies to the iSukces.Cli.Whisper package code. It does not grant rights to OpenAI Whisper, Whisper models, Python, PyTorch, CUDA, GPU drivers, or any other component installed outside this package. Users should review the license and usage terms for every external component and model they install.

Integration model

This package acts as a process wrapper. It does not copy OpenAI Whisper code, bundle Whisper binaries, bundle model files, install Python packages, or link against OpenAI Whisper internals. The integration consists of invoking a separate program through the operating system with command-line arguments.

The package includes model names, language constants, and argument-building helpers so that C# applications can configure an external Whisper CLI invocation without hard-coded command-line strings. This technical summary is not legal advice.

Trademarks

OpenAI and Whisper are used descriptively only to indicate compatibility with the OpenAI Whisper CLI tool. This package is not created, sponsored, or endorsed by OpenAI.

Disclaimer

This package only provides a .NET layer that starts the external whisper.exe process in the operating system. It acts as a bridge/facade for a tool supplied and installed outside this package.

This package does not include the OpenAI Whisper CLI or Whisper models, does not modify how they work, and is not responsible for their licenses, results, failures, environment requirements, resource usage, generated content, or any damages resulting from the use of that external tool, its dependencies, or AI models.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.26.713.1 123 7/13/2026