Skip to main content

Long Speech - Speech to Text

Convert long-form audio files and extended speech recordings to accurate text transcriptions with optimized processing for lengthy content. Perfect for podcasts, lectures, meetings, and other extended audio content.

Note: Audio files must first be uploaded using the Asset API before transcription. The audioUrl parameter should contain the path returned from the Asset API upload.

Supported Models

  • latest_long: Optimized for long-form audio content with enhanced processing capabilities

Endpoint

Request Headers

FieldValue
API-KEY<api-key>
Content-Typeapplication/json

Supported Audio Formats

  • MP3 - MPEG Audio Layer III
  • WAV - Waveform Audio File Format
  • M4A - MPEG-4 Audio
  • FLAC - Free Lossless Audio Codec
  • MP4 - MPEG-4 Part 14 (audio only)
  • WEBM - WebM Audio
  • OGG - Ogg Vorbis

Language Support

The API supports various languages including:

  • en-US - English (US)
  • en-GB - English (UK)
  • vi-VN - Vietnamese
  • es-ES - Spanish
  • fr-FR - French
  • de-DE - German
  • it-IT - Italian
  • pt-PT - Portuguese
  • ru-RU - Russian
  • ja-JP - Japanese
  • ko-KR - Korean
  • zh-CN - Chinese (Simplified)
  • ar-SA - Arabic

Note: For a complete list of all supported languages and their language codes, please refer to the Google Cloud Text-to-Speech documentation.

Code Example

Parameters

ParameterTypeRequiredDescription
typestringYesFeature type, must be "SPEECH_TO_TEXT"
modelstringYesModel identifier, use "latest_long"
promptObject.audioUrlstringYesPath to audio file (uploaded via Asset API)
promptObject.languagestringYesLanguage code for transcription (e.g., "en-US", "en-US")

Code Examples

curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "SPEECH_TO_TEXT",
"model": "latest_long",
"promptObject": {
"audioUrl": "audios/2025_10_21_08_22_58_741_short.mp3",
"language": "en-US"
}
}'

Interactive Playground

Try the API directly in your browser:

API Playground

https://api.1min.ai/api/features
Path to the audio file you want to transcribe (upload via Asset API first)

Generated cURL Command:

curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "SPEECH_TO_TEXT",
"model": "latest_long",
"promptObject": {
"audioUrl": "audios/2025_10_21_08_22_58_741_short.mp3",
"language": "en-US"
}
}'

Use Cases

  • Podcast Transcription: Convert full podcast episodes into searchable text content
  • Lecture Recording: Transcribe educational content and university lectures
  • Meeting Documentation: Create complete transcripts of lengthy business meetings
  • Interview Processing: Convert research interviews and focus group sessions
  • Webinar Content: Generate text versions of online seminars and training sessions
  • Legal Proceedings: Transcribe depositions, court hearings, and legal consultations
  • Conference Talks: Create accessible text versions of conference presentations
  • Documentary Production: Generate transcripts for documentary interviews and narration

Tips for Best Results

  1. Upload First: Use the Asset API to upload your audio file before transcription
  2. Audio Quality: Ensure high-quality audio with minimal background noise for long recordings
  3. File Size: For very long files, consider breaking them into segments for optimal processing
  4. Clear Speech: Long recordings benefit from consistent audio levels and clear pronunciation
  5. Language Selection: Choose the correct language for best accuracy results
  6. Processing Time: Longer audio files may take more time to process completely

Error Handling

Common error scenarios and solutions:

  • File not found: Ensure the audio file was uploaded via Asset API first
  • Invalid audioUrl: Verify the path matches exactly what was returned from Asset API upload
  • Language not supported: Check that the language code is in the supported list
  • File too large: Consider breaking very large files into smaller segments

Response