Skip to main content
← All APIs

TTS that gives application text a voice.

Generate clean spoken WAV audio from application text.

Usage price$0.15 / 10,000 weighted characters
Output24 kHz · 16-bit · mono WAV
Published voicesstella · tide
Audio file deliveryPOST /synthesize
Response formataudio/wav
24 kHz · 16-bit · mono WAV
Published voices
stellatide
textstring
Complete text to synthesize into speech
filter_markdownboolean
Strip Markdown syntax before speaking
voice_idstring
Published synthesis voice identifier

Output specification from the published release. No audio is generated on this page.

View full response contract

Generate clean spoken audio from your backend.

Spoken notifications & alerts

Turn status updates, reminders or accessibility readouts into crisp WAV files on demand.

Short-form content playback

Synthesize articles, briefs or summaries with optional Markdown filtering so symbols are not read aloud.

Voice responses for apps & agents

Deliver binary WAV audio directly from your backend while keeping playback controls inside your product.

Binary WAV delivery with clear character metering.

Choose a published voice and send complete text. The response body is ready to save as a standard 24 kHz mono WAV file.

Read the guide

Weighted character counting

Each Han character counts as 2 units and every other Unicode code point counts as 1 unit, up to 10,000 weighted characters within the request-body limit.

Markdown filtering & audio length

Enabling filter_markdown cleans what is spoken while billing still counts your original input text. Generated audio can run up to 30 minutes.

Operations and pricing

Release v1.0.0 · 1 endpoint

API reference
PathDescriptionBilling
POST/synthesizeSynthesize speech$0.15 / 10,000 weighted characters
Technical limits
ⓘThese limits apply unless an endpoint lists different limits.
Timeout
240 s
Request body
64 KiB
Response body
86400044 B

Your first API request

Send requests to https://api.antapi.dev with ANTAPI_KEY in your environment.

Call directly from your AI agent

Connect over Streamable HTTP MCP with browser OAuth under your project budget.

tts_synthesize
Synthesize speech$0.15 / 10,000 weighted characters
POST /tts/v1/synthesize
curl --request POST 'https://api.antapi.dev/tts/v1/synthesize' \
  --header "Authorization: Bearer $ANTAPI_KEY" \
  --data-raw '{"filter_markdown":true,"text":"Hello from AntAPI.","voice_id":"stella"}' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <YOUR_SAVED_OPERATION_KEY>' \
  --output 'speech.wav'

Add clear spoken audio to your product.

Create an account, issue a key, and make your first request.

Start building