I'm building a LLM/image/video centralized tool (tryblend.ai) and was wondering about the best way to upload/return url to client.
Let's say I generate a stable video using Falai and get the URL from them. Currently, right after the generation, I upload it and then return to the client the URL from UploadThings. Should I instead return the Falai URL to the client, display it to the URL, call the server function to save the URL, and when done, replace the URL the user sees? What's the best way of doing it here?