sesli-ai
Turkish-first AI voice platform SDK. High-quality Turkish speech synthesis and real-time voice agents with KVKK-compliant data residency in Turkey.
Installation
pip install sesli-ai
For async support (requires httpx):
pip install sesli-ai[async]
Quick Start
from sesli_ai import SesliAI
client = SesliAI(api_key="your-api-key", base_url="https://api.sesli.ai")
# Text-to-speech
audio = client.tts.synthesize(text="Merhaba dunya", voice_id="default-tr")
with open("output.wav", "wb") as f:
f.write(audio)
Streaming
from sesli_ai import StreamingClient
streamer = StreamingClient(api_key="your-api-key")
for chunk in streamer.stream("Merhaba dunya!", voice_id="tr-female-01"):
play(chunk) # raw PCM int16 LE bytes
Async Usage
Requires pip install sesli-ai[async].
import asyncio
from sesli_ai import AsyncSesliAI
async def main():
async with AsyncSesliAI(api_key="your-api-key", base_url="https://api.sesli.ai") as client:
audio = await client.tts.synthesize(text="Merhaba dunya", voice_id="default-tr")
with open("output.wav", "wb") as f:
f.write(audio)
asyncio.run(main())
Links
- GitHub: github.com/AhmetHTTP/sesliapi
- Documentation: https://docs.sesli.ai
- License: Apache 2.0
Metadata
Release files for sesli-ai 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sesli_ai-1.0.0.tar.gz | 17.3 kB | Without provenance | Details for sesli_ai-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sesli_ai-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for sesli_ai-1.0.0-py3-none-any.whl |
Total release size: 35.6 kB
Release files / sesli_ai-1.0.0.tar.gz
| Download URL | sesli_ai-1.0.0.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7eedbc6f04f6cb22b6a12b20843f669241c0bfd44e6e787e79557c2c5407ebe6
|
|
BLAKE2b-256 checksum How to use checksums |
2592b88717893f4a64ea2aee9bc775525146c21b53c72a34feb5844ba8a64d9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / sesli_ai-1.0.0-py3-none-any.whl
| Download URL | sesli_ai-1.0.0-py3-none-any.whl |
|---|---|
| Size | 18.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a7515fe13f82f94fb39b8b1bba444ca888f5bb3f98b28b3faa94453b2816b95
|
|
BLAKE2b-256 checksum How to use checksums |
ed111cf980480dba578462fc809c30875b078b7be9476a3f85f7c99458d8d1ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Security for sesli-ai 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.