AnveshAI-Image-Generation-Beta

AnveshAI - Free AI Image Generator

License: MIT TypeScript React Express

Generate unlimited high-quality AI images for free. No signup required, completely free forever.

AnveshAI Screenshot

✨ Features

πŸš€ Quick Start

Prerequisites

Installation

  1. Clone the repository
    git clone https://github.com/AnveshAI/Anvesh-Image-Generation-Beta.git
    cd Anvesh-Image-Generation-Beta
    
  2. Install dependencies
    npm install
    
  3. Set up environment variables
    cp .env.example .env
    # Edit .env with your configuration
    
  4. Start the development server
    npm run dev
    
  5. Open your browser Navigate to http://localhost:5000

πŸ› οΈ Technology Stack

Frontend

Backend

Deployment

πŸ“ Project Structure

β”œβ”€β”€ client/                 # Frontend React application
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/     # Reusable UI components
β”‚   β”‚   β”œβ”€β”€ pages/          # Application pages
β”‚   β”‚   β”œβ”€β”€ hooks/          # Custom React hooks
β”‚   β”‚   └── lib/            # Utility functions
β”œβ”€β”€ server/                 # Backend Express application
β”‚   β”œβ”€β”€ index.ts            # Server entry point
β”‚   β”œβ”€β”€ routes.ts           # API route definitions
β”‚   └── storage.ts          # Database operations
β”œβ”€β”€ shared/                 # Shared types and schemas
└── README.md

πŸ”Œ API Documentation

Generate Image

POST /api/generate

Generate a new AI image from a text prompt.

curl -X POST http://localhost:5000/api/generate \
  -H "Content-Type: application/json" \
  -d '{"prompt": "A beautiful sunset over mountains"}'

Response:

{
  "id": "123",
  "prompt": "A beautiful sunset over mountains",
  "imageUrl": "https://example.com/image.jpg",
  "createdAt": "2025-01-02T10:30:00Z"
}

Get Images

GET /api/images

Retrieve all generated images.

curl http://localhost:5000/api/images

Get Single Image

GET /api/images/:id

Retrieve a specific image by ID.

πŸ§ͺ Development

Available Scripts

Environment Variables

# Database
DATABASE_URL=postgresql://user:password@localhost:5432/anveshai

# Server
PORT=5000
NODE_ENV=development

# AI Service Configuration
# Add your AI service API keys here

🎨 UI Components

The application uses a comprehensive set of UI components built on top of Radix UI:

πŸ”’ Privacy & Security

🀝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

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

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

πŸ“ž Support

🌟 Show Your Support

If you find this project helpful, please consider giving it a ⭐ on GitHub!


Made with ❀️ by the AnveshAI team