speakvora (Python)
from speakvora import Speakvora
sv = Speakvora(os.environ["SPEAKVORA_KEY"]) # get a key at https://speakvora.com/dashboard
clip = sv.speak("Your order has shipped.", voice="af_heart") # {"url": ..., "format": ...}
sv.prepare(["Your table is ready."]) # make known lines instant
text = sv.listen(open("q.wav", "rb").read(), format="wav")["text"]
turn = sv.agent("ag_123", agent_key).turn(session="call-1", text="What time do you close?")
Errors are SpeakvoraError with status, code and a plain-language fix. Live streaming: pip install "speakvora[stream]".
Full reference: https://speakvora.com/docs
Fast streaming (0.5.0)
speak() returns a finished clip ({"url": ...}). The API now streams by default, so speak() sends stream=False for you and your code keeps working. For the fastest first audio (about 50 to 100 ms on the Phonon voices, on every plan) use speak_stream():
s = sv.speak_stream("Your order is ready for pickup.", voice="ph_zoey")
if s.streaming:
for pcm in s.chunks(): # raw 16-bit mono 24 kHz PCM bytes
play(pcm)
else:
download(s.url) # the line was already stored: play this clip
Send the request a moment before you need the audio: it adds about 100 to 150 ms once. Free accounts are spoken on our own machine; paid accounts can also open a session with sv.stream_direct().
Metadata
Release files for speakvora 0.5.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 |
|---|---|---|---|---|
| speakvora-0.5.0.tar.gz | 7.4 kB | Without provenance | Details for speakvora-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| speakvora-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for speakvora-0.5.0-py3-none-any.whl |
Total release size: 15.0 kB
Release files / speakvora-0.5.0.tar.gz
| Download URL | speakvora-0.5.0.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0ae2b25ad00ace98d6badcee306ee7b49fa2dbe07308342d1cf74c81351a504
|
|
BLAKE2b-256 checksum How to use checksums |
804c83e6363f704a2eb27de191a929b33364b38ab7c3505beb1d6f23e04001c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / speakvora-0.5.0-py3-none-any.whl
| Download URL | speakvora-0.5.0-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26a6249456a7445800614dcf1100232ff6650422f44752780730e77b4330356e
|
|
BLAKE2b-256 checksum How to use checksums |
a5fe42cc200e164ade321f2556456fbf8e3df5fcd4277bbbd94b296d1023168a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for speakvora 0.5.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.