Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

140 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎨 Prompt 2 Paint

AI-Powered Text-to-Image Generator

Type a prompt. Get art. It's that simple.

Live Demo Portfolio License: MIT GitHub Stars GitHub Forks


React Tailwind CSS Vite Node.js Express.js MongoDB Vercel


🧬 What is Prompt 2 Paint?

Most AI image tools are complex or pay-walled. Prompt 2 Paint changes that.

A full-stack MERN application that generates stunning images from natural language prompts β€” fast, free, and frictionless.

const prompt2paint = {
    input: "A sunset over cyberpunk Tokyo",
    output: "πŸ–ΌοΈ AI-generated masterpiece",
    stack: ["React", "Node.js", "Express", "MongoDB"],
    api: "AI Image Generation",
    deployedOn: "Vercel",
    status: "🟒 Live"
};

async function createArt(prompt) {
    const image = await ai.generate(prompt);
    return image; // ✨ Magic happens here
}

✨ Features

Feature Description
πŸ–ΌοΈ Text-to-Image Generation Type any prompt and watch AI bring it to life
⚑ Blazing Fast Optimized API calls for rapid image rendering
πŸ” Secure Backend Environment-based API key authentication
β™Ώ Accessible Design Mobile-friendly, responsive across all devices
🎨 Clean UI Minimal, intuitive interface β€” zero learning curve
πŸš€ Production Ready Deployed live with CI/CD pipeline

πŸ› οΈ Tech Stack

🌐 Frontend

React Tailwind CSS Vite JavaScript

βš™οΈ Backend

Node.js Express.js REST APIs

πŸ—„οΈ Database & Deployment

MongoDB Vercel Git


🎯 Key Highlights

Highlight
βœ… End-to-end MERN stack implementation
⚑ Optimized API calls for faster image generation
🎨 Clean UI with pixel-perfect responsive design
πŸ”’ Secure environment-based configuration management
πŸš€ Deployed live with production-grade architecture

πŸš€ Getting Started

Prerequisites

  • Node.js >=16
  • MongoDB instance
  • AI API key

Installation

# Clone the repository
git clone https://github.com/Anas-Sd/Prompt_2_Paint.git

# Navigate to the project
cd Prompt_2_Paint

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env
# Add your API keys to .env

# Start development server
npm run dev

πŸ“‘ API Reference

πŸ“‹ Click to expand API docs

GET /api/data

Parameter Type Description
user_token string Required. Your API key for auth

POST /api/create

Body Field Type Description
title string Required. Your text prompt

πŸ“ Project Structure

πŸ—‚οΈ Click to expand file structure
Prompt_2_Paint/
β”œβ”€β”€ πŸ“‚ public/
β”œβ”€β”€ πŸ“‚ assets/
β”œβ”€β”€ πŸ“‚ src/
β”‚   β”œβ”€β”€ πŸ“‚ components/
β”‚   β”œβ”€β”€ πŸ“‚ pages/
β”‚   └── πŸ“‚ context/
β”œβ”€β”€ πŸ“„ tailwind.config.js
β”œβ”€β”€ πŸ“„ postcss.config.js
β”œβ”€β”€ πŸ“„ package.json
└── πŸ“„ README.md

🀝 Contributing

Contributions are welcome! Here's how:

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“¬ Let's Connect!



πŸ“ India | πŸ• IST (UTC+5:30) | βœ… Open for Opportunities


βš–οΈ License

Distributed under the MIT License. See LICENSE for details.


πŸ’¬ "In the world of code, creativity is my weapon."


⭐ If you found this useful, give it a star!

From SYED ANAS with ❀️

About

✨ Prompt 2 Paint is an AI-powered web application that transforms your text prompts into stunning,⚑ high-quality images using advanced diffusion models. Built with modern web technologies, it provides a smooth, fast, and creative image generation experience with many tools and features. Very well πŸ”’ Secured and Database supported πŸ’Ύ.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages