Sand AISand AI MAGI-2ตอนนี้ MAGI-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.006USD / การรัน
การทำงาน
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.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

การ์ดโมเดล

ข้อมูลจำเพาะ

ราคา

ราคาพื้นฐาน
$0.006 / การรัน

บริบทและ modalities

อินพุต
กำหนดตามสคีมา
เอาต์พุต
audio

ความสามารถ

แชท
ไม่รองรับ
วิชัน
ไม่รองรับ
การให้เหตุผล
ไม่รองรับ
เอาต์พุตแบบมีโครงสร้าง
ไม่รองรับ
การเรียกใช้ฟังก์ชัน
ไม่รองรับ
อินพุตเสียง
ไม่รองรับ

การเข้าถึง

ผู้ให้บริการ
OpenAI
รหัสโมเดล
openai/wizper
การทำงาน
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/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 ได้ พร้อมการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์

Production API
เอ็นด์พอยต์ Unified Run API
https://api.sandbase.ai/v1/run
รหัสโมเดล
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

สคีมาขาเข้า

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

สคีมาเอาต์พุต

ฟิลด์ประเภทคำอธิบาย
idstringตัวระบุเฉพาะสำหรับงาน generation
statusstringสถานะงาน: pending, running, completed, failed, timeout
modelstringโมเดลที่ใช้สำหรับ generation
outputsarrayอาร์เรย์ของรายการเอาต์พุต
outputs[].urlstringURL ของอาร์ติแฟกต์ที่สร้างขึ้น
outputs[].content_typestringประเภท MIME (เช่น image/png, video/mp4)
errorobject | nullรายละเอียดข้อผิดพลาดหากล้มเหลว, เป็น null เมื่อสำเร็จ
error.typestringรหัสประเภทข้อผิดพลาดที่เครื่องอ่านได้
error.messagestringคำอธิบายข้อผิดพลาดที่มนุษย์อ่านได้

เวิร์กโฟลว์แบบอะซิงก์

โมเดลนี้ทำงานแบบอะซิงโครนัส ส่งคำขอแล้วคอยตรวจผลลัพธ์

  1. ส่ง: POST ไปที่ /v1/run แล้วอ่าน id ที่ส่งกลับมา
  2. คอยตรวจ: GET /v1/run/{id} จนกว่าสถานะจะเป็น completed, failed หรือ timeout
  3. ดึงข้อมูล: อ่าน outputs จากการตอบกลับที่เสร็จสมบูรณ์

เลือกโมเดลของคุณ

เปรียบเทียบโมเดล

โมเดลภาพและวิดีโอทั้งหมด
โมเดลประเภทราคามาตรฐานเปิดตัว
Wizper (Whisper v3)โมเดลนี้
OpenAI
เสียง$0.01 / ครั้ง8 เม.ย. 2567
OpenAIllm—17 พ.ย. 2569
OpenAIllm—17 พ.ย. 2569
OpenAIllm—17 พ.ย. 2569
OpenAIllm—17 พ.ย. 2569
OpenAIรูปภาพ$0.09 / ครั้ง4 พ.ย. 2569

คำถาม

คำถามที่พบบ่อย

ฉันจะเรียก OpenAI Wizper (Whisper v3) ผ่าน SandBase ได้อย่างไร?

สร้าง SandBase API key แล้วส่งคำขอด้วย model ID "openai/wizper" ไปที่ Unified Run API (/v1/run) ที่ https://api.sandbase.ai ตัวอย่างคำขอบนหน้านี้แสดง payload ที่ถูกต้องทั้งหมด

ฉันจำเป็นต้องมีบัญชี OpenAI แยกต่างหากไหม?

ไม่จำเป็น SandBase API key และยอดคงเหลือหนึ่งชุดให้คุณเข้าถึง OpenAI Wizper (Whisper v3) และโมเดลอื่น ๆ ในแค็ตตาล็อกได้ คุณไม่ต้องสมัครใช้งานกับ OpenAI แยกต่างหาก