Skip to main content
HasteKit SDK supports speech-to-text transcription with various LLM providers like OpenAI, Gemini, and ElevenLabs.

Transcribe audio

Transcribe audio from a file. The audio data is sent as raw bytes along with the filename for MIME type detection.

Response

The response contains the transcribed text along with optional metadata like language, duration, word-level timestamps, and segments.

Word-level timestamps

Request word-level timestamps for precise timing information.

Segment-level timestamps

Request segment-level timestamps for paragraph or sentence-level timing.

Request Configuration

Response Structure

Word

Segment

Usage

Example: Complete Transcription

Supported Audio Formats

The SDK automatically detects the MIME type from the AudioFilename. Supported formats include:

Supported Providers