Skip to main content
Use experimental_transcribe with transcriptionModel, and experimental_generateSpeech with speechModel.

Notes

  • The current AI SDK audio helpers are still experimental, so expect naming changes when the upstream stable APIs land.
  • Audio input/output formats are model-specific.
  • Keep payload sizes and timeout settings appropriate for long files.
  • Run retry logic for transient 429/5xx responses.
Last modified on July 26, 2026