Skip to content

CodeUltr0n/Ai-tools-explorer-ketan

Repository files navigation

AI Multi-Model Image Generator

Generate high-quality, unique images from text prompts using multiple AI models. This project integrates Next.js App Router, Tailwind CSS, and the API


Live Demo

Snapshots

Homepage Select Your Model Enter Your Prompt Result

Watch Demo Video


Features

  • AI-powered image generation with text prompts
  • Stable Diffusion XL integration via Stability AI
  • Clean, responsive, and modern UI using Tailwind CSS
  • Download and copy generated images
  • Deployed on Vercel

Getting Started

1. Clone the Repository

git clone https://github.com/yourusername/ai-models-tool.git
cd ai-models-tool

2. Install Dependencies

npm install
# or
yarn install

3. Configure Environment Variables

Create a .env.local file in the root of your project and add your Stability AI API key:

4. Run the Development Server

npm run dev
# or
yarn dev

Visit: http://localhost:3000 to use the application locally.

Decisions Made

Here are some notable decisions made during the development of this project:

Framework: Next.js (App Router) • Chosen for its server-side rendering, routing flexibility, and built-in API routes, making it ideal for full-stack AI applications. • The App Router (introduced in Next 13+) was used to take advantage of modern routing, layouts, and use client capabilities.

Styling: Tailwind CSS • Selected for its utility-first approach, allowing for rapid UI development without writing custom CSS. • Ensures consistency, responsiveness, and clean design.

Image Generation API: Stability AI • Used the Stable Diffusion XL model for its ability to produce high-quality images from detailed prompts. • Base64 format was used for transferring and rendering generated images quickly.

Image Handling • Used next/image for optimal image loading, caching, and performance. • Included buttons to download or copy the generated image for user convenience.

Error Handling • Frontend handles errors gracefully with informative messages. • Backend checks for missing prompts and missing API keys before proceeding.

Deployment: Vercel • Chosen for ease of deployment, seamless GitHub integration, and great support for Next.js apps. • Environment variables configured in the Vercel dashboard to keep secrets secure.

Developer Experience • ESLint and TypeScript used to maintain code quality and catch issues early. • Animations and interactive UI elements added for a better user experience.

Closing Note

This project was developed as part of an internship assignment to demonstrate practical skills in full-stack development, AI integration, and UI/UX design. It reflects: • A solid understanding of modern web development with Next.js and Tailwind CSS • Integration of third-party APIs • A focus on performance, design, and user experience

I’m excited about the opportunity to contribute meaningfully to real-world projects and continue growing as a developer.

Made with passion by Ketan Chokkara Feel free to explore, review, and suggest improvements!

About

AI Multi-Model Image Generator - A full-stack web app that converts text prompts into high-quality images using Stable Diffusion XL via Stability AI. Built with Next.js App Router and Tailwind CSS, it offers a clean UI, image download/copy options, and real-time generation. Deployed on Vercel with optimized performance and robust error handling

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors