AT
atinux/flux-ai-image-generator
Generate images with AI using Flux-1 Schnell running on your Cloudflare account.
Generate images with AI using Flux-1 Schnell on Cloudflare
Deploy this application on your Cloudflare account and generate images with AI using Flux-1 Schell. Each image is generated with a prompt and number of steps and save in your Cloudflare R2 bucket.
flux-1-cloudflare-r2.mp4
Features
- Basic auth with username and password
- Generate images with Flux-1 Schell
- Save images to your Cloudflare R2 bucket
- AI Image gallery in development & production with NuxtHub Blob
- One click deploy on 275+ locations for free
Setup
Make sure to install the dependencies with pnpm:
pnpm installLink your project to NuxtHub after linking your Cloudflare account:
npx nuxthub linkDevelopment Server
Start the development server on http://localhost:3000:
pnpm devProduction
Build the application for production:
pnpm buildDeploy
Deploy the application on the Edge with NuxtHub on your Cloudflare account:
npx nuxthub deployThen checkout your server logs, analaytics and more in the NuxtHub Admin.
You can also deploy using Cloudflare Pages CI.