Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

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.

Giá cơ bản
$0.006USD / lần chạy
Thực thi
async
Loại model
audio
Các trường đầu vào
7
Đường dẫn production

Thử model

Phòng thử nghiệm

Mở playground
Đầu vào
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. Phạm vi: 10 đến 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.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

Thẻ model

Thông số kỹ thuật

Giá

Giá cơ bản
$0.006 / lần chạy

Ngữ cảnh & phương thức

Đầu vào
Định nghĩa theo schema
Đầu ra
audio

Tính năng

Chat
Không được hỗ trợ
Thị giác
Không được hỗ trợ
Suy luận
Không được hỗ trợ
Đầu ra có cấu trúc
Không được hỗ trợ
Gọi hàm
Không được hỗ trợ
Đầu vào âm thanh
Không được hỗ trợ

Truy cập

Nhà cung cấp
OpenAI
ID mô hình
openai/wizper
Thực thi
async
URL cơ sở
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

README API

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.

Bắt đầu xây dựng

Gửi request đầu tiên của bạn

Endpoint tương thích OpenAI với xác thực và theo dõi mức sử dụng thống nhất.

API Production
endpoint Unified Run API
https://api.sandbase.ai/v1/run
ID mô hình
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 đầu vào

7 tham số · 0 bắt buộc · 7 tùy chọn

Tham sốKiểuBắt buộcMô tả
taskstringTùy chọnTask to perform on the audio file. Either transcribe or translate. · Tùy chọn: transcribe, translate · Mặc định: "transcribe"
transcribetranslate
audiostringTùy chọnURL of the audio file to transcribe. Supported formats: mp3, mp4, mpeg, mpga, m4a, wav or webm.
versionstringTùy chọnVersion of the model to use. All of the models are the Whisper large variant. · Mặc định: "3"
languagestringTùy chọn 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. · Tùy chọn: 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 · Mặc định: "en"
afamarasazbabebgbnbobrbscacscydadeeleneseteufafifofrglguhahawhehihrhthuhyidisitjajwkakkkmknkolalblnloltlvmgmimkmlmnmrmsmtmynenlnnnoocpaplpsptrorusasdsiskslsnsosqsrsusvswtatetgthtktltrttukuruzviyiyozh
chunk_levelstringTùy chọnLevel of the chunks to return. · Mặc định: "segment"
merge_chunksbooleanTùy chọnWhether to merge consecutive chunks. When enabled, chunks are merged if their combined duration does not exceed max_segment_len. · Mặc định: true
max_segment_lenintegerTùy chọnMaximum speech segment duration in seconds before splitting. · Tối thiểu: 10 · Tối đa: 29 · Mặc định: 29
02

Schema đầu ra

TrườngKiểuMô tả
idstringMã định danh duy nhất cho tác vụ tạo
statusstringTrạng thái tác vụ: pending, running, completed, failed, timeout
modelstringModel được dùng cho quá trình tạo
outputsarrayMảng các mục đầu ra
outputs[].urlstringURL của artifact đã tạo
outputs[].content_typestringKiểu MIME (ví dụ image/png, video/mp4)
errorobject | nullChi tiết lỗi nếu thất bại, null nếu thành công
error.typestringMã loại lỗi có thể đọc bằng máy
error.messagestringMô tả lỗi dễ đọc cho người dùng

Quy trình không đồng bộ

Model này chạy bất đồng bộ. Gửi yêu cầu, rồi thăm dò để lấy kết quả.

  1. Gửi: POST tới /v1/run và đọc id được trả về.
  2. Thăm dò: GET /v1/run/{id} cho đến khi trạng thái là completed, failed hoặc timeout.
  3. Truy xuất: đọc outputs từ phản hồi hoàn tất.

Chọn model của bạn

So sánh model

Tất cả model hình ảnh và video
Mô hìnhLoạiGiá mặc địnhPhát hành
Wizper (Whisper v3)Mô hình này
OpenAI
Âm thanh$0.01 / lượt chạy8 thg 4, 2024
OpenAIllm—17 thg 11, 2026
OpenAIllm—17 thg 11, 2026
OpenAIllm—17 thg 11, 2026
OpenAIllm—17 thg 11, 2026
OpenAIHình ảnh$0.09 / lượt chạy4 thg 11, 2026

Câu hỏi

FAQ

Làm thế nào để gọi OpenAI Wizper (Whisper v3) qua SandBase?

Tạo một API key SandBase, sau đó gửi yêu cầu với model ID "openai/wizper" tới Unified Run API (/v1/run) tại https://api.sandbase.ai. Các ví dụ yêu cầu trên trang này cho thấy chính xác payload.

Tôi có cần tài khoản OpenAI riêng không?

Không. Chỉ cần một API key và số dư SandBase là bạn có thể truy cập OpenAI Wizper (Whisper v3) và các model khác trong danh mục; bạn không cần đăng ký riêng với OpenAI.