[comment]: # (README.md is autogenerated from src/lib.rs by `cargo readme > README.md`) # fakeyou-api
A very simple Rust library for FakeYou API. ### API Check the [official](https://docs.fakeyou.com/) API reference. |API|Support| |---|---| |Text to Speech|✔️| |Voices|✔️| |Categories|✔️| ### Usage Install the library using the Cargo.toml file or run the following command. ```console cargo add fakeyou-api ``` Export your API key into the environment variables (if you use the paid version). ```console export FAKEYOU_API_KEY=... ``` Then use the crate in your Rust code: ```rust // Import the dependencies use fakeyou_api::{tts::InferenceBody, util::tts::TtsApiSync, *}; // You can create a default client without any api key. // You can also load the API key from environment FAKEYOU_API_KEY. // You can also hadcode through `Auth::new(