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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e345984 Β· Nov 24, 2024

History

19 Commits
Sep 29, 2024
Nov 24, 2024
Sep 22, 2024
Sep 28, 2024
Sep 20, 2024
Nov 24, 2024
Sep 28, 2024
Sep 28, 2024
Sep 28, 2024
Sep 20, 2024

Repository files navigation

🎨 FAL.ai Server Written in Bun

Generate stunning images with Flux-pro using this simple frontend written in Bun! πŸš€

✨ New Features

  • πŸ’₯ Added support for Flux Schnell, Dev, Pro or Ultra
  • πŸ’₯ 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