Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imwildcat/faster-whisper-api
self hosted whisper api system based on container
https://github.com/imwildcat/faster-whisper-api
Last synced: 13 days ago
JSON representation
self hosted whisper api system based on container
- Host: GitHub
- URL: https://github.com/imwildcat/faster-whisper-api
- Owner: imWildCat
- Created: 2024-04-06T18:06:47.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-09-04T16:02:12.000Z (2 months ago)
- Last Synced: 2024-10-26T07:33:09.761Z (18 days ago)
- Language: Python
- Size: 18.6 KB
- Stars: 61
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Self-hosted Faster Whisper API, Compatible with OpenAI's Whisper API
## 🍎 Apple Shortcut
### English
### Traditional Chinese
Original version (OpenAI):
## Get Started (Docker Compose)
You'll need
1. A PC with NVIDIA GPU
2. Connected to the public internet to expose this service to the public```shell
git clone https://github.com/imWildCat/faster-whisper-api.git
cd faster-whisper-api
cp .env.example .env
# Edit .env file to set your API key and Cloudflare Tunnel token (optional)docker-compose up -d
```### Use pre-built image
Open `docker-compose.yml`, apply this change
```diff
services:
app:
- build:
- context: .
- dockerfile: Dockerfile
+ image: ghcr.io/imwildcat/faster-whisper-api:main
````Then run `docker-compose up -d` to start the service.
It would save you ~5 mins of building the image.## License
The MIT License (MIT)
# 自架 Faster Whisper API,兼容 OpenAI 的 Whisper API
## 🍎 Apple 快捷方式
### 英文
### 繁體中文
原始版本(OpenAI):
## 開始(Docker Compose)
你需要:
1. 一臺帶有 NVIDIA GPU 的電腦
2. 連接到公共互聯網以將此服務暴露給公眾```shell
git clone https://github.com/imWildCat/faster-whisper-api.git
cd faster-whisper-api
cp .env.example .env
# 編輯 .env 文件以設置您的 API 密鑰和 Cloudflare 隧道令牌(可選)docker-compose up -d
```### 使用預構建的鏡像
打開 `docker-compose.yml`,應用以下更改
```diff
services:
app:
- build:
- context: .
- dockerfile: Dockerfile
+ image: ghcr.io/imwildcat/faster-whisper-api:main
````然後運行 `docker-compose up -d` 啟動服務。
這將節省您約 5 分鐘的鏡像構建時間。## 許可證
MIT 許可證 (MIT)