# Edge TTS — Zapi reference > Microsoft Edge Neural TTS (gratis). 322 voice neural berkualitas tinggi, 142 bahasa termasuk Indonesia. Atur voice, kecepatan, nada. **Base URL:** `https://api.zpi.web.id` **Auth:** Send `x-api-key: YOUR_KEY` header on every request. Get a free key at https://zpi.web.id/dashboard/keys. **Response envelope:** `{ status, message, content }` **Rate limit:** 60 req/min on free tier. **Related:** - Detail page: https://zpi.web.id/api/ai/edge-tts - Endpoint catalog: https://zpi.web.id/category/ai - Concise index: https://zpi.web.id/llms.txt - Full reference: https://zpi.web.id/llms-full.txt --- ## Edge TTS **Category:** ai · **Slug:** `edge-tts` **Detail page:** https://zpi.web.id/api/ai/edge-tts Microsoft Edge Neural TTS (gratis). 322 voice neural berkualitas tinggi, 142 bahasa termasuk Indonesia. Atur voice, kecepatan, nada. **Tags:** ai, tts, text-to-speech, voice, neural, free, indonesia ### Synthesize Speech Text-to-speech → audio mp3 (base64 + data URL). - **Method:** `POST` - **Endpoint:** `https://api.zpi.web.id/v1/ai:edge-tts/synthesize` **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `text` | string | body | yes | Teks yang mau diubah jadi suara. Maks 3000 karakter. | | `voice` | string | body | no | ShortName voice. Default `id-ID-GadisNeural` (wanita ID). Indonesia: id-ID-GadisNeural (W), id-ID-ArdiNeural (P). Populer: en-US-AvaNeural, en-US-AndrewNeural, en-GB-SoniaNeural, ja-JP-NanamiNeural, ko-KR-SunHiNeural, zh-CN-XiaoxiaoNeural, ar-SA-ZariyahNeural. 322 voice / 142 bahasa total. | | `rate` | string | body | no | Kecepatan bicara, format persen. Default `+0%`. Range -100% (lambat) s/d +100% (cepat). Contoh: "-20%", "+30%". | | `pitch` | string | body | no | Nada suara. Default `+0Hz`. Contoh: "-10Hz", "+20Hz". | **cURL:** ```bash curl -X POST "https://api.zpi.web.id/v1/ai:edge-tts/synthesize" \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "text": "Halo, ini suara neural berkualitas tinggi dari Zapi AI menggunakan Microsoft Edge TTS.", "voice": "id-ID-GadisNeural", "rate": "+0%", "pitch": "+0Hz" }' ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/ai:edge-tts/synthesize", { method: "POST", headers: { "x-api-key": process.env.ZAPI_KEY, "Content-Type": "application/json" }, body: JSON.stringify({ "text": "Halo, ini suara neural berkualitas tinggi dari Zapi AI menggunakan Microsoft Edge TTS.", "voice": "id-ID-GadisNeural", "rate": "+0%", "pitch": "+0Hz" }) }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.post("https://api.zpi.web.id/v1/ai:edge-tts/synthesize", headers={"x-api-key": "YOUR_API_KEY"}, json={ "text": "Halo, ini suara neural berkualitas tinggi dari Zapi AI menggunakan Microsoft Edge TTS.", "voice": "id-ID-GadisNeural", "rate": "+0%", "pitch": "+0Hz" }) data = r.json() ``` **Example response:** ```json { "rate": "+0%", "text": "Halo, ini suara neural berkualitas tinggi dari Zapi AI menggunakan Microsoft Edge TTS.", "audio": { "url": "data:audio/mpeg;base64,//NIxAAAAANIAAAAAExBTUVVVVU5JHIESdD9GcMwWsUgmhNywGmfiTERK...[truncated]", "base64": "//NIxAAAAANIAAAAAExBTUVVVVU5JHIESdD9GcMwWsUgmhNywGmfiTERKPDwsJww...[truncated]", "mimeType": "audio/mpeg" }, "pitch": "+0Hz", "voice": "id-ID-GadisNeural", "provider": "edge-tts" } ``` --- _Generated: 2026-08-02T14:26:19.742Z_