The Replicate API Generator is a small TS/BUN script that display a simple UI to leverage the Replicate API to generate images using the "Flux [Schnell]" model.
- Bun installed on your system.
- A valid Replicate API token.
git clone https://github.com/xcrap/replicate-api-generator.git
cd flux-schnell-replicate-generator
REPLICATE_API_TOKEN=your_replicate_api_token_here
DEBUG=FALSE
PORT=3000
Install dependencies using Bun,
bun install
bun run build
bun run dev
Access the application at http://localhost:3000. (Or whatever port you specified in the .env file)
- Make a proper UI
- Add schema support to load additional image models
- Add a lightbox to the generated images
- Add a option to delete the generated or all generated images
- Add a option copy a generated images prompts to prompt input
- Cancel Job Training