fix: iroiro

This commit is contained in:
tuna2134
2023-04-08 16:15:48 +09:00
parent ac61e29c3a
commit afc781e8c4
8 changed files with 80 additions and 30 deletions

12
examples/basic.rs Normal file
View File

@ -0,0 +1,12 @@
use voicevox_client::Client;
#[tokio::main]
async fn main() {
let client = Client::new("http://localhost:50021".to_string());
let audio_query = client
.create_audio_query("こんにちは", 1, None)
.await
.unwrap();
let audio = audio_query.synthesis(1).await.unwrap();
println!("audio: {:?}", audio);
}