Text-to-speech API

Sanskrit text-to-speech API

Generate Sanskrit speech from your own code. List Sanskrit voices with GET /v1/voices, then send Sanskrit 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 Sanskrit request

1. Find a Sanskrit voice

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

2. Generate Sanskrit 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 Sanskrit voices

Example Sanskrit text

नमस्कारः, स्वागतम्। अहं भवतः शब्दान् स्पष्टेन स्वाभाविकेन च स्वरेण उच्चैः पठितुं शक्नोमि।

Browse every Sanskrit 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 Sanskrit 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 Sanskrit; 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.

Sanskrit speech to text

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

Frequently asked questions

Is there a Sanskrit text-to-speech API?

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

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

How do I choose a Sanskrit voice for the API?

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

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

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

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