Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Cartesia TTS API

The TTS API from Cartesia — 2 operation(s) for tts.

Cartesia TTS API is one of 6 APIs that Cartesia publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include TTS. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 2 operations across 2 paths, and defines 1 schema. It is described by OpenAPI 3.1.0, at version 2024-11-13.

Requests are made against a single base URL, https://api.cartesia.ai.

2 operations 2 paths 1 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2024-11-13
Base URL
https://api.cartesia.ai
Authentication
API Key, HTTP Bearer
Contact
Resource Areas
1

Authentication & Security 2

Cartesia TTS API declares 2 security schemes for authenticating requests. An API key is passed in the header as X-API-Key (ApiKeyAuth). It accepts HTTP bearer tokens (BearerAuth). By default, every request must be authenticated.

  • ApiKeyAuth — Cartesia API key (skcar...)
  • BearerAuth — Short-lived client access token

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.

TTS 2
POST
/tts/bytes
Generate speech audio as bytes
ttsBytes 1 param body → 200
POST
/tts/sse
Generate speech audio as a Server-Sent Events stream
ttsSse 1 param body → 200

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is TtsRequest (7 properties). Each schema is shown below with its type and property counts.

TtsRequest
object
7 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cartesia-tts-api-openapi.yml Raw ↑

Other APIs Cartesia publishes across the network.

Cartesia Sonic Text-to-Speech API
Cartesia Ink Speech-to-Text API
Cartesia Auth API
Cartesia STT API
Cartesia Voices API