Files
rust/README.md
2023-04-08 16:15:48 +09:00

333 B

Rust

Example

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("hello", 1)
        .await
        .unwrap();
    let bytes = audio_query.synthesis(1)
        .await
        .unwrap();
}