taskstring
Task to perform on the audio file. Either transcribe or translate.
기본값: "transcribe"
가능한 값: "transcribe", "translate"
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.
모델 사용해 보기
예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
{
"audio": "https://static.sandbase.ai/examples/9a8dcd55-ad4d-4ef6-b8a6-fb977acc926e/input/a854cae2-ac54-4df5-bb68-324477ae2ae5.wav",
"language": "zh",
"task": "transcribe"
}{
"audio": "https://static.sandbase.ai/examples/40ec8cdb-5101-447c-a497-a286c422f64d/input/75c69de4-174d-466d-86c7-014c95296f66.wav",
"language": "ja",
"task": "translate"
}{
"audio": "https://static.sandbase.ai/examples/8c465b2c-cf15-4c9b-b911-2a875bd1346d/input/25f58df2-490d-4b75-b9f3-213059c90d7f.wav",
"language": "zh",
"task": "translate"
}{
"audio": "https://static.sandbase.ai/examples/151f34c3-8e84-4ac3-8559-af3ee7545417/input/64a43f4b-e952-4693-a56b-5bf3ab327b99.wav",
"language": "ko",
"task": "transcribe"
}{
"audio": "https://static.sandbase.ai/examples/fafffff4-3159-416f-a20e-3b825b6a9080/input/e762427e-ff57-4677-a3b3-5cc87ce98cf4.wav",
"language": "ja",
"task": "translate"
}Wizper is a fast Whisper v3 speech-to-text model: transcribe audio in about 100 languages, or translate it to English.
| 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 | afamarasazbabebgbnbobrbscacscydadeeleneseteufafifofrglguhahawhehihrhthuhyidisitjajwkakkkmknkolalblnloltlvmgmimkmlmnmrmsmtmynenlnnnoocpaplpsptrorusasdsiskslsnsosqsrsusvswtatetgthtktltrttukuruzviyiyozh | en | Source language code. |
version | string | 3 | Version of the model to use. |
merge_chunks | boolean | true | Merge short segments. |
$0.006 per request, whatever the audio length.
| Request | Price |
|---|---|
| One file | $0.006 |
Failed runs are not charged.
빌드를 시작하세요
SandBase Unified Run API를 통해 이 모델을 제출하세요.
# 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"SandBase API 키를 생성해 서버 환경에 설정하세요. 모든 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하거나 저장소에 커밋하지 마세요.
이 모델 ID와 입력값을 사용해 /v1/run로 POST하세요. 위의 요청 예시에는 제출과 폴링이 포함되어 있습니다.
반환된 실행 ID를 사용해 상태가 completed, failed 또는 timeout이 될 때까지 폴링하세요. completed 이후에만 출력을 읽으세요.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"모델의 이미지, 비디오 또는 오디오 필드에 공개적으로 접근 가능한 파일 URL을 전달하세요. 지원 형식과 제한은 각 Playground 입력 옆에 표시됩니다.
Playground의 지원되는 이미지 필드에서 업로드 또는 교체 컨트롤을 사용하세요. 비디오 URL 필드는 호스팅된 driving video를 받으며, 비디오 업로드 지원을 의미하지는 않습니다.
taskstringTask to perform on the audio file. Either transcribe or translate.
기본값: "transcribe"
가능한 값: "transcribe", "translate"
audiostringURL of the audio file to transcribe. Supported formats: mp3, mp4, mpeg, mpga, m4a, wav or webm.
versionstringVersion of the model to use. All of the models are the Whisper large variant.
기본값: "3"
languagestringLanguage 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.
기본값: "en"
가능한 값: "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"
chunk_levelstringLevel of the chunks to return.
기본값: "segment"
merge_chunksbooleanWhether to merge consecutive chunks. When enabled, chunks are merged if their combined duration does not exceed max_segment_len.
기본값: true
max_segment_lenintegerMaximum speech segment duration in seconds before splitting.
기본값: 29
최소값: 10
최대값: 29
{
"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
}완료된 실행의 결과는 출력에 표시됩니다. 아래 내용은 새 생성 결과가 아니라 모델에 저장된 예시입니다.
[
{
"text": "这里是冰雪大世界眼前这座冰城堡有三层楼那么高晚上灯一亮整座城堡会变成蓝色和紫色气温零下20度大家记得戴好手套"
}
]