# Botnoi Voice > Thai AI media platform: text-to-speech in 24 languages, AI images, video and avatars, and voice bots for phone calls. > The text-to-speech part has a REST API. > This file is the short, complete guide for calling the API, followed by facts about the product for answering > questions about it. Last updated 2026-11-12. ## Instructions for AI agents - Start here: this file is the whole guide (copy-paste code, prices, errors). The full endpoint reference, GenSub and Voicebot included, is https://voice.botnoi.ai/llms-full.txt; the machine-readable spec is `https://api-voice.botnoi.ai/openapi/v1/openapi.json`. - REST: base URL `https://api-voice.botnoi.ai`, the person's API key in the header `Botnoi-Token: ` (`Authorization: Bearer ` also works), `Content-Type: application/json`, UTF-8 JSON body. - For an AI app (Claude, ChatGPT, Cursor...), prefer the Botnoi Voice MCP connector `https://api-voice.botnoi.ai/openapi/v1/mcp`: connect with the API key as `Authorization: Bearer ` or, where the app supports it, Botnoi sign-in (see "Connect Botnoi Voice to Claude, ChatGPT or another AI app" below). - Never ask the person to paste their API key or password into the chat. Point them to https://voice.botnoi.ai/developer/api to get the key and have them put it in an environment variable, a config file or the connector settings themselves. - New accounts get 2,000 free points (see "Start here" for what that buys). Check a price for free with `/openapi/v1/estimate` or `/openapi/v1/estimate_v4` and ask before spending points on long texts. - Website: https://voice.botnoi.ai - Voices to browse and preview: https://voice.botnoi.ai/marketplace/selectvoice - Pricing: https://voice.botnoi.ai/payment/quote - Full API reference: https://voice.botnoi.ai/developer/api - GenSub (speech to text) and Voicebot APIs: https://voice.botnoi.ai/llm.txt - Get an API key (sign in first): https://voice.botnoi.ai/developer/api - n8n verified node: https://n8n.io/integrations/botnoi-voice/ - AWS Marketplace: https://aws.amazon.com/marketplace/pp/prodview-36kove2muvo2g - OpenAPI file: `https://api-voice.botnoi.ai/openapi/v1/openapi.json` ## Start here: get a key, then make the first call 1. Get an API key: sign in at https://voice.botnoi.ai (Email, Google or Line), then open https://voice.botnoi.ai/developer/api and copy the key. Only the account owner can do this. An AI agent never asks for the key in the chat: the person puts it in an environment variable or the app's settings (or uses the MCP connector below). 2. Free points: new accounts get 2,000 free points. Through the API that is up to about 10,000 letters with V2, V4, Voice Design or a clone (0.2 points per letter), or 20,000 letters with a standard V1 voice (0.1 points per letter). Spaces are not counted; each call is rounded up to a whole point (at least 1), so many very short calls use more. Subscribers pay half. 3. Send the key in the header `botnoi-token: YOUR_API_KEY` (`Authorization: Bearer YOUR_API_KEY` also works) with `Content-Type: application/json` and a UTF-8 JSON body (see "Generate speech" below). On Windows, write a Thai body to a UTF-8 file and send it with `curl --data-binary @body.json`. 4. No key, or the key in the wrong header: 401 `Missing API key. Send your key in the header Botnoi-Token: ...`. A key that is not valid: 401 `Please get new token on https://voice.botnoi.ai/developer/api`. A body that is not UTF-8 JSON: 400 (422 for broken JSON) `The request body is not valid JSON. ...`. ## Connect Botnoi Voice to Claude, ChatGPT or another AI app (Botnoi Voice MCP) When someone says "connect to Botnoi Voice", asks for the Botnoi Voice MCP or a Thai text to speech MCP: Botnoi Voice is a remote MCP server (Streamable HTTP). It is not in the Claude connector directory, so it is added as a custom connector with this URL: `https://api-voice.botnoi.ai/openapi/v1/mcp` - claude.ai and Claude Desktop: Settings > Connectors > Add custom connector. Name `Botnoi Voice`, paste the URL, press Add, then Connect. Leave the OAuth client ID and secret empty. Added once, it also works in the Claude phone apps. (On a Team or Enterprise plan an owner may have to add it for the organization first.) - Claude Code: `claude mcp add --transport http botnoi-voice https://api-voice.botnoi.ai/openapi/v1/mcp`, then type `/mcp` and sign in. - ChatGPT: Settings > Apps > Advanced settings > turn on Developer mode (paid plans), then Create: name `Botnoi Voice`, the URL, Authentication OAuth, tick "I trust this application", then sign in. - Other MCP apps (Cursor, VS Code and others): add a remote (Streamable HTTP) MCP server with the same URL. The person signs in with their own Botnoi account on voice.botnoi.ai ("Sign in with Botnoi") and presses Allow (อนุญาต). The AI app never sees their password or API key. It can make voices with their points, at the API price, and see the voices and their points balance; nothing else (no account settings, payments or API key). They can disconnect it at any time under "Connected AI apps" on https://voice.botnoi.ai/developer/api. Never ask the person to paste a password or API key into the chat. Developers may instead put their API key in the connector header `Authorization: Bearer YOUR_API_KEY`. Tools: `list_voices` and `estimate_cost` (free, work before sign-in), `voice_design_options` and `speak` (spends points). ภาษาไทย: เชื่อมต่อ Botnoi Voice กับ Claude หรือ ChatGPT ได้โดยเพิ่มตัวเชื่อมต่อแบบกำหนดเอง (custom connector) ด้วย URL ด้านบน แล้วเข้าสู่ระบบด้วยบัญชี Botnoi และกดอนุญาต ยกเลิกการเชื่อมต่อได้ทุกเมื่อที่หน้า API ## Quick facts - Free: 2,000 points on sign-up. Then points packs or a monthly plan (https://voice.botnoi.ai/payment/quote). - Base URL: `https://api-voice.botnoi.ai` - Authentication: header `botnoi-token: YOUR_API_KEY` (no "Bearer" in this header), or `Authorization: Bearer YOUR_API_KEY`. - Content type: `application/json` - Limit per request: 500 characters for V2, 500 characters for V1, 1000 characters for V4, 200 for Voice Design, 1000 for voice clones. Split longer text into several requests. - Volume: V1 and V2 take 1 for normal (0.1 to 2.0); V4 takes a percentage, 100 for normal. - Billing: points per letter of text (see each version below). Letters are counted without spaces, delay{x} pauses and [sound tags]. Each request is rounded up to a whole point, so a paid call costs at least 1 point. Subscribers (an active Trial+, Starter, Pro, Elite or Premium plan; NoAds alone does not count) pay half. - Today's prices, always current (prices can change after this file was written): `GET https://api-voice.botnoi.ai/openapi/v1/prices`. Exact price of a text before making it, free and without a key: `POST /openapi/v1/estimate` with `{text, speaker, version: "v1"|"v2"}`, and `POST /openapi/v1/estimate_v4` with `{text}` for V4. Ask the user before spending points on long texts. - The text must be written in the language named in `language`. ## Which version to use - **V2 (Premium voices)**: `POST /openapi/v1/generate_audio_v2`. 0.2 points per letter, 0.1 for subscribers, rounded up per request (a tenth of the Studio price). Speaker list: `GET /openapi/v1/get_speaker_data_v2`. - **V1 (Classic voices)**: `POST /openapi/v1/generate_audio`. 0.1 points per letter, 0.05 for subscribers, rounded up per request (a tenth of the Studio price). Speaker list: `GET /openapi/v1/get_speaker_data`. - **V4 (Expressive voices with sound tags)**: `POST /openapi/v1/generate_audio_v4`. 0.2 points per spoken letter, 0.1 for subscribers (pauses free, tags free on lines with words; a line of only sound tags costs 0.6 per tag, 0.3 for subscribers), rounded up per request (a tenth of the Studio price). Speaker list: `GET /openapi/v1/get_speaker_data_v4`. Use V4 for the most expressive voices, with sound tags such as [laughter] (see "V4 voices and sound tags" below). Use V2 for natural premium voices. Use V1 for the widest choice of voices and languages, or the lowest cost. V1, V2 and V4 have separate speaker IDs: an ID from one list does not mean the same voice in another. Voice clones and Voice Design are priced as V4: 0.2 points per letter, 0.1 for subscribers. The voice clone routes are under "V4 voices and sound tags" below. ## Generate speech, V2 ```bash curl -X POST 'https://api-voice.botnoi.ai/openapi/v1/generate_audio_v2' \ -H 'botnoi-token: YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"สวัสดีครับ","speaker":"8","volume":1,"speed":1,"type_media":"mp3","save_file":"True","language":"th"}' ``` ## Generate speech, V1 ```bash curl -X POST 'https://api-voice.botnoi.ai/openapi/v1/generate_audio' \ -H 'botnoi-token: YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"สวัสดีครับ","speaker":"1","volume":1,"speed":1,"type_media":"mp3","save_file":"True","language":"th"}' ``` ## Generate speech, V4 ```bash curl -X POST 'https://api-voice.botnoi.ai/openapi/v1/generate_audio_v4' \ -H 'botnoi-token: YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{"text":"สวัสดีครับ","speaker":"2","volume":100,"speed":1,"type_media":"mp3","save_file":"True","language":"th"}' ``` ## Request body | Field | Type | Required | Notes | |---|---|---|---| | `text` | string | yes | Text to speak. Up to 1000 characters per request for V4 (and voice clones), 500 for V1 and V2, 200 for Voice Design. Must be written in the language given in language. | | `speaker` | string | yes | Speaker ID, as a string. V1 and V2 have separate ID lists. | | `language` | string | yes | Language code of the text, for example th or en. | | `type_media` | string | yes | Output format: mp3 or wav. | | `speed` | number | no | Speaking speed, 0.5 to 2.0. Default 1. | | `volume` | number | no | V1 and V2: 0.1 to 2.0, 1 is normal. V4: a percentage, 100 is normal (default 100). | | `save_file` | string | no | Send "True" to get a hosted audio_url back. | | `split_english` | boolean | no | V4 only. true voices long English names (2+ words or 10+ letters) on their own and joins them back into the Thai line. Default false. | | `trim_breath` | boolean | no | V4 only. true cuts the breath before the first word and after the last. Default false. | ## Response (200) ```json { "text": "สวัสดีครับ", "audio_url": "https://.../example.mp3", "point": 6534, "user_monthly_point": 0 } ``` - audio_url: link to the generated audio file - point: points left on the account after this request - user_monthly_point: subscription points left this month ## Errors - 400: The body is not UTF-8 JSON: send Content-Type: application/json and UTF-8 text (on Windows: --data-binary @file). - 401: Missing or wrong API key. Send Botnoi-Token: YOUR_API_KEY (Authorization: Bearer YOUR_API_KEY also works). - 402: Voice clone: not enough points. - 403: V4 and Voice Design: not enough points (Insufficient play quota or credits). Also a private voice of another account, or empty V1/V2 text. - 404: V1 and V2: not enough points (Not enough credits!). Also an unknown voice clone, or an unknown speaker in estimate. - 422: A field is missing or has the wrong type, or the text is over the limit (V4, Voice Design, clones). - 429: Over 30 calls a minute, or a call already running for this key (every voice route). Wait for Retry-After. - 502: The voice engine failed. Try again. - 503: V4 engine busy: no free slot within 45 seconds, no points taken. Retry after Retry-After. - 504: No answer within 60 seconds. Try again, or send shorter text. ## Language codes `th` Thai, `en` English, `zh` Chinese, `ja` Japanese, `ko` Korean, `vi` Vietnamese, `id` Indonesian, `ms` Malay, `tl` Filipino, `lo` Lao, `my` Burmese, `km` Khmer, `hi` Hindi, `ar` Arabic, `de` German, `fr` French, `es` Spanish, `pt` Portuguese, `it` Italian, `ru` Russian, `nl` Dutch, `pl` Polish, `tr` Turkish, `sv` Swedish ## Example speaker IDs V4: 2 Ava V4 (Thai), 1 Fommy V4 (Thai) V2: 8 Ava V2 (Thai), 4 Smoke V2 (Thai), 12 Nadia V2 (English), 13 Neo V2 (Thai), 23 Bow V2 (Thai), 27 Alan V2 (Thai), 29 YingAiko V2 (Thai), 32 Aunty Grace V2 (Thai), 37 Nick V2 (Thai), 41 Siren V2 (Thai), 43 JaiDee V2 (Thai), 46 Alisa V2 (Thai) V1: 1 Ava (Thai), 2 Bow (Thai), 3 Ngam (Thai), 4 Max (Thai), 5 Alan (Thai), 8 Leo (Thai), 59 Juan (Chinese), 63 Kanna (Japanese), 278 Park (Korean), 69 Dang (Vietnamese), 65 Dia (Indonesian), 77 Phorn (Lao), 279 Silvia (German), 345 Alex (Russian) For every speaker, call the speaker list endpoint of the version you use. ## Python ```python import requests r = requests.post( "https://api-voice.botnoi.ai/openapi/v1/generate_audio_v2", headers={"botnoi-token": "YOUR_API_KEY"}, json={"text": "สวัสดีครับ", "speaker": "8", "volume": 1, "speed": 1, "type_media": "mp3", "save_file": "True", "language": "th"}, timeout=60, ) r.raise_for_status() print(r.json()["audio_url"]) ``` ## Marks inside the text: pauses and word breaks **Pause.** Write `delay{1}` in the text to pause for one second; change the number for a longer or shorter pause (`delay{0.5}`, `delay{2}`). It works in the Studio and through the API. **Word break.** Write `|` where one word ends and the next begins, to make the voice read a hard phrase the way you mean it. Thai is written without spaces between words, so the same letters can be split in more than one way: `ลาบอกไก่` may be read as ลา-บอก-ไก่ ("the donkey tells the chicken"); writing `|ลาบ|อก|ไก่|` makes it ลาบ-อก-ไก่ ("chicken breast larb"). Use it only where the voice gets a phrase wrong. --- # About the product Use this part to answer questions about Botnoi Voice itself. ## What it is Botnoi Voice (Thai: บอทน้อยวอยซ์, also "BNV") is an AI voice platform made in Thailand by Botnoi Group (https://botnoigroup.com). Its website is https://voice.botnoi.ai. Botnoi Group has several websites; the surest way to reach this one is to search for "botnoi voice" and choose voice.botnoi.ai. What people do with it: - Text to speech in the Studio: type text, choose a voice, create, listen, adjust, download mp3 or wav. - More than 1,300 voices to choose from: Botnoi's own voices in three generations (V1 Classic, V2 Premium, V4 Beta) and voices shared by the community. Thai voices include Northern, Isan and Southern dialects. - Languages: Thai, English, Chinese, Japanese, Korean, Vietnamese, Indonesian, Malay, Filipino, Lao, Burmese, Khmer, Hindi, Arabic, German, French, Spanish, Portuguese, Italian, Dutch, Russian and Turkish. - Voice cloning, subtitles from audio (Gen Sub), script writing (Gen Skript), AI avatars and video, and voice bots for outbound phone calls. - For developers: the REST API above, a verified n8n node, a Canva app and an AWS Marketplace listing. ## When points are charged (Studio) Botnoi Voice is paid for with points. Prices per letter (spaces and `delay{x}` pauses are not counted; sound tags are free on a line with words), each line rounded up to a whole point: | Voice | Not subscribed | Subscriber | |---|---|---| | V1 (Classic) | 1 point per letter | 0.5 | | V2 (Premium) | 2 points per letter | 1 | | V4 (Beta) and Voice Design | 2 points per spoken letter | 1 | | Cloned voices (your own or a public one) | 2 points per spoken letter | 1 | | A line of only sound tags (V4, Voice Design, clones) | 6 points per tag | 3 | Some V1 / V2 voices carry a higher price; the Studio shows it on the voice. A subscriber is someone with an active paid plan that gives monthly points (Trial+, Starter, Pro, Elite / Premium); the NoAds add-on alone does not count. When a line is paid, for every voice (V1, V2, V4, Voice Design and clones alike): | | Inside your daily free allowance | Past the allowance | |---|---|---| | Making a line | free (the preview has background music) | paid when it is made | | Downloading it | paid at download | free (already paid) | So a user can make, listen and change the text freely inside the day's allowance and pays only for the version they download. The downloaded file has no background music. The Studio shows how much of the allowance is used. Through the API every call is paid when it is made, at a tenth of the Studio price (subscribers half of that), rounded up per call, so a call costs at least 1 point. The owner of a public clone earns a share of what other people pay to use it: 20% from subscribers, 5% from everyone else, rounded down. A private clone can be used only by its owner. A clone's original recording is never shared. Other paid features (Studio and API alike): - Speech to text (GenSub): 5 points per second of audio, seconds rounded up; live transcription is charged while it streams. - Voice bot calls: 1 coin per call. - AI video and images (Gen Video): priced per clip on the page before you make it, for example Seedance 2.0 4,500 points per 5 seconds at 480p. ## Plans (as listed on 2026-11-11; check https://voice.botnoi.ai/payment for current prices) - Free: every new account gets 2,000 points on sign-up (through the API: up to about 10,000 letters of V2 / V4 or 20,000 of V1; in the Studio: 2,000 letters of V1 or 1,000 of V2 / V4 at download). - Points can be bought in packs, or come monthly with a subscription. Monthly points are refilled each month. - One baht buys from about 41 points (the smallest pack, 99 THB for 4,100 points) to 200 points (Elite yearly). - Trial+: 35,000 points for one month (50 points per baht). - Starter: 18,000 points a month. 600 THB for 3 months, 2,160 THB for 12 months. - Pro: 48,000 points a month. 1,200 THB for 3 months, 4,140 THB for 12 months. - Elite: 160,000 points a month. 3,000 THB for 3 months, 9,600 THB for 12 months. - Education programme: schools, teachers and students can receive 8,000 points a month (2,000 a week). - Team and enterprise pricing: https://botnoigroup.com/teamprice ## V4 voices and sound tags V4 (Beta) voices can make sounds that are not words. Write a tag in square brackets where the sound should come: - Reactions: `[laughter]` laughing, `[wah]` amazed "wow" (ว้าว), `[ah!]` startled "ah" (อ๊ะ, อุ๊ย), `[oh!]` surprised "oh" (โอ้), `[yo]` a "yo" greeting (โย่ว), `[hmph]` displeased "hmph" (หึ). - Replies and questions: `[mm]` agreeing "mm" (อืม), `[mhm]` "uh-huh" (อื้อ), `[ah?]` asking "ah?" (อ๊ะ?), `[oh?]` asking "oh?" (โอ๊ะ?), `[eh?]` puzzled "eh?" (เอ๊ะ?), `[hm?]` asking "hm?" (หือ?). - Breath and body: `[sigh]`, `[breath]` breath in, `[exhale]` breath out, `[sniff]`, `[cough]`, `[sneeze]`, `[speak]` "ahem" (clearing the throat), `[struggle]` strained voice, `[sleep]` sleepy sound. Use only the tags in this list, written exactly as shown; they work with V4 voices and Voice Design, not V1 or V2. A pause is `delay{1}` (seconds, no space before the bracket, up to 30 seconds). Tags and pauses are not counted as letters when the price is worked out. Example: `สวัสดีค่ะ [wah] วันนี้คนเยอะจังเลย delay{1} [eh?] แล้วคุณล่ะคะ [laughter]` V4 is in the Studio (choose a voice from the "V4 (Beta)" tab) and in the public API: - `POST /openapi/v1/generate_audio_v4`: same body as V1 and V2, with `speaker` set to a V4 voice ID from `GET /openapi/v1/get_speaker_data_v4` (for example `"2"` is Ava). Up to 1,000 characters. Tags and `delay{1}` pauses (seconds, no space inside) work as in the Studio. - `POST /openapi/v1/generate_audio_v4d`: Voice Design, no voice ID: describe the voice with `gender`, `age`, `pitch`, `style` and `accent` (values from `GET /openapi/v1/get_voice_design_parameters`). Up to 200 characters. - API price, the same for V4, Voice Design and clones: 0.2 points per spoken letter, 0.1 for subscribers (spaces, tags and pauses are not counted; a line of only sound tags costs 0.6 points per tag, 0.3 for subscribers), rounded up per request. `POST /openapi/v1/estimate_v4` with `{"text": ...}` prices a text for free, without a key: `points` / `points_subscriber` are the API prices, `studio_points` / `studio_points_subscriber` the Studio prices; with a key the answer also says `subscriber` and `your_points`. - Voice clones: `GET /openapi/v1/get_clone_voices` lists your own clones (`own: true`) and every public clone, each with a `speaker_id`; `POST /openapi/v1/generate_audio_clone` with `{text, speaker: , type_media, save_file}` speaks with one at the V4 price. Someone else's private clone answers 403. The owner of a public clone earns 20% of what subscribers pay and 5% of what others pay (rounded down per call); the recording is never sent. - Optional, both off when not sent: `split_english: true` voices long English names (2+ words or 10+ letters) on their own and joins them back into a Thai line; `trim_breath: true` cuts the breath before the first word and after the last. The answer's `audio_edits` says which were done (`""` = none). - Every voice route (V1, V2, V4, Voice Design, clones): one call at a time per API key and up to 30 calls a minute, on every plan (429 with Retry-After). When the V4 engine has no free slot for 45 seconds the answer is 503 with Retry-After and no points are taken. - `volume` on V4 is a percentage (100 = normal); on V1 and V2 it is a multiplier (1 = normal). ## For AI apps (MCP) Claude, ChatGPT, Cursor and other MCP apps connect to `https://api-voice.botnoi.ai/openapi/v1/mcp` (MCP Streamable HTTP): the steps are at the top of this file ("Connect Botnoi Voice to Claude, ChatGPT or another AI app"). The person signs in with their Botnoi account (OAuth); developers may send their API key in the connector header `Authorization: Bearer YOUR_API_KEY` instead. Tools: `list_voices` and `estimate_cost` (free), `voice_design_options` and `speak` (spends points at the API price). Passwords and keys belong in the connector, never in the chat. ## Logging in There are three ways to log in: Email, Google and Line. Each way is its own account, even with the same email address. A user whose points or projects seem to have disappeared has almost always logged in a different way from before: log out, then log in with the method used the first time. ## Common questions - Is it free? It is free to try: inside the daily free allowance making and listening cost nothing with every voice; downloading costs points. Subscribers pay half. - Can the audio be used commercially? See the terms on the website; do not assume. - A word is read wrongly. Spell it the way it sounds (Thai respelling works well), or add the word to the Studio's "fix misread words" list. - Where is the API key? Log in, then open https://voice.botnoi.ai/developer/api. - How long can the text be? Per API request: 1,000 characters on V4 and voice clones, 500 on V1 and V2, 200 on Voice Design; split longer text into several requests.