Skip to content

HaiderAli228/SnapSense--AI-Image-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnapSense - AI Image Generator

SnapSense is a powerful Flutter application that leverages the capabilities of Stability AI to generate high-quality images from text prompts. Designed with a clean and responsive user interface, it provides a seamless experience for users to turn their creative ideas into visual reality.

🚀 Features

  • Text-to-Image Generation: Instantly generate images by simply entering a descriptive text prompt.
  • High-Quality Output: Utilizes Stability AI's stable-image/generate/core API for premium image quality.
  • Responsive Design: Optimized for a smooth experience across different devices.
  • State Management: Built using the Bloc pattern for efficient and predictable state management.
  • Modern UI: Clean and intuitive interface with immediate visual feedback.

🛠️ Tech Stack

📂 Project Structure

lib/ ├── model/ │ └── bloc/ # Bloc state-management logic (Events, States, Blocs) ├── view/ │ └── home_view.dart # Main UI for prompt input and image display ├── view-model/ │ ├── api_services.dart # Handles API calls to Stability AI │ └── api_links.dart # API configuration and endpoints ├── utils/ # Utility classes (Colors, Constants) └── main.dart # Application entry point

⚡ Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone [https://github.com/HaiderAli228/SnapSense--AI-Image-generator.git](https://github.com/HaiderAli228/SnapSense--AI-Image-generator.git)
    cd snapsense
  2. Install dependencies:

    flutter pub get
  3. Configure API Key:

    • Open lib/view-model/api_links.dart.
    • Replace the placeholder with your actual Stability AI API key:
      static const String apiKey = "YOUR_STABILITY_AI_API_KEY";
  4. Run the app:

    flutter run

👨‍💻 Developer

Haider Ali Flutter Developer & Firease Developer


Developed with ❤️ using Flutter.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors