# Cartesia JavaScript SDK for Low-Latency Voice Generation

> An ASE skill built around the official Cartesia JavaScript SDK for text-to-speech and voice API workflows. It is a strong fit for agents that need programmatic voice generation, low-latency speech responses, and direct integration with Cartesia’s hosted models.

- Skill: `agentskillexchange/cartesia-javascript-sdk-for-low-latency-voice-generation` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/cartesia-javascript-sdk-for-low-latency-voice-generation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/cartesia-javascript-sdk-for-low-latency-voice-generation/raw
- Safety review: pending (external: skill-scanner PASS, skillspector CAUTION)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/cartesia-javascript-sdk-for-low-latency-voice-generation

---


# Cartesia JavaScript SDK for Low-Latency Voice Generation

An ASE skill built around the official Cartesia JavaScript SDK for text-to-speech and voice API workflows. It is a strong fit for agents that need programmatic voice generation, low-latency speech responses, and direct integration with Cartesia’s hosted models.

## Prerequisites

Node.js or TypeScript runtime with the @cartesia/cartesia-js package

## Installation

Use the upstream install or setup path that matches your environment:
- npm install @cartesia/cartesia-js

Requirements and caveats from upstream:
- // If you have access to Node fs we recommend using fs.createReadStream():
- <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/node.svg" align="top" width="18" height="21"> **Node** <sup>[[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAg...
- Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.

Basic usage or getting-started notes:
- sh
- The full API of this library can be found in [api.md](api.md).
- <!-- prettier-ignore -->

- Source: https://github.com/cartesia-ai/cartesia-js
- Extracted from upstream docs: https://raw.githubusercontent.com/cartesia-ai/cartesia-js/HEAD/README.md

## Documentation

- https://docs.cartesia.ai/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/cartesia-javascript-sdk-low-latency-voice-generation/)

