https://github.com/subhadeeproy3902/make-img
An AI-powered image generation platform where users can create stunning images using advanced models such as Stable Diffusion SDXL - Lightning, SDXL-Base, or DreamShaper. This platform allows users to publish their generated images for others to explore and download. Features
https://github.com/subhadeeproy3902/make-img
cloudflare-workers flux-schnell nextjs typescript
Last synced: about 2 months ago
JSON representation
An AI-powered image generation platform where users can create stunning images using advanced models such as Stable Diffusion SDXL - Lightning, SDXL-Base, or DreamShaper. This platform allows users to publish their generated images for others to explore and download. Features
- Host: GitHub
- URL: https://github.com/subhadeeproy3902/make-img
- Owner: subhadeeproy3902
- Created: 2024-10-06T12:55:36.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-01-02T19:07:20.000Z (5 months ago)
- Last Synced: 2025-01-02T20:19:25.981Z (5 months ago)
- Topics: cloudflare-workers, flux-schnell, nextjs, typescript
- Language: TypeScript
- Homepage: https://img-gen.mvp-subha.me/
- Size: 11.7 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# AI Image Generator
An AI-powered image generation platform where users can create stunning images using advanced models such as **Stable Diffusion SDXL - Lightning**, **SDXL-Base**, or **DreamShaper**. This platform allows users to **publish** their generated images for others to explore and download.
## Features
- **AI-Powered Image Generation**: Generate high-quality images using Stable Diffusion SDXL models and DreamShaper.
- **Image Sharing & Discovery**: Publish your generated images for others to see, explore a gallery of creations by other users, and download the images you like.
- **Multiple AI Models**: Choose from a variety of image generation models, including SDXL-Lightning, SDXL-Base, and DreamShaper.
- **Simple & Intuitive UI**: A clean interface built with **Next.js**, **Tailwind CSS**, and **TypeScript** for easy interaction.
- **Cloudflare Workers & Hono**: Fast and scalable serverless backend powered by Cloudflare Workers and Hono framework.## Tech Stack
- **Frontend**:
- [Next.js](https://nextjs.org/) (React framework)
- [Tailwind CSS](https://tailwindcss.com/) (Utility-first CSS framework)
- [TypeScript](https://www.typescriptlang.org/) (Typed JavaScript)
- **Backend**:
- [Cloudflare Workers](https://workers.cloudflare.com/) (Serverless platform for fast deployment)
- [Hono](https://hono.dev/) (Minimal and fast web framework for the Edge)
- **AI Models**:
- Stable Diffusion SDXL - Lightning
- Stable Diffusion SDXL-Base
- DreamShaper## Getting Started
### Prerequisites
- [Node.js](https://nodejs.org/) installed on your system
- [Cloudflare Workers CLI](https://developers.cloudflare.com/workers/get-started/guide/) for deploying serverless backend### Installation
1. Clone the repository:
```bash
git clone https://github.com/your-username/ai-image-generator.git
cd ai-image-generator
```2. Install dependencies:
```bash
npm install
```3. Set up environment variables:
- Create a `.env.local` file in the root of your project.
```bash
DATABASE_URL="Your mongo url"
NEXT_PUBLIC_SERVER_URL="your deployed cloudflare api"
```4. Run the development server:
```bash
npm run dev
```5. Deploy the Cloudflare Workers backend:
- Follow the steps in the **Cloudflare Workers** guide to deploy your backend.
### Usage
- Select the AI model you want to use (SDXL-Lightning, SDXL-Base, DreamShaper).
- Enter a prompt to generate the image.
- Click "Generate" and wait for the magic to happen!
- Publish your generated image to share it with others, or explore the gallery to download images you like.
---
### Made with ❤️ by [Subhadeep Roy](http://mvp-subha.me/)