Mistral의 Voxtral 음성 인식입니다. 다국어 전사에 구간 타임스탬프, 화자 분리, 어휘 지정을 선택적으로 더할 수 있습니다. 오디오 1초당 0.135625 크레딧(분당 약 8.1 크레딧)으로 과금되며 요청당 최대 1시간입니다.
콘솔의 Playground에서 별도 코드 없이 이 모델을 즉시 테스트할 수 있어요
이 모델의 사용법을 Claude, ChatGPT 등에 복사
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "mistral/voxtral-mini-transcribe-3",
"input": {
"audio": "https://replicate.delivery/mgxm/e5159b1b-508a-4be4-b892-e1eb47850bdc/OSR_uk_000_0050_8k.wav",
"timestamp_granularities": [
"segment"
]
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
audio | string | Yes | - | 오디오 파일 URL입니다 (mp3, wav, m4a, flac, ogg, webm). Mistral이 직접 내려받으므로 공개적으로 접근 가능한 URL이어야 합니다. 최대 1시간입니다. |
language | string | No | - | 오디오의 언어를 ISO 639-1 코드로 지정합니다 (ko, en, ja, fr 등). 생략하면 자동 감지합니다. |
timestamp_granularities | array | No | - | ["segment"]를 주면 구간별 시작·끝 시각을 받습니다. 단어 단위 타임스탬프는 이 모델에서 제공되지 않습니다. segment |
diarize | boolean | No | - | 각 구간에 speaker_id(speaker_1, speaker_2 …)를 붙입니다. |
context_bias | array | No | - | 정확히 표기할 이름·약어·전문 용어를 항목당 하나씩 넣습니다(최대 100개). |
이 모델의 audio 파라미터에 파일을 전달하는 방법은 3가지입니다.
공개 접근 가능한 URL을 직접 전달합니다. Storage API(POST /v1/files/upload-url)로 업로드하면 파일이 S3로 직접 올라가고(파일당 50MB), 반환된 file_url을 그대로 쓰면 됩니다.
{
"model": "mistral/voxtral-mini-transcribe-3",
"input": {
"prompt": "your prompt here",
"audio": "https://example.com/image.jpg"
}
}POST /v1/predictions/upload에 파일을 직접 첨부합니다. 별도 업로드 과정이 없는 대신, 파일이 API 서버를 거치므로 요청 전체 10MB 제한이 적용됩니다.
curl -X POST "https://api.core.today/v1/predictions/upload" \
-H "X-API-Key: cdt_your_api_key" \
-F "model=mistral/voxtral-mini-transcribe-3" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:audio=@your_file.png"POST /v1/predictions 요청 시 사용되는 공통 파라미터입니다.
| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
model | string | Yes | - | 모델 식별자 |
input | object | Yes | - | 위 테이블의 모델별 파라미터를 포함하는 객체 |
output_folder | string | No | - | 결과물 저장 폴더 경로 (최대 256자, '..' 사용 불가) |
webhook_url | string | No | - | 완료 시 호출할 Webhook URL |
is_public | boolean | No | false | true 시 결과물을 영구 공개 URL로도 제공 |
{text, segments, usage}를 반환합니다 — usage.prompt_audio_seconds가 과금 길이입니다.
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "mistral/voxtral-mini-transcribe-3",
"input": {
"audio": "https://replicate.delivery/mgxm/e5159b1b-508a-4be4-b892-e1eb47850bdc/OSR_uk_000_0050_8k.wav",
"timestamp_granularities": [
"segment"
]
}
}'diarize로 화자를 구분하고 context_bias로 제품 이름 표기를 맞춥니다.
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "mistral/voxtral-mini-transcribe-3",
"input": {
"audio": "https://example.com/meeting.m4a",
"language": "ko",
"diarize": true,
"context_bias": [
"코어닷투데이",
"Core.Today"
]
}
}'