Text-to-speech API

Sinhala text-to-speech API

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

Get your API key · See pricing

Make your first Sinhala request

1. Find a Sinhala voice

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

2. Generate Sinhala speech

curl https://api.giggy.ai/v1/text-to-speech \
  -H "xi-api-key: $GIGGY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "ආයුබෝවන්, සාදරයෙන් පිළිගනිමු. මට ඔබේ වචන පැහැදිලි, ස්වාභාවික හඬකින් ශබ්ද නඟා කියවිය හැකියි.", "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 Sinhala voices

Example Sinhala text

ආයුබෝවන්, සාදරයෙන් පිළිගනිමු. මට ඔබේ වචන පැහැදිලි, ස්වාභාවික හඬකින් ශබ්ද නඟා කියවිය හැකියි.

Browse every Sinhala 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 Sinhala speech costs

Batch costs $0.20, Fast $5 and Streaming $10 per 1,000,000 characters with Pro, Studio or Scale credits. Streaming through the REST API costs $10 for Sinhala; the $5 REST rate applies to Latin-script languages. 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.

Sinhala speech to text

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

Frequently asked questions

Is there a Sinhala text-to-speech API?

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

How much does the Sinhala 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 main0 for Sinhala. Personal accounts get 10,000 free credits a month.

How do I choose a Sinhala voice for the API?

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

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

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

Is the Sinhala 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.