Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: compatibility with OpenAI's API #182

Open
didmar opened this issue Dec 23, 2023 · 5 comments
Open

FR: compatibility with OpenAI's API #182

didmar opened this issue Dec 23, 2023 · 5 comments

Comments

@didmar
Copy link

didmar commented Dec 23, 2023

If I'm not mistaken, this API is different from OpenAI's.
It prevents usage as a drop-in replacement for other applications or plugins that connect to Whisper (such as https://github.com/nikdanilov/whisper-obsidian-plugin).
This would be great to avoid ad-hoc implementations in each of these applications and plugins.

@ayancey
Copy link
Collaborator

ayancey commented Dec 23, 2023

I like this idea. It would be useful if you could explain OpenAI's endpoints a bit and what the output format is for the data. thank you

@didmar
Copy link
Author

didmar commented Dec 23, 2023

I've ended up forking a project that does specifically that: https://github.com/didmar/whisper-api-server
There is also the official doc: https://platform.openai.com/docs/guides/speech-to-text

@ahmetoner
Copy link
Owner

Good idea! I was actually planning to implement this change in version 2.0. I'll start to make some breaking changes to the repository after the new year.

@fedirz
Copy link

fedirz commented Jun 3, 2024

I've recently created faster-whisper-server, which supports /v1/audio/transcriptions, /v1/audio/transcriptions, /v1/models, and /v1/models/{model} routes, as well as streaming transcription/translation (SSE), and live audio transcription (web socket)

@ayancey
Copy link
Collaborator

ayancey commented Aug 10, 2024

proof of concept: #237. Still needs a lot of love and some abstraction to work across openai-whisper/faster-whisper cores

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants