Skip to main content
This guide walks you through making your first CAMB.AI API call to generate speech from text.

Prerequisites

  1. A CAMB.AI account (sign up at studio.camb.ai)
  2. Your API key (see Authentication)
1

Install the SDK

2

Generate Speech

3

Play the Audio

Open output.wav with any audio player to hear the generated speech.

Option 2: Using cURL

Option 3: Using the API Directly

Understanding the Response

The API returns raw audio data by default. Key parameters:

Output Formats

Specify the output format in output_configuration:

Explore Voices

List available voices to find the right one for your use case:

Next Steps

How Tasks & Runs Work

Understand the async task pattern

SDK Guide

Deep dive into SDK features

MARS 8 Models

Compare TTS model variants

API Reference

Explore all endpoints
Last modified on May 12, 2026