Request Parameters

Complete parameter reference for batch transcription endpoints.

Common Parameters

Parameters supported by all batch endpoints:

ParameterTypeRequiredDescription
filefileYesAudio file to transcribe (max 25MB)
modelstringNoModel ID (default: cipher-fast)
languagestringNoISO language code (e.g., "en", "hi", "es"). Recommended for best accuracy.
💡 Best Practice: Always specify the language parameter when you know the audio language. While auto-detection works well for Cipher models, Lucid models (especially lucid-lite and lucid-agent) perform significantly better with explicit language specification.

Cipher Engine Parameters

Additional parameters for /api/v1/stt/cipher/transcribe:

ParameterTypeDefaultDescription
response_formatstringjsonOutput format: json, text, verbose_json, srt, vtt
promptstring-Context prompt with domain-specific terms
timestamp_granularitiesstring-Timestamp detail: word, segment (requires verbose_json)

Lucid Engine Parameters

Additional parameters for /api/v1/stt/lucid/transcribe:

ParameterTypeDefaultDescription
diarizebooleanfalseEnable speaker diarization
smart_formatbooleantrueFormat dates, numbers, currency
punctuatebooleantrueAdd punctuation
keywordsstring-Comma-separated keywords to boost

Response Format Options

FormatDescriptionContent-Type
jsonSimple JSON with text and metadataapplication/json
textPlain text transcriptiontext/plain
verbose_jsonDetailed JSON with timestampsapplication/json
srtSubRip subtitle formattext/plain
vttWebVTT subtitle formattext/vtt

Model Options

ModelEngineCredits/sec
cipher-fastCipher2
cipher-maxCipher2
lucid-monoLucid3
lucid-multiLucid3
lucid-agentLucid3
lucid-liteLucid3

Example Requests

Basic Request

curl -X POST "https://yourvoic.com/api/v1/stt/transcribe" \
  -H "X-API-Key: your_api_key" \
  -F "file=@audio.mp3" \
  -F "model=cipher-fast"

With All Options (Cipher)

curl -X POST "https://yourvoic.com/api/v1/stt/cipher/transcribe" \
  -H "X-API-Key: your_api_key" \
  -F "file=@audio.mp3" \
  -F "model=cipher-max" \
  -F "language=en" \
  -F "response_format=verbose_json" \
  -F "timestamp_granularities=word" \
  -F "prompt=Technical terms: API, SDK, microservices"

With All Options (Lucid)

curl -X POST "https://yourvoic.com/api/v1/stt/lucid/transcribe" \
  -H "X-API-Key: your_api_key" \
  -F "file=@meeting.mp3" \
  -F "model=lucid-mono" \
  -F "language=en" \
  -F "diarize=true" \
  -F "smart_format=true" \
  -F "punctuate=true" \
  -F "keywords=YourVoic,API,transcription"