Una API REST para transcribir archivos de audio usando el modelo Whisper de OpenAI
1.2K
Una API REST construida con FastAPI para transcribir archivos de audio usando el modelo Whisper de OpenAI.
git clone https://github.com/TU_USUARIO/transcription-api.git
cd transcription-api
docker-compose up -d
Visita http://localhost:8000/docs para ver la documentación interactiva de la API.
curl -X POST http://localhost:8000/transcribe/ \
--data-binary @tuarchivo.mp3
curl -X POST http://localhost:8000/transcribe/url/ \
-H "Content-Type: application/json" \
-d '{"url":"http://ejemplo.com/audio.mp3"}'
Puedes configurar el tamaño del modelo Whisper en el docker-compose.yml:
base (default): Buen balance entre precisión y velocidadsmall: Más rápido, menos precisomedium: Más preciso, más lentolarge: La mayor precisión, pero requiere más recursosMIT
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)Content type
Image
Digest
sha256:8096f0279…
Size
2.9 GB
Last updated
over 1 year ago
docker pull skarious/transcription-api