#openapi #binding #api-bindings #engine #text #speech #voice-vox

voice_vox_api

VoiceVox Engine openapi rust binding

3 unstable releases

0.13.4 Jan 14, 2023
0.13.3 Oct 2, 2022
0.13.2 Oct 2, 2022
0.13.0 Sep 20, 2022
0.11.4 May 4, 2022

#2010 in Web programming

Download history 5/week @ 2024-02-25 68/week @ 2024-03-31

68 downloads per month

MIT/Apache

71KB
2K SLoC

VoiceVox openapi binding for rust.

VoiceVox is a japanese deep learning based Text to Speech software with many customizable parameters.

How to use

  1. install VoiceVox
  2. add to dependency with voice_vox_api and tokio.
  3. startup VoiceVox or VoiceVox Engine eg. run.exe
  4. fill parameters in api fields and .call().await.

use with async-std / wasm

voice_vox_api={version="0.13.4",features = ["backend_surf"]}

use with tokio / async-std+tokio02 feature / wasm

voice_vox_api={version="0.13.4",features = ["backend_reqwest"]}

works grate crates.

  • egui / iced - gui crates
  • rodio - audio playback.

sample

versioning

  • use same version number with VoiceVox engine.
  • some fix applied without announce
  • maybe break semver.

fix

  • fix pause mora in project file.
  • use f64 instead of f32 to provicde same precision as VoiceVox.

lib.rs:

VoiceVox 0.13.3 api implementation.

Dependencies

~0.7–15MB
~175K SLoC