[comment]: # (README.md is autogenerated from src/lib.rs by `cargo readme > README.md`) # elevenlabs-api
A very simple Rust library for Elevenlabs API, free from complex async operations and redundant dependencies. Inspired by [openai-api](https://github.com/openai-rs/openai-api). ### API Check the [official](https://docs.elevenlabs.io/api-reference/quick-start/introduction) API reference. |API|Support| |---|---| |Text to Speech|✔️| |Text to Speech Stream|❌| |Models|❌| |Voices|❌| |Samples|❌| |History|❌| |User|❌| ### Usage Install the library using the Cargo.toml file. Export your API key into the environment variables ```console export ELEVENLABS_API_KEY=... ``` Then use the crate in your Rust code: ```rust // import the dependencies use elevenlabs_api::{ tts::{TtsApi, TtsBody}, *, }; // Load API key from environment ELEVENLABS_API_KEY. // You can also hadcode through `Auth::new(