Official SDKs
Client libraries for Python and TypeScript
Python
- Requires Python 3.8+
- Source code & docs
- PyPI package
TypeScript / JavaScript
- Works in Node.js and modern browsers
- Source code & docs
- NPM package
The old @speechify/api-sdk package is deprecated. See the changelog to upgrade.
Make a request
After installing, call any endpoint — the SDKs read SPEECHIFY_API_KEY from the environment automatically. Not using an SDK? The cURL tab shows the equivalent raw HTTP request.
The SDKs also send a build-date Speechify-Version header by default. Raw HTTP callers should pin the same header explicitly; see API Versioning.
See the API Reference for all available endpoints.
Environment variables
Both SDKs read the SPEECHIFY_API_KEY environment variable automatically:
You can also pass the key explicitly when creating the client. See the Authentication guide for security best practices.