README
FLUX.2 [klein] Demo
A minimal web demo for FLUX.2 Klein image generation by Black Forest Labs.
Features
- Text-to-image generation with FLUX.2 Klein (9B and 4B variants)
- Image-to-image generation using reference images
This demo is intended as a starting point for developers exploring the BFL API. Fork it and build something cool!
Setup
-
Install dependencies:
npm install -
Run the development server:
npm run dev -
Open http://localhost:4321 in your browser
-
Enter your BFL API key (get one at https://dashboard.bfl.ai/get-started)
Deployment
Deploy to Vercel:
npm i -g vercel
vercel
Or connect your GitHub repository to Vercel for automatic deployments.
Tech Stack
License
This project is licensed under the Creative Commons Attribution 4.0 International License - see the LICENSE file for details.