Scriptural data
The canonical API supplies the exact Sanskrit shloka, transliteration, Hindi and English meanings, and available commentary.
Opening the page
Sūtradhāra architecture
Sūtradhāra extends the existing scripture platform rather than replacing it. The Bhagavad Gita API remains canonical; the guide adds controlled content selection, multilingual speech, synchronized transcripts, and a lightweight real-time visual layer.
The canonical API supplies the exact Sanskrit shloka, transliteration, Hindi and English meanings, and available commentary.
The server accepts an Adhyāya, shlok, language, and content type instead of arbitrary text for the competition speech route.
Sanskrit recitation and Hindi or English meaning are routed through the configured voice ladder with automatic key rotation and fallback.
The audio element acts as the master clock for progress, transcript highlighting, pause, resume, and avatar activity.
The lightweight original SVG narrator responds to the real audio waveform without requiring a streamed video avatar.
Configured YourVoic keys are attempted before Piper and prepared audio safeguards, reducing the chance of a failed live demonstration.
Language model
Voice acknowledgement
YourVoic is the primary configured speech service, with automatic API-key rotation. Piper remains the local fallback. The optional Vāgdhenu integration is retained for a future GPU-backed Sanskrit chant deployment and is not presented as active when it is not.