New Project

Fal Image Generator

An open-source AI image generator built with Next.js, the AI SDK, and Fal.

DeployView Demo

Fal x Vercel Image Generator

An open-source AI image generation app template built with Next.js, the AI SDK by Vercel, and Fal.

Features · Deploy Your Own · Running Locally · Authors


Features

  • Supports image generation using generateImage from the AI SDK by Vercel, allowing multiple AI providers to be used interchangeably with just a few lines of code.
  • A single input to generate images across multiple models simultaneously.
  • shadcn/ui components for a modern, responsive UI powered by Tailwind CSS.
  • Built with the latest Next.js App Router (version 15).

Deploy Your Own

You can deploy your own version of the AI SDK Image Generator to Vercel by clicking the button below:

Running Locally

  1. Clone the repository and install dependencies:

    npm install
    # or
    yarn install
    # or
    pnpm install
  2. Install the Vercel CLI:

    npm i -g vercel
    # or
    yarn global add vercel
    # or
    pnpm install -g vercel

    Once installed, link your local project to your Vercel project:

    vercel link

    After linking, pull your environment variables:

    vercel env pull

    This will create a .env.local file with all the necessary environment variables.

  3. Run the development server:

    npm run dev
    # or
    yarn dev
    # or
    pnpm dev
  4. Open http://localhost:3000 to view your new AI chatbot application.

Authors

This repository is maintained by the Vercel team and community contributors.

Contributions are welcome! Feel free to open issues or submit pull requests to enhance functionality or fix bugs.

GitHub Repovercel-labs/vercel-fal-image-generator
LicenseView License
Use Cases
AI
Stack
Next.js
Tailwind

Related Templates

Chatbot

A full-featured, hackable Next.js AI chatbot built by Vercel
Chatbot thumbnail

Dynamic Model Usage with AI SDK

A chatbot that allows you to dynamically set the LLM using Vercel AI SDK with Feature Flags and Edge Config
Dynamic Model Usage with AI SDK thumbnail

Fal Video Generator

A Next.js app showcasing AI video generation with the fal SDK.
Fal Video Generator thumbnail
DeployView Demo