
No API key yet? Here is the whole path.
Step 1 — Create an account, using the Create account link at the top of this page.
Step 2 — Confirm your email address. We send you a link; open it. You cannot buy a key until your email is confirmed.
Step 3 — Sign in with the account you just confirmed.
Step 4 — Choose a plan further down this page and complete checkout. Plans start at Individual LITE, $29.99 per year.
Step 5 — Your key arrives by email and begins with sft_live_. Keep that email: it is your permanent record of the key.
Then paste the key into the Bearer token box below and press Save key.
Registered nonprofit organizations can apply for the Nonprofit plan further down this page instead of paying for one.
curl -X POST https://silverfamilytree.com/api/v1/translate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"Hello, my friend.","from":"en","to":"hmn"}'
import requests
API_KEY = "YOUR_API_KEY"
r = requests.post(
"https://silverfamilytree.com/api/v1/translate",
headers={"Authorization": f"Bearer {API_KEY}"},
json={"text": "Hello, my friend.", "from": "en", "to": "hmn"},
)
print(r.json()["translation"])
# => "Nyob zoo, kuv tus phooj ywg."
const API_KEY = "YOUR_API_KEY";
const r = await fetch("https://silverfamilytree.com/api/v1/translate", {
method: "POST",
headers: {
"Authorization": `Bearer ${API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ text: "Hello, my friend.", from: "en", to: "hmn" }),
});
const { translation } = await r.json();
console.log(translation); // "Nyob zoo, kuv tus phooj ywg."
# Fetch Hmong audio (WAV) for any Hmong text. Requires API key.
# Tier-aware: Free = 1K calls/day soft cap, Pro = 5K/day, Enterprise/Nonprofit unlimited.
# Returns audio/wav binary — save and reuse, or stream live.
curl -X POST https://silverfamilytree.com/api/v1/tts/hmong \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"Nyob zoo, kuv tus phooj ywg."}' \
--output hello.wav
# In Python:
import requests
audio = requests.post(
"https://silverfamilytree.com/api/v1/tts/hmong",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"text": "Nyob zoo, kuv tus phooj ywg."},
).content
with open("hello.wav", "wb") as f:
f.write(audio)