This is a React app with fal that demonstrates real-time AI image generation based on drawings in a canvas.
-
Make sure you install the dependencies:
npm install
-
Now you can run the Next.js project as usual:
npm start
Open http://localhost:3000 with your browser to see the result.
Note: although the commands above use npm
, feel free to use your preferred package manager,
Real-time image generation is just one of the many cool things you can do with fal. Make sure you:
- Check all the available Model APIs
- Check our Next.js integration guide
- Learn how to write your own model APIs on Introduction to serverless functions
- Read more about function endpoints on Serving functions