Was macht 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():
- Node [[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAg...
- Node.js 20 LTS or later (non-EOL) versions.
Basic usage or getting-started notes:
-
sh
-
The full API of this library can be found in api.md.
-
Extracted from upstream docs: https://raw.githubusercontent.com/cartesia-ai/cartesia-js/HEAD/README.md