Skip to main content

Audio Predictions

The audio component provides methods for processing and analyzing audio files using VLM Run’s models.

Process Audio

TypeScript Interfaces

Error Handling

Best Practices

  1. Audio Formats
    • Supported formats: MP3, WAV
    • Ensure proper audio quality
    • Consider file size limits
  2. Performance
    • Use URLs for remote audio files when possible
    • Handle timeouts appropriately
    • Consider audio length and complexity
  3. Error Handling
    • Validate audio files before processing
    • Handle both API and file system errors
    • Implement proper error recovery