CoolFace
Apppublic

dhruveel10/rani-timestamps-generator

sourceHugging Facemitupdated 11mo agoView on Hugging Face
0likes
App README

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 check
  • —POST /api/init-upload - Initialize file upload
  • —POST /api/upload/<file_id> - Upload audio chunks
  • —POST /api/upload-direct - Direct upload (small files)
  • —POST /api/process/<file_id> - Start processing
  • —GET /api/status/<file_id> - Check processing status
  • —GET /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.