Skip to content
@responsivevoice

ResponsiveVoice

AI-powered text-to-speech (TTS) SDKs and APIs for web and SaaS apps. ResponsiveVoice helps developers add voice in minutes with predictable pricing.

ResponsiveVoice

ResponsiveVoice

Modern, TypeScript-first text-to-speech for the web.

npm version npm downloads TypeScript types included License: MIT


ResponsiveVoice turns text into speech with one small, well-typed API. The same speak() call works with the browser's built-in voices, a hosted multilingual catalog, or premium neural voices from your own provider keys — voice resolution, fallback, chunking, and streaming are handled for you.

  • One simple APIspeak(text, voice, options) is most of the surface area.
  • TypeScript-first — full type definitions, shipped as ESM, CJS, and a browser IIFE.
  • Browser-native + cloud — speaks via the Web Speech API out of the box, with hosted voices when you want them.
  • Bring your own key (BYOK) — route premium voices from Google Cloud, Microsoft Azure, and OpenAI through the same call, with more providers on the way.
  • Streaming — HTTP and WebSocket audio streaming for low-latency playback.
  • Free to start — demo mode needs no account, and everything is MIT licensed.

Quick start

npm install @responsivevoice/core
import { getResponsiveVoice } from '@responsivevoice/core';

const rv = await getResponsiveVoice({ apiKey: 'YOUR_API_KEY' });

rv.speak('Hello world', 'UK English Female');

Prefer a script tag? Drop in the browser bundle from the CDN:

<script src="https://cdn.responsivevoice.org/sdk/latest/responsivevoice.js"></script>
<script>
  responsiveVoice.init({ apiKey: 'YOUR_API_KEY' });
  responsiveVoice.speak('Hello world', 'UK English Female');
</script>

Unlock the full voice catalog

Out of the box, core runs in demo mode and speaks with the browser's default voice — no account required. To unlock the hosted multilingual catalog:

  1. Register for a free account — a default website is created for you, and its identifier is your API key.
  2. Initialize core with that key.
  3. Verify your website's domain in the dashboard so requests from your site are recognized.

One API, every voice engine

You write against a single interface; ResponsiveVoice picks the right engine and gets out of the way.

Tier Voices Needs
Browser The device's built-in Web Speech voices Nothing — works in demo mode
Hosted Multilingual server voice catalog A free API key
Premium (BYOK) Google Cloud, Microsoft Azure, OpenAI, … Your own provider key

Bring your own key and premium neural voices route through the exact same speak() call — no SDK swaps, no per-provider glue code. More providers are on the way.

Packages

Package Description Links
@responsivevoice/core Browser & Node.js TTS client — start here npm · repo
@responsivevoice/api-client REST & WebSocket client for the ResponsiveVoice API npm · repo

Links

responsivevoice.org · Documentation · npm organization · Examples

Popular repositories Loading

  1. .github .github Public

    ResponsiveVoice organization public profile

  2. examples examples Public

    Example apps & demos for the ResponsiveVoice text-to-speech (TTS) API

    HTML

  3. core core Public

    ResponsiveVoice TypeScript Text-to-Speech (TTS) client library

    TypeScript

  4. api-client api-client Public

    TypeScript REST client for the ResponsiveVoice text-to-speech (TTS) API — speech synthesis & voice generation

    TypeScript

  5. features features Public

    Dashboard feature plugins for the ResponsiveVoice text-to-speech (TTS) platform

    TypeScript

  6. text text Public

    Text processing & normalization utilities for ResponsiveVoice text-to-speech (TTS)

    TypeScript

Repositories

Showing 8 of 8 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…