I Stopped Paying for AI Image Generation
Combine Claude Code, ComfyUI and free models, like Flux.2, Qwen Image Edit to create a FREE nano banana pro alternative. 🚀 Access ALL video resources & get personalized help in my community: https://www.skool.com/agentic-labs/about?ref=3fd61190e13d426dbf4f3b38adc7de69 💬 My AI voice-to-text software (Wispr Flow): https://wisprflow.ai/r?LEON114 ☕ Buy me a coffee: https://www.buymeacoffee.com/leonvanzyl 💵 Donate using PayPal: https://www.paypal.com/ncp/payment/EKRQ8QSGV6CWW 📺 Nano Banana Pro Image Generator: https://youtu.be/yTvz56NcJQA 🧾 Flux 2 Prompt Guide: https://docs.bfl.ai/guides/prompting_guide_flux2 Learn how to build a free AI image generator using ComfyUI and Flux 2 that runs locally on your own machine. In this tutorial, we use Claude Code to modify a Next.js application to connect to ComfyUI's API, replacing paid services like Nano Banana Pro with unlimited local image generation. You'll learn how to set up ComfyUI workflows, export them as APIs, configure Docker for your Postgres database, and use an AI coding agent to integrate everything into a production-ready app with a custom prompt builder. ⏰ TIMESTAMPS: 00:00 Nano Banana Pro app recap 01:43 ComfyUI free local alternative demo 02:19 Setting up ComfyUI and downloading models 03:00 ComfyUI workflow templates Flux 2 Dev 03:53 Testing Flux 2 image edit workflow 04:37 Cloning the Next.js project from GitHub 05:43 Using Claude Code to remove authentication 08:04 Implementation plan with AI coding agent 10:02 Docker Postgres database setup 11:30 Database migration with Drizzle ORM 12:52 Rebranding the app to ComfyUI Image Generator 14:12 Exporting ComfyUI workflow as API 15:00 Claude Code ComfyUI API integration 16:24 ComfyUI server config host and port 17:02 WebSocket real time progress updates 18:45 Testing ComfyUI image generation 19:17 Flux 2 prompting guide customization 20:32 Final demo with photography settings 21:34 Wrap up and community support #claudecode #flux2 #comfyui #vibecoding