2 releases
0.0.1 | Jul 10, 2024 |
---|---|
0.0.0 | Jul 9, 2024 |
#682 in #model
50KB
1K
SLoC
Rust API client for Cartesia
Overview
This API client is generated using the openapi spec.
Installation
Put the package under your project folder in a directory named cartesia
and add the following to Cargo.toml
under [dependencies]
:
cartesia = { path = "./cartesia" }
Documentation for API Endpoints
All URIs are relative to https://api.cartesia.ai
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | clone_voice_from_clip | POST /voices/clone/clip | Clone Voice (Clip) |
DefaultApi | root_get | GET / | API Status and Version |
DefaultApi | tts_bytes_post | POST /tts/bytes | Stream Speech (Bytes) |
DefaultApi | tts_sse_post | POST /tts/sse | Stream Speech (Server-Sent Events) |
DefaultApi | voices_clone_url_post | POST /voices/clone/url | Clone Voice (URL) |
DefaultApi | voices_get | GET /voices | List Voices |
DefaultApi | voices_id_delete | DELETE /voices/{id} | Delete Voice |
DefaultApi | voices_id_get | GET /voices/{id} | Get Voice |
DefaultApi | voices_post | POST /voices | Create Voice |
Documentation For Models
- Get200Response
- JsonBaseResponse
- JsonChunkResponse
- JsonDoneResponse
- JsonErrorResponse
- OutputFormat
- TtsRequest
- TtsSsePost200Response
- Voice
- Voice1
- Voice1OneOf
- Voice1OneOf1
- VoiceEmbedding
- VoicesPostRequest
To get access to the crate's generated documentation, use:
cargo doc --open
Dependencies
~7–19MB
~286K SLoC