Form a web core application I would like to post a video to an LLM with a prompt to operate on the video then display the results. What would be the best method to accomplish this?
The first question is here, what LLM and who will provide the API key for the LLM?
If this is supposed to be your API key and you want to offer this service to others, it is for security reasons mandatory to implement the LLM communication server-side, so the API key is not public. So, with this assumption, you'd need to transmit the video & prompt to your own backend and have your backend invoke the LLM, fetch its results and send it back the web client in the browser.
1 Like