Skip to main content

Overview

AudioPod AI’s Speaker Extraction API automatically separates multiple speakers in audio recordings into individual speaker-specific audio files. The service identifies who speaks when and creates clean, separate audio tracks for each speaker while preserving original audio quality.

Key Features

  • Speaker Separation: Generate separate audio files for each detected speaker
  • Timeline Generation: Get detailed RTTM files with speaker timestamps
  • Speaker Analytics: Duration and quality statistics for each speaker
  • Multi-Format Support: Process audio and video files (WAV, MP3, M4A, MP4, etc.)
  • URL Processing: Extract speakers from YouTube and other video platforms
  • Smart Detection: Automatic speaker detection or specify expected number
  • Quality Preservation: Maintains original audio quality in extracted files

Authentication

All endpoints require authentication. Use one of these methods:
  • API Key (Recommended): X-API-Key: your_api_key header
  • JWT Token: Authorization: Bearer your_jwt_token (for session-based auth)

Speaker Extraction

Extract from File Upload

Upload an audio or video file to extract individual speaker tracks.

Extract from URL

Extract speakers from audio/video URLs (YouTube, Vimeo, etc.).
Response:

Job Management

Get Job Status

Monitor the progress of speaker extraction jobs.
Response (Completed Extraction):

List Extraction Jobs

Get all speaker extraction jobs for the authenticated user.
Response:

Retry Failed Job

Retry a failed speaker extraction job.
Response:

Delete Job

Remove a speaker extraction job and its associated files.
Response: 204 No Content on successful deletion

Supported Formats

Audio Formats:
  • WAV, MP3, M4A, AAC, FLAC, OGG, OPUS, WebM
  • WMA, Speex, and other common formats
Video Formats:
  • MP4, AVI, MOV, MKV, WebM
  • Audio will be extracted automatically from video files
URL Sources:
  • YouTube, Vimeo, and other video platforms
  • Direct audio/video file URLs

Error Handling

Causes: Invalid file format, missing file/URL, or both file and URL providedSolutions: Use supported audio/video formats, provide either file OR URL (not both)
Causes: Not enough credits for the audio durationSolutions: Purchase additional credits or process shorter audio files
Causes: Poor audio quality, no speech content, or indistinguishable speakersSolutions: Ensure clear speech content, try noise reduction first, or verify multiple speakers exist
Causes: Invalid job ID or trying to access another user’s jobSolutions: Verify job ID and ensure you own the job
Causes: Exceeded 100 requests per minute limitSolutions: Wait before making additional requests or implement request throttling

Pricing

Speaker extraction costs are based on audio duration: Note: Credits are charged per second of audio (5.5 credits/second)

Cost Examples

*USD cost estimates based on standard credit pricing. Actual costs may vary based on subscription plan.

Rate Limits

  • 100 requests per minute per API key
  • Rate limits apply per endpoint
  • Exceeding limits returns 429 Too Many Requests

Next Steps

Speech-to-Text

Transcribe individual speaker tracks with improved accuracy.

Noise Reduction

Clean up audio before speaker extraction for better results.