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
<PackageReference Include="iSukces.Cli.Whisper" Version="1.26.713.1" />
<PackageVersion Include="iSukces.Cli.Whisper" Version="1.26.713.1" />
<PackageReference Include="iSukces.Cli.Whisper" />
paket add iSukces.Cli.Whisper --version 1.26.713.1
#r "nuget: iSukces.Cli.Whisper, 1.26.713.1"
#:package iSukces.Cli.Whisper@1.26.713.1
#addin nuget:?package=iSukces.Cli.Whisper&version=1.26.713.1
#tool nuget:?package=iSukces.Cli.Whisper&version=1.26.713.1
iSukces.Cli.Whisper
.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.exeprocess, 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, andturbo, 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.exeexecutable 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 copyright and license
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 | Versions 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. |
-
net10.0
- iSukces.Cli.Python (>= 1.26.713.1)
- iSukces.CliTools (>= 1.26.713.1)
- iSukces.Translation (>= 1.26.204.17)
- YamlDotNet (>= 18.1.0)
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 |