Generate images with AI using Flux-1 Schnell running on your Cloudflare account.
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.
https://github.com/user-attachments/assets/3d69ea0a-36e7-4698-a736-aa6bce551161
Make sure to install the dependencies with pnpm:
pnpm install
Link your project to NuxtHub after linking your Cloudflare account:
npx nuxthub link
Start the development server on http://localhost:3000:
pnpm dev
Build the application for production:
pnpm build
Deploy the application on the Edge with NuxtHub on your Cloudflare account:
npx nuxthub deploy
Then checkout your server logs, analaytics and more in the NuxtHub Admin.
You can also deploy using Cloudflare Pages CI.