Text-to-speech API

Tongan text-to-speech API

Generate Tongan speech from your own code. List Tongan voices with GET /v1/voices, then send Tongan text to POST /v1/text-to-speech. Fast costs $5 per million characters, and Streaming through the REST API costs $5.

Get your API key · See pricing

Make your first Tongan request

1. Find a Tongan voice

curl "https://api.giggy.ai/v1/voices?language=Tongan&limit=5" \
  -H "xi-api-key: $GIGGY_API_KEY"

2. Generate Tongan speech

curl https://api.giggy.ai/v1/text-to-speech \
  -H "xi-api-key: $GIGGY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Mālō e lelei, pea talitali lelei. ʻE lava ke u lau leʻo lahi hoʻo ngaahi leá ʻaki ha leʻo mahino mo natula.", "voice_id": "VOICE_ID_FROM_STEP_1", "model_id": "giggyspeech", "mode": "fast", "output_format": "mp3_24000_160"}' \
  --output speech.mp3

Create an API key in the Speech API dashboard; Personal accounts get 10,000 free credits a month.

Get your API key · Read the API docs · API reference

Hear Tongan voices

Example Tongan text

Mālō e lelei, pea talitali lelei. ʻE lava ke u lau leʻo lahi hoʻo ngaahi leá ʻaki ha leʻo mahino mo natula.

Browse every Tongan voice in the Voice Library

Text to speech: what you pay

Published pay-as-you-go text-to-speech prices
ProviderMode or modelUSD per 1M characters
GiggyFast$5.00
GiggyStreaming$10.00
Fish AudioS2.1 Pro$15.00
InworldRealtime TTS-2 Flash$15.00
OpenAItts-1$15.00
AzureNeural TTS$15.00
InworldRealtime TTS-2$25.00
AmazonPolly Generative$30.00
DeepgramAura-2$30.00
GoogleChirp 3: HD$30.00
OpenAItts-1-hd$30.00
CartesiaSonic-3.6 · Scale overage$38.00
ElevenLabsFlash v2.5$40.00
ElevenLabsMultilingual v2 / v3 / v4$80.00
MiniMaxSpeech-02-HD$100.00

ElevenLabs, OpenAI, Deepgram, Google, Amazon and Azure checked November 11, 2026; Fish and Inworld October 20; Cartesia and MiniMax October 13.

What Tongan speech costs

Batch costs $0.20, Fast $5 and Streaming $10 per 1,000,000 characters with Pro, Studio or Scale credits. Tongan is in the Latin-script rate group, so Streaming through the REST API costs $5. Giggy counts Unicode code points, including spaces and punctuation. Personal accounts get 10,000 free credits a month.

Formats and integrations

Batch and Fast return 24 kHz MP3; Streaming returns progressive 24 kHz PCM, so playback can start before generation finishes. The same voice IDs work with the OpenAI-compatible POST /v1/audio/speech endpoint, the Python and JavaScript SDKs and the Giggy MCP server.

Tongan speech to text

Giggy does not offer Tongan speech to text yet. Speech to text covers 27 languages; Tongan text to speech is available now.

Frequently asked questions

Is there a Tongan text-to-speech API?

Yes. Giggy's Speech API generates Tongan speech from text. List Tongan voices with GET /v1/voices?language=Tongan, then send your text and a voice_id to POST /v1/text-to-speech.

How much does the Tongan text-to-speech API cost?

Batch costs $0.20, Fast $5 and Streaming main0 per 1,000,000 characters with Pro, Studio or Scale credits; Streaming through the REST API costs $5 for Tongan. Personal accounts get 10,000 free credits a month.

How do I choose a Tongan voice for the API?

Call GET /v1/voices with language=Tongan and copy a returned voice_id. You can listen to Tongan voices in the Voice Library first; every library voice has a voice ID.

Does Giggy offer a Tongan speech-to-text API?

Not yet. Giggy speech to text supports 27 languages, and Tongan is not one of them. Tongan text to speech is available now.

Is the Tongan text-to-speech API compatible with OpenAI?

Yes. POST /v1/audio/speech accepts OpenAI-style speech requests, so an existing OpenAI text-to-speech integration can switch with a base URL, key and voice change.