Build apps that understand Nigerian speech.
One clean HTTPS API for Yorùbá, Nigerian Pidgin, and Nigerian English transcription, structured intent extraction, multi-turn conversation, and speech synthesis.
.wav, .ogg, .mp3, .m4a)./api/v1/intent with your secret X-API-Key header.amount, bank, topic), and a language-matched reply.What You Can Build With Voxira
Pick a use case to inspect the exact headers and structured JSON output your app receives:
Base URL & Request Headers
Base URL: . Pass your secret key via the X-API-Key header on every call.
| Header | Required | Purpose |
|---|---|---|
X-API-Key | Yes | Your API key (vx_live_..., vx_test_...). Checked against SHA-256 hash in DB. |
X-Session-ID | Optional | Unique chat/user ID (e.g. wa_2348012...). Enables rolling 6-turn dialogue memory (30 min TTL). |
X-Voxira-Reply | Optional | Set true to return a natural spoken reply in data.voxira_reply matching the speaker's exact language. |
X-Voxira-Chunk-Mode | Optional | Set stream to skip Gemini NLU and return Phase XII speech-to-text in ~1s (40 req/min chunk limit). |
X-Voxira-Contribute-Data | Optional | NDPR opt-in flag. Defaults to false — enterprise audio is processed in RAM and discarded immediately. |
Voice-to-Intent & Conversational Agent
Send a multipart/form-data audio file. Voxira runs GPU ASR, detects language, extracts structured intent/entities, and guards against banking/IoT hallucinations.
Fast Transcription Mode (Long Video / Call Center)
For podcasts, interviews, lectures, or call analytics. Extract 16 kHz mono audio locally, split into 15–18s breath-pause chunks, and stream them for ~1s per-chunk transcription.
Text-to-Speech (Nigerian English & Yorùbá)
Returns raw audio/mpeg (Edge Nigerian voices: female / male) or audio/wav (YarnGPT tonal Yorùbá: yoruba_female2 / yoruba_male2).
Verify API Key & Check Monthly Quota
Check key validity, rate limits, and remaining monthly quota programmatically without consuming a request against your monthly quota.
Gateway Status & Pre-Warming
Poll /api/v1/status to see if the GPU worker is ready, warming, or cold.
Strict Language Mirroring
Voxira automatically detects the speaker's language in intent.entities.detected_language and mirrors it in voxira_reply:
| Detected Value | Speaker Input | Voxira Reply & Recommended Voice |
|---|---|---|
yoruba | Pure Yorùbá (e.g. "Ẹ káalẹ́, báwo ni?") | 100% pure tonal Yorùbá (Àmì Ohùn) → route to YarnGPT yoruba_female2 / yoruba_male2 |
english | Pure English | 100% natural English → route to Edge female / male |
pidgin | Nigerian Pidgin | Natural Nigerian Pidgin → route to Edge female / male |
codeswitch | Mixed Yorùbá-English / Pidgin | Matching Yorùbá-English code-switch |
Structured Actions & Vertical Modules
| Module | Supported Actions |
|---|---|
FinTech | TRANSFER_FUNDS, CHECK_BALANCE, BLOCK_CARD, ACCOUNT_STATEMENT, FINANCIAL_PLANNING |
EduTech | TUTORING_AND_EXAM, TRANSLATION_PRACTICE, PLANNING_AND_REMINDER |
Commerce / AgriTech | COMMERCE_AND_MARKET, GENERAL_INQUIRY |
HealthTech / Lifestyle | HEALTH_AND_WELLNESS, TROUBLESHOOTING_HELP, CONVERSATION, GREETING |
IoT | TURN_ON_DEVICE, TURN_OFF_DEVICE |
HTTP Status Codes & Error Handling
| Code | Cause | Client Action |
|---|---|---|
401 | Missing, invalid, or revoked X-API-Key | Check environment variable or mint a new key in Admin. |
413 | Audio exceeds 50 MB | Extract 16 kHz mono audio and chunk into 18s clips. |
422 | Empty or corrupt audio file | Verify upload is > 512 bytes and valid audio. |
429 | Per-minute rate limit, concurrency, or monthly quota reached | Wait detail.retry_after_seconds or upgrade tier. |
504 | Cold GPU container boot timed out | Retry once after 5–10 seconds. |