Bai Toeyใบเตย
v2 onlyPatient, reassuring voice for coaching, wellbeing lessons, and step-by-step explanations.
- Female
- Thai, English, and Mandarin Chinese
- Mentor
- baitoeypaxa-tts-flash-v2
ไม่เป็นไรนะคะ ค่อย ๆ เรียนรู้ไปทีละขั้น เราจะไปด้วยกันค่ะ
Call it from the API#
The voice field takes the id above. Every other value in this request is a Paxa TTS Flash v2 default.
- Model
- Paxa TTS Flash v2
- Per request
- 5,000 characters
- Rate
- 10 credits per 1,000 characters
- Free credits
- 100 credits, about 16 minutes
curl -X POST https://api.paxalabs.com/v1/tts \ -H "Authorization: Bearer $PAXA_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "text": "ไม่เป็นไรนะคะ ค่อย ๆ เรียนรู้ไปทีละขั้น เราจะไปด้วยกันค่ะ", "voice": "baitoey", "model": "paxa-tts-flash-v2" }' \ --output baitoey.mp3
import { writeFile } from "node:fs/promises"; const response = await fetch("https://api.paxalabs.com/v1/tts", { method: "POST", headers: { Authorization: `Bearer ${process.env.PAXA_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ text: "ไม่เป็นไรนะคะ ค่อย ๆ เรียนรู้ไปทีละขั้น เราจะไปด้วยกันค่ะ", voice: "baitoey", model: "paxa-tts-flash-v2", }), }); if (!response.ok) throw new Error(`TTS failed: ${response.status}`); await writeFile("baitoey.mp3", Buffer.from(await response.arrayBuffer()));
import os import requests response = requests.post( "https://api.paxalabs.com/v1/tts", headers={"Authorization": f"Bearer {os.environ['PAXA_API_KEY']}"}, json={ "text": "ไม่เป็นไรนะคะ ค่อย ๆ เรียนรู้ไปทีละขั้น เราจะไปด้วยกันค่ะ", "voice": "baitoey", "model": "paxa-tts-flash-v2", }, ) response.raise_for_status() with open("baitoey.mp3", "wb") as f: f.write(response.content)
Hear it read your own words. New accounts start with 100 free credits. Open the playground and this voice is already selected.
Start free