Skip to content

A client library of OpenAI Whisper transcription and translation API for Unity.

License

Notifications You must be signed in to change notification settings

mochi-neko/Whisper-API-unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whisper-API-unity

A client library of OpenAI Whisper transcription and translation API for Unity.

See also official document.

Features

  • Transcription
    • Speech audio file to text in speeched language.
  • Translation
    • Speech audio file to text in English.

How to import by Unity Package Manager

Add following dependencies to your /Packages/manifest.json.

{
  "dependencies": {
    "com.mochineko.whisper-api": "https://github.com/mochi-neko/Whisper-API-unity.git?path=/Assets/Mochineko/WhisperAPI#1.0.1",
    "com.mochineko.relent": "https://github.com/mochi-neko/Relent.git?path=/Assets/Mochineko/Relent#0.2.0",
    "com.cysharp.unitask": "https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask",
    ...
  }
}

How to use

Please generate your API key on OpenAI.

See sample codes.

You can customize handling of retries to fit needs of your project by Relent, e.g. PolicyFactory.

Changelog

See CHANGELOG.

3rd party notices

See NOTICE.

License

Licensed under the MIT License.

About

A client library of OpenAI Whisper transcription and translation API for Unity.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages