Wizper (Whisper v3)
openai/wizperWizper 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
输入
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
| Field | Type | Default | Notes |
|---|---|---|---|
audio | audio URL | — | Audio or video URL to transcribe. |
task | transcribe / translate | transcribe | transcribe keeps the source language; translate outputs English. |
chunk_level | string | segment | Timestamp granularity. |
max_segment_len | integer 10–29 | 29 | Maximum segment length in seconds. |
language | 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 | Source language code. |
version | string | 3 | Version of the model to use. |
merge_chunks | boolean | true | Merge short segments. |
Billing
$0.006 per request, whatever the audio length.
| Request | Price |
|---|---|
| One file | $0.006 |
Failed runs are not charged.
Limits
- One audio file per request.
开始构建
发送您的第一条请求
具备统一身份验证和使用情况跟踪的 OpenAI 兼容端点。
# 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 个可选
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
task | string | 可选 | Task to perform on the audio file. Either transcribe or translate. · 选项:transcribe, translate · 默认值:"transcribe" transcribetranslate |
audio | string | 可选 | URL of the audio file to transcribe. Supported formats: mp3, mp4, mpeg, mpga, m4a, wav or webm. |
version | string | 可选 | Version of the model to use. All of the models are the Whisper large variant. · 默认值:"3" |
language | string | 可选 |
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_level | string | 可选 | Level of the chunks to return. · 默认值:"segment" |
merge_chunks | boolean | 可选 | Whether to merge consecutive chunks. When enabled, chunks are merged if their combined duration does not exceed max_segment_len. · 默认值:true |
max_segment_len | integer | 可选 | Maximum speech segment duration in seconds before splitting. · 最小值:10 · 最大值:29 · 默认值:29 |
02
输出 Schema
| 字段 | 类型 | 说明 |
|---|---|---|
id | string | 生成任务的唯一标识符 |
status | string | 任务状态:pending、running、completed、failed、timeout |
model | string | 用于生成的模型 |
outputs | array | 输出项数组 |
outputs[].url | string | 生成产物的 URL |
outputs[].content_type | string | MIME 类型(例如 image/png、video/mp4) |
error | object | null | 失败时的错误详情,成功时为 null |
error.type | string | 机器可读的错误类型代码 |
error.message | string | 人类可读的错误描述 |
异步工作流
此模型异步运行。先提交请求,再轮询结果。
- 提交:向 /v1/run 发送 POST 请求,并读取返回的
id。 - 轮询:GET /v1/run/{id},直到状态为
completed、failed或timeout。 - 获取:从已完成的响应中读取
outputs。
选择您的模型
比较模型
| 模型 | 类型 | 默认价格 | 发布于 |
|---|---|---|---|
OpenAI | 音频 | $0.01 / 次运行 | 2024年4月8日 |
OpenAI | llm | — | 2026年11月17日 |
OpenAI | llm | — | 2026年11月17日 |
OpenAI | llm | — | 2026年11月17日 |
OpenAI | llm | — | 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。
