Skip to main content
Learn how to instantly generate lifelike audio from text using Novisurf’s fast TTS API.

Overview

The Novisurf speech endpoint lets you convert text to spoken audio in seconds. It is fully OpenAI-compatible — just swap the base URL and API key and your existing code works out of the box.

Endpoint

Authentication

Bearer token (recommended)
X-API-Key header
Your API key is available in the Novisurf Dashboard.

Supported Models

Quick Start

The speech endpoint takes four key inputs:
  • model: the TTS model to use
  • input: the text to generate audio from
  • voice: the desired voice for output
  • response_format: defaults to mp3

Parameters


Python

JavaScript

cURL


Response

The response is raw audio binary in the requested format, not JSON. Save the response body directly to a file.

Error Codes