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

Camb.AI Text-to-Speech API

Convert text to speech with the MARS voice models.

Camb.AI Text-to-Speech API is one of 6 APIs that Camb.AI publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Text-to-Speech. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and an AsyncAPI specification.

This API exposes 4 operations across 4 paths, and defines 5 schemas. It is described by OpenAPI 3.0.3, at version 1.0.

Requests are made against a single base URL, https://client.camb.ai/apis.

4 operations 4 paths 5 schemas 2 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0
Base URL
https://client.camb.ai/apis
Authentication
API Key
Contact
Resource Areas
1

Authentication & Security 1

Camb.AI Text-to-Speech API declares 1 security scheme for authenticating requests. An API key is passed in the header as x-api-key (apiKeyAuth). By default, every request must be authenticated.

Paths & Operations 4

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

Text-to-Speech 4

Convert text to speech with the MARS voice models.

POST
/tts-stream
Stream text-to-speech
createTtsStream body → 200401
POST
/ttsdeprecated
Create a text-to-speech task (deprecated)
createTts body → 200401
GET
/tts/{task_id}
Poll a text-to-speech task
getTtsStatus 1 param → 200401
GET
/tts-result/{run_id}
Download text-to-speech audio
getTtsResult 1 param → 200401

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are TtsStreamRequest (9 properties), TtsRequest (5 properties), TaskStatus (2 properties), Error (2 properties). Each schema is shown below with its type and property counts.

Error
object
2 properties
TaskCreated
object
1 property
TaskStatus
object
2 properties
TtsStreamRequest
object
9 properties 3 required
TtsRequest
object
5 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

camb-ai-text-to-speech-api-openapi.yml Raw ↑

Other APIs Camb.AI publishes across the network.

Camb.AI Dubbing API
Camb.AI Languages API
Camb.AI Transcription API
Camb.AI Translation API
Camb.AI Voices API