Skip to content

This project is a web application based on user prompts using Google's Generative AI. The application utilizes Node.js, Express, and EJS for templating.

Notifications You must be signed in to change notification settings

ashishalf/google-gen-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot 2024-07-14 184614

Google Generative AI

This project is a web application based on user prompts using Google's Generative AI. The application utilizes Node.js, Express, and EJS for templating.

Features

  • User-friendly interface to input prompts
  • Generates using Google Generative AI
  • Simple and responsive design

Prerequisites

  • Node.js installed
  • npm (Node Package Manager) installed
  • Google Generative AI API Key

Installation

  1. Clone the repository:

    git clone https://github.com/ashishalf/google-gen-ai
    cd google-gen-ai
  2. Install dependencies:

    npm install
  3. Create a .env file in the root of your project and add your Google Generative AI API key:

    API_KEY=your-google-generative-ai-api-key
    

Usage

  1. Start the server:

    node server.js
  2. Open your browser and go to http://localhost:3000.

  3. Enter a prompt in the input field and click "Generate" to get a generated story based on your prompt.

Project Structure

project-root/
│
├── views/
│   ├── index.ejs
│   └── layout.ejs
│
├── public/
│   ├── styles.css
│
├── .env
├── server.js
└── package.json

Links

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

About

This project is a web application based on user prompts using Google's Generative AI. The application utilizes Node.js, Express, and EJS for templating.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published