Add AI video generation to a Next.js app: route handlers, spend caps, polling and webhooks
A developer working on the Revana image and video generation API published a guide for integrating AI video generation into a Next.js App Router application, using separate route handlers to start jobs, report status, an…