Text-to-speech API

Afar text-to-speech API

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

1. Find a Afar voice

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

2. Generate Afar speech

curl https://api.giggy.ai/v1/text-to-speech \
  -H "xi-api-key: $GIGGY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello from Giggy.", "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 Afar voices

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

Batch costs $0.20, Fast $5 and Streaming $10 per 1,000,000 characters with Pro, Studio or Scale credits. Afar 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.

Afar speech to text

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

Frequently asked questions

Is there a Afar text-to-speech API?

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

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

How do I choose a Afar voice for the API?

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

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

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

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