ok
2023-04-08 16:15:53 +09:00
ok
2023-04-08 16:15:53 +09:00
ok
2023-04-08 16:15:53 +09:00
2023-04-08 16:25:10 +09:00
2023-04-08 16:27:05 +09:00
2023-04-08 16:18:38 +09:00

Rust

Example

use voicevox_client::Client;
use std::{io::Write, fs::File};

#[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();
    let mut file = File::create("examples/hello.wav").unwrap();
    file.write_all(&audio).unwrap();
}
Description
No description provided
Readme MIT 48 KiB
Languages
Rust 100%