Building an AI video generator sounds simple enough: send a prompt to an API, wait for the result, and display the video. But the API call itself is probably the easiest part. What happens if a user refreshes the page during generation?
Source: [Dev.to](https://dev.to/d_3364477b695078adc9bfb/how-to-build-an-ai-video-generator-with-a-video-generation-api-52o)