How to Use NativeAI
Step 1: Record or Upload
Record or select an audio/video file from your device to begin.
Step 2: Transcribe
NativeAI will automatically transcribe your English audio into text, optimized for Nigerian accents.
Step 3: Translate (Optional)
Optionally translate into Hausa, Igbo, or Yoruba — preserving tone, context, and cultural expression.
Step 4: Export and Share
Download your final text or copy it directly for use in news articles, reports, and social media publishing.
API Documentation
Integrate NativeAI's transcription and translation into your apps using the following endpoints.
1. Transcription API
POST http://<HOST>:8000/transcribe
Content-Type: application/json
Body:
{
"audio": "data:audio/wav;base64,AAA..."
}
2. Translation API
POST http://<HOST>:8000/translate
Content-Type: application/json
Body:
{
"source_text": "Good morning",
"base_lang": "English",
"target_lang": "Yoruba"
}
3. Audio Translate API (Transcribe + Translate)
POST http://<HOST>:8000/audio_translate
Content-Type: application/json
Body:
{
"audio": "data:audio/webm;base64,AAA...",
"base_lang": "English",
"target_lang": "Hausa"
}
4. Notes
- Ensure your audio is in a supported format (e.g., WAV, MP3, MP4, WEBM).
- Supports Nigerian-accented English and translation to Hausa, Igbo, and Yoruba.
- Recommended file size: ≤ 50 MB (base64 encoding inflates size ~33%).
- Use clean, high-quality audio for best results.
Need help? Email info@icirnigeria.org with the subject NativeAI API Support.