Official Python client for the Kova TTS API.
Project description
kova-tts
Python client for the Kova TTS API.
Install directly from GitHub before PyPI publishing:
pip install git+https://github.com/evalabs-ai/kova-tts-clients.git
from kova_tts import AudioResponseFormat, KovaTTSClient
client = KovaTTSClient(
api_key="YOUR_API_KEY",
)
result = client.tts(
text="Hello world.",
voice="cal",
response_format=AudioResponseFormat(encoding="mp3"),
timestamps=True,
normalize_text=True,
)
client.write_audio_file(result.audio, "out.mp3")
result.audio is decoded file bytes as bytes. Streaming audio events expose
decoded audio bytes on event.audio; WebSocket frames expose decoded PCM bytes
on frame.audio.
The default endpoint is https://api.evalabs.ai/v1/tts. Override base_url
only for staging or local servers.
Streaming and WebSocket APIs are async.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kova_tts-0.1.0.tar.gz.
File metadata
- Download URL: kova_tts-0.1.0.tar.gz
- Upload date:
- Size: 27.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d01e4e68e3b490c303743e8ddb0eda59d34147e87362f3aa25d60b95d9d65c2
|
|
| MD5 |
29b7cd76b51c6401f1f5756cd6686a96
|
|
| BLAKE2b-256 |
08645256f353e108c39cb81621ffc3ee8f477627c0f06ade93f9c14b18eb6f08
|
Provenance
The following attestation bundles were made for kova_tts-0.1.0.tar.gz:
Publisher:
publish-python.yml on evalabs-ai/kova-tts-clients
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kova_tts-0.1.0.tar.gz -
Subject digest:
3d01e4e68e3b490c303743e8ddb0eda59d34147e87362f3aa25d60b95d9d65c2 - Sigstore transparency entry: 1541067511
- Sigstore integration time:
-
Permalink:
evalabs-ai/kova-tts-clients@48bef641e3edea407821ce12b691f06d3a11edcc -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/evalabs-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@48bef641e3edea407821ce12b691f06d3a11edcc -
Trigger Event:
push
-
Statement type:
File details
Details for the file kova_tts-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kova_tts-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c35f53b70faf32206963e7820bae0e905fa8a3f409414b01506415df873276d
|
|
| MD5 |
b2afef5d973d4126339f79f1c512f458
|
|
| BLAKE2b-256 |
5bbff1b98d13013bc2277d9082c196ab7cbc82306a6afbb16eeaa524feade7f3
|
Provenance
The following attestation bundles were made for kova_tts-0.1.0-py3-none-any.whl:
Publisher:
publish-python.yml on evalabs-ai/kova-tts-clients
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kova_tts-0.1.0-py3-none-any.whl -
Subject digest:
6c35f53b70faf32206963e7820bae0e905fa8a3f409414b01506415df873276d - Sigstore transparency entry: 1541067861
- Sigstore integration time:
-
Permalink:
evalabs-ai/kova-tts-clients@48bef641e3edea407821ce12b691f06d3a11edcc -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/evalabs-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@48bef641e3edea407821ce12b691f06d3a11edcc -
Trigger Event:
push
-
Statement type: