Skip to main content

Whisper-1 - Speech to Text

Convert speech to text using OpenAI's Whisper model.

Endpoint

Authentication

FieldValue
API-KEY<api-key>
Content-Typeapplication/json

Request Parameters

ParameterTypeSupported ValueDescriptionRequired
typestringSPEECH_TO_TEXTFeature name✔️
modelstringwhisper-1Model name✔️
promptObject.audioUrlstringPath to audio file✔️
promptObject.response_formatstringtextFormat of transcription response✔️

Code Examples

curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "SPEECH_TO_TEXT",
"model": "whisper-1",
"promptObject": {
"audioUrl": "development/audios/2025_02_20_16_17_35_429_Noi_Nay__-_NhacHayVN.mp3",
"response_format": "text"
}
}'

Response

{}