PixelForge
Archived 5 hours ago
T
Shashwat
Script Kiddie!
I just finished V2.1 of my image generator! This project taught me a ton about handling API loading states, managing environment variables securely on Render, and working with image blobs in the frontend.
It uses a "Brain + Brush" architecture:
🧠 Gemini handles the prompt expansion.
🖌️ FLUX.1 handles the generation.
📝 Used HTML/CSS/JS
✨ Features
1. AI Prompt Expansion: Uses Gemini AI to transform short descriptions into descriptive, artistic masterpieces.2. High-Speed Rendering: Integrated with the FLUX.1-schnell model for rapid image generation.3. Smart Retries: Server-side logic to handle Hugging Face model loading states and busy signals.4. Secure Backend: API keys are managed via server-side environment variables to prevent leakage.5. Keyboard Shortcuts: Press Enter to trigger generation instantly.6. One-Click Download: Save high-res AI art directly to your device with a dedicated download button.
Take a look at the repo or try the live demo!
Demo: [https://pixelforge-a728.onrender.com/]
Repo: [https://github.com/Shashwat-2302/PixelForge]
It uses a "Brain + Brush" architecture:
🧠 Gemini handles the prompt expansion.
🖌️ FLUX.1 handles the generation.
📝 Used HTML/CSS/JS
✨ Features
1. AI Prompt Expansion: Uses Gemini AI to transform short descriptions into descriptive, artistic masterpieces.2. High-Speed Rendering: Integrated with the FLUX.1-schnell model for rapid image generation.3. Smart Retries: Server-side logic to handle Hugging Face model loading states and busy signals.4. Secure Backend: API keys are managed via server-side environment variables to prevent leakage.5. Keyboard Shortcuts: Press Enter to trigger generation instantly.6. One-Click Download: Save high-res AI art directly to your device with a dedicated download button.
Take a look at the repo or try the live demo!
Demo: [https://pixelforge-a728.onrender.com/]
Repo: [https://github.com/Shashwat-2302/PixelForge]
