Enable your app with AI inference with seamless integration with Next.js and Vercel. This integration makes the setup hassle-free and will get your Vercel app production-ready in no time.
This integration creates an API Key and sets it in the environment variables of your selected apps, named
FAL_KEY. This will ensure your applications using the fal.ai clients can make calls while keeping your credentials safe.
Some extra components make Vercel + fal.ai integration even easier.
There are officially supported libraries for JS,
@fal-ai/serverless-proxy/nextjs, that work out-of-the-box with Next.js. This integration makes it even easier to set it up. For more information, check out the official Next.js integration guide.