Skip to content
此页面尚未提供您所用语言的版本,因此当前显示为英文。
OpenAI · OpenAI Speech

whisper-1 API

Transcribe audio in 99 languages with OpenAI’s whisper-1 on APISea.

语音转文字音频与音乐同步
模型 ID
whisper-1

whisper-1 API 价格

所有价格均以 USD 计。对比 APISea 费率与相同计费单位的官方标价。

选项APISea官方节省
每分钟$0.00528$0.006−12%

价格单位为 每分钟。

whisper-1 是什么?

OpenAI’s whisper-1 is a speech recognition model for turning uploaded audio into text on APISea. It supports transcription in 99 languages and accepts mp3, mp4, mpeg, mpga, m4a, wav, and webm files up to 25 MB. Choose JSON or plain text for application workflows, SRT or WebVTT for subtitles, or verbose JSON for timestamps, metadata, and text segments. An optional language code can improve accuracy and speed, while a text prompt can guide transcription style or continue from previous audio.

Call the transcription endpoint with your APISea API key and a multipart file upload. APISea charges $0.00528 per minute on a pay-as-you-go basis, billing only for successful requests. The default configuration is about 12% below the provider list price. Temperature is configurable from 0 to 1 and defaults to 0.

whisper-1 的亮点

Multilingual Speech Recognition

Transcribe speech in 99 languages. Supply an ISO-639-1 language code when you know the audio’s language.

Text And Subtitle Outputs

Choose json, text, srt, vtt, or verbose_json output. Subtitle formats support caption workflows without a separate text-formatting step.

Segment Timestamps And Metadata

Use verbose_json to receive audio duration, language, and text segments with start and end times.

Transcription Style Controls

Provide an optional prompt to guide transcription style or continue from previous audio. Adjust temperature from 0 to 1; the default is 0.

分 4 步调用 whisper-1 API

  1. 01

    获取 API 密钥

    登录 APISea,充值 $50 起,并在控制台创建一个 sk-sea 密钥。

  2. 02

    设置 base URL

    在 SDK 或 HTTP 客户端中将 https://api.apisea.ai/v1 设置为 base URL。

  3. 03

    发送请求

    调用 POST /v1/audio/transcriptions,并传入 "model": "whisper-1" 及以下参数。

  4. 04

    处理响应

    读取响应(或设置 stream: true 以流式接收 token)。用量和费用会显示在控制台中。

curl --request POST \
  --url https://api.apisea.ai/v1/audio/transcriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'file=@/path/to/audio.mp3' \
  --form 'model=whisper-1' \
  --form 'language=en' \
  --form 'response_format=json'

参数

参数类型必填默认说明
filestring必填—Audio file to transcribe (File type)
modelstring必填whisper-1Speech recognition model name
languagestring可选—Language code of the audio (ISO-639-1 format)
promptstring可选—Optional text prompt to guide the transcription style or continue from previous audio
response_formatstring可选jsonOutput format
temperaturenumber可选0Sampling temperature, range 0 to 1

whisper-1 的应用场景

Caption Recorded Videos

Upload supported audio or video files and request SRT or WebVTT output for subtitle workflows.

Transcribe Meetings And Interviews

Convert recorded conversations into text for review, notes, or downstream processing. Use verbose JSON when your application needs segment timestamps.

Build Multilingual Transcription Tools

Offer audio-to-text workflows across the 99 supported languages. Let users supply the audio’s language code when known.

Create Searchable Audio Archives

Transcribe recordings into text that your application can index. Retain segment timestamps to connect search results with locations in the source recording.

获得更好结果的技巧

  • 01

    Specify The Language

    Set language to the appropriate ISO-639-1 code, such as en, when you know the source language. The documentation notes that this can improve accuracy and speed.

  • 02

    Choose The Right Output

    Use text for plain transcripts, srt or vtt for subtitles, and verbose_json for timestamps and metadata. The default response_format is json.

  • 03

    Keep Prompts Within Bounds

    Use prompt to guide transcription style or continue from previous audio. Keep it within the documented maximum of 224 tokens.

  • 04

    Prepare Multipart Uploads

    Send the file using multipart/form-data and keep it at or below 25 MB. In Postman or Apifox, manually set the file parameter to file type after importing.

限制与须知

  • Uploaded files must not exceed 25 MB.

  • The optional prompt is limited to 224 tokens.

  • Online Try it testing is not supported for this endpoint; use cURL, an SDK, Postman, or Apifox.

whisper-1 API 常见问题

How much does whisper-1 cost on APISea?

APISea charges $0.00528 per minute, with pay-as-you-go billing only for successful requests. The default configuration is about 12% below the provider list price.

How do I call whisper-1 through APISea?

Send a multipart/form-data POST request to https://api.apisea.ai/v1/audio/transcriptions with Bearer Token authentication using your APISea API key. Include the required file and model fields, setting model to whisper-1.

Which output formats does whisper-1 support?

Supported response_format values are json, text, srt, verbose_json, and vtt. Use verbose_json for timestamps, audio duration, language, and segment metadata.

Which languages and transcription controls are supported?

The documentation states that speech recognition supports 99 languages. You can set an ISO-639-1 language code, provide an optional style or continuation prompt, and adjust temperature from 0 to 1.

What are the file and prompt limits?

The maximum uploaded file size is 25 MB, and the optional prompt supports up to 224 tokens. Supported file formats are mp3, mp4, mpeg, mpga, m4a, wav, and webm.

Can I use whisper-1 for commercial applications?

Commercial use is subject to the provider’s terms. Review the applicable OpenAI terms and APISea terms before deploying your application.

相关模型

覆盖范围:250+ 种模型 · 最低充值 $50

开始使用 whisper-1 构建

一个密钥即可,按量付费,$50 起,仅对成功请求计费。