Whisper
語言支援列表
GET /whisper/models
請求
GET /whisper/models請求範例
curl -X GET https://api.hans0805.me/api/v1/whisper/modelsimport requests
response = requests.get(
'https://api.hans0805.me/api/v1/whisper/models'
)回應
成功回應 200 OK
{
"current_model": "medium",
"device": "cpu",
"language_modes": [
"zh",
"zh-en",
"en",
"ja"
],
"max_file_size_mb": 500,
"supported_formats": [
"mp4",
"flac",
"m4a",
"mp3",
"m4v",
"webm",
"mov",
"wav"
]
}