"विविधता में ही भारत की शक्ति है, और हर भाषा उस शक्ति की आवाज़ है।"
Sovereign AI · Built in Bharat · For Bharat
The Story
India is not one voice — it is a symphony. Tamil, Bengali, Urdu, Hindi, Kannada — each a living civilisation, spoken daily by hundreds of millions. Yet for too long, AI treated them as afterthoughts. Models built elsewhere, for someone else, leaving Bharat to make do with approximations of its own languages.
BharatGen was built to end that.
We are India's sovereign AI initiative — weaving the country's languages, cultures, and voices into technology that is truly Indian. Not adapted. Not translated.
Built from the ground up, for Bharat.
Sooktam-2
is our answer to India's need for a voice. A Text-to-Speech model that speaks 11 Indian languages with the phonetic precision, prosody, and cultural soul they deserve — so that every Indian, in every state, can hear AI speak
their
language, in
their
accent, and feel at home.
This is
GenAI for Bharat, by Bharat.
What is Sooktam-2?
Sooktam-2 is a sovereign multilingual Text-to-Speech model built by BharatGen. It synthesises natural, expressive speech across India's major languages using reference-guided voice conditioning — preserving the speaker's voice, accent, and cultural cadence.
Represented Languages — 11 + 1
Hindi
·
Marathi
·
Gujarati
·
Tamil
·
Telugu
·
Kannada
·
Bengali
·
Malayalam
·
Odia
·
Urdu
·
Punjabi
·
Indian English
Key Capabilities
Reference-guided voice cloning
Multilingual Indic speech synthesis
Natural prosody and expressive delivery
Language-aware CLS tokenization for accurate Indic phonetics
Production-quality audio output, deployment-ready at scale
Quickstart
git clone https://huggingface.co/bharatgenai/sooktam2
cd sooktam2
pip install -e .
Python Inference
import os
from transformers import AutoModel
# --- Model ID ---
MODEL_ID = "bharatgenai/sooktam2"# --- Your reference audio and target text ---
REF_AUDIO = "reference.wav"# A short, clean voice clip (3–10 sec)
REF_TEXT = "सर, मैं तब से यह कह रहा हूँ कि मैंने अपना टिकट कैंसल कर दिया है, लेकिन अब तक मेरे पैसे वापस नहीं आए हैं। आप इस मामले को देखेंगे भी या नहीं?"
GEN_TEXT = "यह एक टेस्ट वाक्य है जिसे आवाज़ में बदलना है।"# --- Output ---
OUT_DIR = "outputs"
OUT_WAV = os.path.join(OUT_DIR, "sooktam_cls.wav")
# --- Load model (auto-downloads checkpoint + vocab from HuggingFace) ---
model = AutoModel.from_pretrained(
MODEL_ID,
trust_remote_code=True,
)
os.makedirs(OUT_DIR, exist_ok=True)
# CLS tokenization is handled inside utils_infer via cls_tokenizer_v2
wav, sr, _ = model.infer(
ref_file=REF_AUDIO,
ref_text=REF_TEXT,
gen_text=GEN_TEXT,
tokenizer="cls",
cls_language="hindi",
file_wave=OUT_WAV,
)
print("Saved:", OUT_WAV, "sample_rate:", sr, "samples:", len(wav))
The model and vocab download automatically from HuggingFace on first run. No manual checkpoint hunting required.
Hugging Face AutoModel
from transformers import AutoModel
model = AutoModel.from_pretrained(
"bharatgenai/sooktam2",
trust_remote_code=True,
)
wav, sr, _ = model.infer(
ref_file="ref.wav",
ref_text="Your reference transcript.",
gen_text="Text you want to synthesise.",
tokenizer="cls",
cls_language="hindi",
)
Contributors
Yash, Supreet, Isha, Vansh, Pranav
BharatGen — Sovereign AI for a Sovereign Nation
BharatGen is India's initiative to build AI that is Indian in its roots, inclusive in its reach, and sovereign in its design. We believe that a nation of India's civilisational depth — of Sanskrit and Tamil, of Tagore and Kabir, of a billion daily conversations — should not have to borrow its voice from elsewhere.
India's languages are not a niche. They are the world's richest linguistic heritage. And now, they have a model built for them.
sooktam2 huggingface.co is an AI model on huggingface.co that provides sooktam2's model effect (), which can be used instantly with this bharatgenai sooktam2 model. huggingface.co supports a free trial of the sooktam2 model, and also provides paid use of the sooktam2. Support call sooktam2 model through api, including Node.js, Python, http.
sooktam2 huggingface.co is an online trial and call api platform, which integrates sooktam2's modeling effects, including api services, and provides a free online trial of sooktam2, you can try sooktam2 online for free by clicking the link below.
bharatgenai sooktam2 online free url in huggingface.co:
sooktam2 is an open source model from GitHub that offers a free installation service, and any user can find sooktam2 on GitHub to install. At the same time, huggingface.co provides the effect of sooktam2 install, users can directly use sooktam2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.