Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Wizper (Whisper v3)

openai/wizper

Wizper is a fast Whisper v3 speech-to-text model. It transcribes audio or video in about 100 languages, or translates the speech into English, with segment-level timestamps.

基础价格
$0.006美元 / 次运行
执行
async
模型类型
audio
输入字段
7
生产路由

试用该模型

Playground

打开 playground
输入
URL of the audio file to transcribe. Supported formats: mp3, mp4, mpeg, mpga, m4a, wav or webm.
Task to perform on the audio file. Either transcribe or translate.
Level of the chunks to return.
1029
Maximum speech segment duration in seconds before splitting. 范围:10 到 29。
Language of the audio file. If translate is selected as the task, the audio will be translated to English, regardless of the language selected. If `None` is passed, the language will be automatically detected. This will also increase the inference time.
Version of the model to use. All of the models are the Whisper large variant.
Whether to merge consecutive chunks. When enabled, chunks are merged if their combined duration does not exceed max_segment_len.
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

模型卡片

规格

定价

基础价格
$0.006 / 次运行

上下文与模态

输入
由 schema 定义
输出
audio

能力

聊天
不支持
视觉
不支持
推理
不支持
结构化输出
不支持
函数调用
不支持
音频输入
不支持

访问

提供方
OpenAI
模型 ID
openai/wizper
执行
async
基础 URL
https://api.sandbase.ai
API
Unified Run API
端点
/v1/run

API README

Wizper (Whisper v3)

Wizper is a fast Whisper v3 speech-to-text model: transcribe audio in about 100 languages, or translate it to English.

Fields

FieldTypeDefaultNotes
audioaudio URL—Audio or video URL to transcribe.
tasktranscribe / translatetranscribetranscribe keeps the source language; translate outputs English.
chunk_levelstringsegmentTimestamp granularity.
max_segment_leninteger 10–2929Maximum segment length in seconds.
languageaf / am / ar / as / az / ba / be / bg / bn / bo / br / bs / ca / cs / cy / da / de / el / en / es / et / eu / fa / fi / fo / fr / gl / gu / ha / haw / he / hi / hr / ht / hu / hy / id / is / it / ja / jw / ka / kk / km / kn / ko / la / lb / ln / lo / lt / lv / mg / mi / mk / ml / mn / mr / ms / mt / my / ne / nl / nn / no / oc / pa / pl / ps / pt / ro / ru / sa / sd / si / sk / sl / sn / so / sq / sr / su / sv / sw / ta / te / tg / th / tk / tl / tr / tt / uk / ur / uz / vi / yi / yo / zhenSource language code.
versionstring3Version of the model to use.
merge_chunksbooleantrueMerge short segments.

Billing

$0.006 per request, whatever the audio length.

RequestPrice
One file$0.006

Failed runs are not charged.

Limits

  • One audio file per request.

开始构建

发送您的第一条请求

具备统一身份验证和使用情况跟踪的 OpenAI 兼容端点。

生产版 API
Unified Run API 端点
https://api.sandbase.ai/v1/run
模型 ID
openai/wizper
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "openai/wizper",
  "task": "transcribe",
  "audio": "https://static.sandbase.ai/examples/elevenlabs/scribe-v2/input_audio_0.mp3",
  "version": "3",
  "language": "en",
  "chunk_level": "segment",
  "merge_chunks": true,
  "max_segment_len": 29
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"
01

输入 Schema

7 个参数 · 0 个必填 · 7 个可选

参数类型必填说明
taskstring可选Task to perform on the audio file. Either transcribe or translate. · 选项:transcribe, translate · 默认值:"transcribe"
transcribetranslate
audiostring可选URL of the audio file to transcribe. Supported formats: mp3, mp4, mpeg, mpga, m4a, wav or webm.
versionstring可选Version of the model to use. All of the models are the Whisper large variant. · 默认值:"3"
languagestring可选 Language of the audio file. If translate is selected as the task, the audio will be translated to English, regardless of the language selected. If `None` is passed, the language will be automatically detected. This will also increase the inference time. · 选项:af, am, ar, as, az, ba, be, bg, bn, bo, br, bs, ca, cs, cy, da, de, el, en, es, et, eu, fa, fi, fo, fr, gl, gu, ha, haw, he, hi, hr, ht, hu, hy, id, is, it, ja, jw, ka, kk, km, kn, ko, la, lb, ln, lo, lt, lv, mg, mi, mk, ml, mn, mr, ms, mt, my, ne, nl, nn, no, oc, pa, pl, ps, pt, ro, ru, sa, sd, si, sk, sl, sn, so, sq, sr, su, sv, sw, ta, te, tg, th, tk, tl, tr, tt, uk, ur, uz, vi, yi, yo, zh · 默认值:"en"
afamarasazbabebgbnbobrbscacscydadeeleneseteufafifofrglguhahawhehihrhthuhyidisitjajwkakkkmknkolalblnloltlvmgmimkmlmnmrmsmtmynenlnnnoocpaplpsptrorusasdsiskslsnsosqsrsusvswtatetgthtktltrttukuruzviyiyozh
chunk_levelstring可选Level of the chunks to return. · 默认值:"segment"
merge_chunksboolean可选Whether to merge consecutive chunks. When enabled, chunks are merged if their combined duration does not exceed max_segment_len. · 默认值:true
max_segment_leninteger可选Maximum speech segment duration in seconds before splitting. · 最小值:10 · 最大值:29 · 默认值:29
02

输出 Schema

字段类型说明
idstring生成任务的唯一标识符
statusstring任务状态:pending、running、completed、failed、timeout
modelstring用于生成的模型
outputsarray输出项数组
outputs[].urlstring生成产物的 URL
outputs[].content_typestringMIME 类型(例如 image/png、video/mp4)
errorobject | null失败时的错误详情,成功时为 null
error.typestring机器可读的错误类型代码
error.messagestring人类可读的错误描述

异步工作流

此模型异步运行。先提交请求,再轮询结果。

  1. 提交:向 /v1/run 发送 POST 请求,并读取返回的 id。
  2. 轮询:GET /v1/run/{id},直到状态为 completed、failed 或 timeout。
  3. 获取:从已完成的响应中读取 outputs。

选择您的模型

比较模型

全部图像与视频模型
模型类型默认价格发布于
OpenAI音频$0.01 / 次运行2024年4月8日
OpenAIllm—2026年11月17日
OpenAIllm—2026年11月17日
OpenAIllm—2026年11月17日
OpenAIllm—2026年11月17日
OpenAI图片$0.09 / 次运行2026年11月4日

问题

常见问题

如何通过 SandBase 调用 OpenAI Wizper (Whisper v3)?

先创建一个 SandBase API key,然后向 https://api.sandbase.ai 的 Unified Run API (/v1/run) 发送请求,模型 ID 使用“openai/wizper”。本页的请求示例展示了准确的请求负载。

我需要单独的 OpenAI 账户吗?

不需要。一个 SandBase API key 和余额即可让您使用 OpenAI Wizper (Whisper v3) 以及目录中的其他模型;您无需单独注册 OpenAI。