Next.js 14 template for AI image tool website
Top 76.5% on sourcepulse
This repository provides a Next.js 14 and Tailwind CSS 3 template for an AI image outpainting website, targeting users who want to build a functional AI art generation platform. It offers a pre-built frontend with internationalization, payment integration, and Google login, aiming to simplify the setup of such services.
How It Works
The frontend communicates with a backend via a Message Queue (MQ) system. Upon order creation, an SSE request is sent to an MQ queue manager (a Python microservice). GPU servers listen to this queue, process AI outpainting jobs using models like those from Hugging Face, upload results to Cloudflare R2, and notify the website via callbacks. This decoupled architecture allows independent scaling of GPU resources without affecting the website. An alternative polling-based approach is also described.
Quick Start & Requirements
yarn install
yarn pg:migrate
yarn dev
yarn extract
and yarn translate
(with OpenAI API key).Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
Local Google login setup requires specific code modifications to resolve issuer mismatches. The backend AI model and MQ manager are not included and must be self-hosted or integrated via services like Runpod. Translation scripts rely on external APIs and require configuration.
9 months ago
Inactive