![](/_next/image?url=https%3A%2F%2Fvercel.com%2Fapi%2Fv1%2Fintegrations%2Fassets%2Foac_GzhR3rwEIUyQEpKEsmAiEjfi%2Fimages%2F17f3f06839c83e93e16212dcb723a4113202b540.png&w=3840&q=75)
![](/_next/image?url=https%3A%2F%2Fimg.youtube.com%2Fvi%2FZBOTuOerlY8%2F0.jpg&w=3840&q=75)
![](/_next/image?url=https%3A%2F%2Fvercel.com%2Fapi%2Fv1%2Fintegrations%2Fassets%2Foac_GzhR3rwEIUyQEpKEsmAiEjfi%2Fimages%2F9af70a032e45b6251d10becfbf3411d980889cd9.png&w=3840&q=75)
![](/_next/image?url=https%3A%2F%2Fvercel.com%2Fapi%2Fv1%2Fintegrations%2Fassets%2Foac_GzhR3rwEIUyQEpKEsmAiEjfi%2Fimages%2F623c288b90335c6a705479888d1f2e266f99e67d.png&w=3840&q=75)
![](/_next/image?url=https%3A%2F%2Fvercel.com%2Fapi%2Fv1%2Fintegrations%2Fassets%2Foac_GzhR3rwEIUyQEpKEsmAiEjfi%2Fimages%2Fdbae5e2146df802be5425a613e59ae043a78e133.png&w=3840&q=75)
Overview
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.
Environment variables
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.
Instructions
Some extra components make Vercel + fal.ai integration even easier.
Next.js proxy
There are officially supported libraries for JS, @fal-ai/serverless-client
and @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.