{"uid":"cap_aaLcHdZVaJqj3zWgiuJkV","slug":"speech-to-text-transcription-via-whisper-cloudflare-workers-ai-5dbaad42","name":"Speech-to-Text Transcription via Whisper (Cloudflare Workers AI)","description":"Transcribes an audio file (a public https URL or base64, up to 6 MB; WAV, MP3, M4A or OGG as the model accepts them) to text with a Cloudflare Workers AI Whisper model, returning the text and any timestamped segments the model gives. Requires the env.AI binding.","url":"https://api.fadeandco.workers.dev/api/agent-intel/speech-to-text-transcribe-turbo?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"audioUrl":{"type":"string","description":"Public https URL of the audio file (WAV, MP3, M4A or OGG), up to 6 MB"},"audioBase64":{"type":"string","description":"Or the audio itself: base64 data (no data: prefix), up to 6 MB decoded"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_b0c7NTaMzNkBqrW3D4O5W","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Transcribes an audio file (public HTTPS URL or base64, up to 6 MB; WAV, MP3, M4A, OGG) to text using a Cloudflare Workers AI Whisper model, returning the transcript and optional timestamped segments.","exampleAgentPrompt":"Can you transcribe this audio file for me? Here's the URL: https://example.com/meeting-recording.mp3 — I need the full text and any timestamps if available.","exampleUseCases":[{"title":"Transcribe a podcast episode clip","prompt":"I have an MP3 podcast clip at https://media.example.com/episode42-clip.mp3 — can you transcribe it to text so I can pull quotes from it?"},{"title":"Convert a voice memo to meeting notes","prompt":"Transcribe this voice memo I recorded after the meeting — it's at https://storage.example.com/voice-memo-2024.m4a — and give me the full text with any timestamped segments."},{"title":"Caption an audio interview for accessibility","prompt":"I need a text transcript with timestamps for this interview audio at https://cdn.example.com/interview.wav so I can add captions to the published version."}],"resultDescription":"Returns the full transcribed text of the audio file along with any timestamped segment data provided by the Whisper model (e.g., start/end times and text per segment). Response quality depends on audio clarity and length (up to 6 MB).","failureModes":["Audio file exceeds 6 MB limit — request rejected","Unsupported audio format (e.g., FLAC, AAC) — model may fail or return error","Inaccessible or non-public audio URL — fetch failure","Malformed base64 input — decoding error","No speech detected in audio — empty or minimal transcript returned","Network timeout fetching large audio files","Whisper model binding unavailable — server-side configuration error"],"whenToPreferThis":"Choose this endpoint when you need fast, affordable speech-to-text transcription from a public audio URL or base64-encoded audio in WAV, MP3, M4A, or OGG format (under 6 MB), and want optional timestamped segments. Ideal for agents automating transcription of voice memos, meeting recordings, podcast clips, or interview audio at $0.004 per call. Prefer alternatives if you need real-time streaming transcription, speaker diarization, or files larger than 6 MB.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:14:30.045Z","isFirstParty":false,"canonicalSlug":"speech-to-text-transcription-via-whisper-cloudflare-workers-ai-5dbaad42"}