dhruveel10/rani-timestamps-generator
0
Audio Timestamp Generator API
Backend API for generating accurate timestamps with speaker diarization using WhisperX.
Features
- Audio file upload (chunked for large files)
- Automatic transcription with WhisperX
- Speaker diarization
- Forced alignment with provided scripts
- Background processing with status polling
- Multiple language support
API Endpoints
GET /api/health- Health checkPOST /api/init-upload- Initialize file uploadPOST /api/upload/<file_id>- Upload audio chunksPOST /api/upload-direct- Direct upload (small files)POST /api/process/<file_id>- Start processingGET /api/status/<file_id>- Check processing statusGET /api/download/<file_id>- Download results
Frontend
This is the backend API. The frontend is deployed separately on Vercel.
Usage
Send audio files to the API and receive timestamped transcriptions with speaker labels.
