transcribe_audio
Transcribe a public direct audio file URL (mp3, wav, m4a, ogg/opus, flac; max 25 MB and 10 minutes, checked from the file header before transcription) with Whisper (@cf/openai/whisper-large-v3-turbo) on Cloudflare Workers AI. Returns text, language, duration, segments with timestamps, optional SRT/VTT subtitles. YouTube/TikTok/Instagram and other page URLs are rejected. Failed transcriptions and files with no detected speech are not charged. Costs $0.01 USDC per file via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Direct public URL of an audio file | |
| language | No | Optional ISO language hint, e.g. en, ur, es (auto-detected if omitted) | |
| subtitles | No | Also return SRT and/or WebVTT subtitles (default none) | |
| include_words | No | Include word-level timestamps in segments (default false) |