Custom APIs #827
Replies: 2 comments 5 replies
-
Thanks for the work you have done in this software! I'm using whisper.cpp at medium to transcribe video files and output subtitles in English, but I intend in translate these subtitles to Portuguese, I create an openai api key just to discover that I have to pay to use. I'm trying to use ollama with llama2 model as it's been shown in https://ollama.com/blog/openai-compatibility. I had openai api key in Preferences and on "OpenAI base url" I put http://localhost:11434/. When I open the subtitle in buzz and click the translate button I type the model "llama2" and type the instructions as in the link https://chidiwilliams.github.io/buzz/docs/usage/translations, and nothing happens. Any instructions on how to use buzz with ollama models? |
Beta Was this translation helpful? Give feedback.
-
When I tried to use the local Ollama to translate, I received this message: 404 page not found. Does Someone receive this error message? I believe that the solution is in this issue: when I use the groq.com in MacOS, the app throws these errors: Translated Report (Full Report Below)Process: Buzz [47934] Thread 0:: Dispatch queue: com.apple.main-thread [.... Removed the rest ....] |
Beta Was this translation helpful? Give feedback.
-
This discussion thread is a place to collect custom API urls that can be used with Buzz. Enter API urls and keys in Help -> Settings.
API key has to be in
ASCII
encoding with no special language characters.Speech recognition APIs
https://api.openai.com/v1
) supports transcription of files up to 25MB in size. Price $0.006 / minute. More infohttps://api.lemonfox.ai/v1
. Price $0.50 per 3 hours of speech. More infohttps://api.groq.com/openai/v1
. Free transcription with quite generous limits. More intoTranslation APIs
Local translation with Ollama is also possible. For setup instructions see this.
Use this configuration
http://localhost:11434/v1
ollama
When enabling translation, specify model you have downloaded in Ollama from the list of models.
For translation with Groq.com
https://api.groq.com/openai/v1
gsk_AAbbCC......xxYYzz
When enabling translation, specify supported groq.com model from the list of models.
Please note that if API key validation fails transcription and translation with the API may still work, as some API may not support key validation.
Beta Was this translation helpful? Give feedback.
All reactions