Cloudflare 中文文档
Workers AI
编辑这个页面
跳转官方原文档
Set theme to dark (⇧+D)

whisper

Model ID: @cf/openai/whisper

Automatic speech recognition (ASR) system trained on 680,000 hours of multilingual and multitask supervised data

More Information  

​​ Properties

Task Type: Automatic Speech Recognition

​​ Code Examples

Workers - TypeScript
curl

​​ Response

Automatic speech recognition responses return both a single string text property with the audio transcription and an optional array of words with start and end timestamps if the model supports that.

Here’s an example of the output from the @cf/openai/whisper model:

​​ API Schema

The following schema is based on JSON Schema

Input JSON Schema
Output JSON Schema