CLI Tool
A command-line tool that synthesizes text to speech and saves audio to a file. Uses @responsivevoice/api-client directly — server-side only, no browser involvement.
Quick start
Section titled “Quick start”export RESPONSIVEVOICE_API_KEY="your-api-key" # https://app.responsivevoice.orgexport RESPONSIVEVOICE_API_SECRET="your-api-secret" # "Server-to-server API secrets"npm installnpm run cli -- "Hello, world!" --output hello.mp3Unlike the browser examples, the CLI has no demo mode — the API client requires a valid key and secret to make HTTP requests to the synthesis endpoint. The README in the source tree lists every flag (--voice, --rate, --pitch, --volume, --stdout, --list-voices).
Next Steps
Section titled “Next Steps”- HTTP Server — REST wrapper around the same API client
- REST API Overview — direct HTTP usage
- API Client Reference — full client documentation