A minimal web demo for FLUX.2 Klein image generation by Black Forest Labs.
- 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!
-
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)
Deploy to Vercel:
npm i -g vercel
vercelOr connect your GitHub repository to Vercel for automatic deployments.
This project is licensed under the Creative Commons Attribution 4.0 International License - see the LICENSE file for details.