Skip to content

Orchid12721/Manusom

Repository files navigation

🍌 Nano Banana Image Editor

A mobile-friendly, AI-powered image editing web application that transforms photos using natural language prompts. Built with React 19, Tailwind CSS 4, and modern web technologies.

Nano Banana Image Editor Tailwind CSS License

✨ Features

🎨 Natural Language Editing

Describe your desired edits in plain English, and let AI understand your commands to transform photos instantly. No complex tools or technical knowledge required.

🔧 Advanced Filters

Fine-tune your images with intuitive controls:

  • Brightness - Adjust image luminosity from 0% to 200%
  • Contrast - Control the difference between light and dark areas
  • Saturation - Modify color intensity and vibrancy
  • Rotation - Rotate images from 0° to 360°
  • Scale - Zoom in or out from 0.1x to 3x

📱 Mobile Friendly

Fully responsive design that works seamlessly across all devices - desktop, tablet, and mobile. Touch-optimized controls for mobile editing.

⚡ Real-time Preview

See your edits applied instantly with canvas-based rendering. Download your edited images in high quality PNG format.

🎯 One-Click Actions

  • Quick rotate (90° increments)
  • Zoom in/out buttons
  • Reset all filters
  • Download edited image
  • Change image on the fly

🚀 Getting Started

Prerequisites

  • Node.js 22.x or higher
  • pnpm package manager

Installation

  1. Clone the repository:
git clone https://github.com/Orchid12721/Manusom.git
cd Manusom
  1. Install dependencies:
pnpm install
  1. Start the development server:
pnpm dev
  1. Open your browser and navigate to http://localhost:3000

🛠️ Tech Stack

  • Frontend Framework: React 19
  • Styling: Tailwind CSS 4
  • UI Components: shadcn/ui
  • Routing: Wouter
  • Build Tool: Vite
  • Language: TypeScript
  • State Management: React Hooks

📁 Project Structure

nano-banana-editor/
├── client/
│   ├── public/              # Static assets
│   ├── src/
│   │   ├── components/      # Reusable UI components
│   │   │   ├── ui/         # shadcn/ui components
│   │   │   └── ImageEditor.tsx  # Main editor component
│   │   ├── pages/          # Page components
│   │   │   └── Home.tsx    # Home page
│   │   ├── contexts/       # React contexts
│   │   ├── hooks/          # Custom hooks
│   │   ├── lib/            # Utility functions
│   │   ├── App.tsx         # App entry with routing
│   │   ├── main.tsx        # React DOM entry
│   │   └── index.css       # Global styles
│   └── index.html          # HTML template
├── package.json
└── README.md

🎨 Usage

  1. Upload an Image: Click the "Choose Image" button to upload a photo (JPG, PNG, WEBP up to 50MB)

  2. AI Editing:

    • Switch to the "AI Edit" tab
    • Enter your editing prompt (e.g., "Make the sky more dramatic, add sunset colors")
    • Click "Generate Edit" to apply AI-powered transformations
  3. Manual Filters:

    • Switch to the "Filters" tab
    • Use sliders to adjust brightness, contrast, saturation, rotation, and scale
    • Changes are applied in real-time
  4. Quick Actions:

    • Use toolbar buttons for quick rotate, zoom in/out
    • Reset all filters with one click
    • Download your edited image when satisfied

🌟 Example Prompts

Try these example prompts for AI editing:

  • "Change background to beach"
  • "Make it look vintage"
  • "Add dramatic lighting"
  • "Remove background"
  • "Make the colors more vibrant"
  • "Add a sunset effect"

🔮 Future Enhancements

  • Integration with real AI image editing APIs (Gemini, DALL-E, Stable Diffusion)
  • Batch image processing
  • More advanced filters (blur, sharpen, noise reduction)
  • Image history and undo/redo functionality
  • Save projects and resume editing later
  • Export in multiple formats (JPEG, PNG, WEBP)
  • Social media sharing integration
  • User accounts and cloud storage

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

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

📄 License

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

🙏 Acknowledgments

  • Inspired by Google's Nano Banana AI image editing model
  • Built with shadcn/ui components
  • Icons from Lucide Icons

📞 Contact

For questions or feedback, please open an issue on GitHub.


Note: The AI editing feature in this version is a demo placeholder. To enable real AI-powered editing, you'll need to integrate with an AI image editing API service such as Google's Gemini, OpenAI's DALL-E, or Stability AI's Stable Diffusion.

Built with ❤️ using React & Tailwind CSS

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published