mirror of
https://github.com/mii443/rust.git
synced 2025-08-22 16:25:37 +00:00
fix: iroiro
This commit is contained in:
18
README.md
Normal file
18
README.md
Normal file
@ -0,0 +1,18 @@
|
||||
# Rust
|
||||
|
||||
## Example
|
||||
```rust
|
||||
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();
|
||||
}
|
||||
```
|
Reference in New Issue
Block a user