https://github.com/Uralstech/UCloud.TextToSpeech
A Unity C# wrapper for the Google Cloud Text-To-Speech API.
https://github.com/Uralstech/UCloud.TextToSpeech
google-cloud google-cloud-platform google-cloud-text-to-speech google-cloud-text-to-speech-api integration openupm unity unity-integration unity-package unity-packages unity3d unity3d-plugin
Last synced: 8 months ago
JSON representation
A Unity C# wrapper for the Google Cloud Text-To-Speech API.
- Host: GitHub
- URL: https://github.com/Uralstech/UCloud.TextToSpeech
- Owner: Uralstech
- License: apache-2.0
- Created: 2024-11-18T16:48:14.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-03T18:24:24.000Z (about 1 year ago)
- Last Synced: 2025-03-15T12:31:46.564Z (10 months ago)
- Topics: google-cloud, google-cloud-platform, google-cloud-text-to-speech, google-cloud-text-to-speech-api, integration, openupm, unity, unity-integration, unity-package, unity-packages, unity3d, unity3d-plugin
- Language: C#
- Homepage: https://uralstech.github.io/UCloud.TextToSpeech/
- Size: 6.2 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# UCloud.TextToSpeech
A Unity C# wrapper for the Google Cloud Text-To-Speech API.
[](https://openupm.com/packages/com.uralstech.ucloud.texttospeech/)
[](https://openupm.com/packages/com.uralstech.ucloud.texttospeech/)
## Installation
Requires Unity 6.0 because of the plugin's usage of [*Awaitable*](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Awaitable.html). Built and tested in Unity 6.0.
### OpenUPM
1. Open project settings
2. Select `Package Manager`
3. Add the OpenUPM package registry:
- Name: `OpenUPM`
- URL: `https://package.openupm.com`
- Scope(s)
- `com.uralstech`
4. Open the Unity Package Manager window (`Window` -> `Package Manager`)
5. Change the registry from `Unity` to `My Registries`
6. Add the `UCloud.TextToSpeech` package
### Unity Package Manager
1. Open the Unity Package Manager window (`Window` -> `Package Manager`)
2. Select the `+` icon and `Add package from git URL...`
3. Paste the UPM branch URL and press enter:
- `https://github.com/Uralstech/UCloud.TextToSpeech.git#upm`
4. Check the instructions for [`UCloud.Operations`](https://uralstech.github.io/UCloud.Operations) and [`Utils.Singleton`](https://uralstech.github.io/Utils.Singleton) to install the dependencies
### GitHub Clone
1. Clone or download the repository from the desired branch (master, preview/unstable)
2. Drag the package folder `UCloud.TextToSpeech/UCloud.TextToSpeech/Packages/com.uralstech.ucloud.texttospeech` into your Unity project's `Packages` folder
3. Check the instructions for [`UCloud.Operations`](https://uralstech.github.io/UCloud.Operations) and [`Utils.Singleton`](https://uralstech.github.io/Utils.Singleton) to install the dependencies
## Preview Versions
Do not use preview versions (i.e. versions that end with "-preview") for production use as they are unstable and untested.
## API Support
- [x] `operations` endpoint\*
- [x] `cancel` method\*
- [x] `delete` method\*
- [x] `projects.locations` endpoint
- [ ] `synthesizeLongAudio` method
- [x] `projects.locations.operations` endpoint\*
- [x] `get` method\*
- [x] `list` method\*
- [x] `text` endpoint
- [x] `synthesize` method
- [x] `voices` endpoint
- [x] `list` method
\*Through package dependency [UCloud.Operations](https://github.com/Uralstech/UCloud.Operations).
## Documentation
See or `APIReferenceManual.pdf` and `Documentation.pdf` in the package documentation for the reference manual and tutorial.