Skip to content

Web server written with Bun that uses the Fal API to generate Flux Pro images

License

Notifications You must be signed in to change notification settings

hazlema/Fal.ai-API-Server

Repository files navigation

🎨 FAL.ai Server Written in Bun

Generate stunning images with Flux-pro using this simple frontend written in Bun! 🚀

✨ New Features

  • 💥 Updated to use Flux-Pro v1.1
  • 📊 SQLite database to store user info
  • 🎉 Redesigned web interface
  • 🔐 Login / Authentication
  • 💳 Credits System
  • 🔄 Last generation settings persist

🚀 Quick Start

  1. Edit the /src/.env file and add your FAL.ai key
  2. Launch the server: bun run server
  3. Access the web interface at http://localhost:3000

📝 Note: The server defaults to hostname localhost running on port 3000. You can change this by editing src/.env.

🖼️ Preview

Web Interface Login Screen New User Registration

🛠️ Installation

  1. Clone/Download the repo
  2. Run bun install

Don't have the prerequisites? No worries!

🏃‍♂️ Running the Server

  1. Edit the /src/.env file and add your FAL.ai key
  2. Launch the server: bun run server
  3. Open your browser and navigate to: http://localhost:3000/

Happy image generating! 🎨✨

About

Web server written with Bun that uses the Fal API to generate Flux Pro images

Topics

Resources

License

Stars

Watchers

Forks