An open API service indexing awesome lists of open source software.

https://github.com/ratna-babu/ai-image-generator-basic


https://github.com/ratna-babu/ai-image-generator-basic

ai chatgpt-api image-generation-ai webapplication

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# AI Image Generator (ChatGPT API)

A web-based application that generates images using OpenAI's DALL-E API. The application features voice-to-text functionality and a modern user interface.

Website Preview : [View](https://ratna-babu.github.io/Ai-Image-Generator-Basic/index.html)

## Features

- Image generation using OpenAI's DALL-E API
- Voice-to-text input capability
- Real-time text input
- Loading animation while generating images
- Responsive design
- Navigation between Home, Generator, and Image Editor pages

## Technologies Used

- HTML5
- CSS3
- JavaScript
- jQuery
- Bootstrap 5.3.2
- OpenAI API
- Web Speech API

## Setup

1. Clone the repository

2. Navigate to the project directory

3. Add your OpenAI API key:
- Open `app.js`
- Replace `{YOUR API KEY}` with your actual OpenAI API key

![Screenshot 2024-12-04 204348](https://github.com/user-attachments/assets/095f51c0-20a0-4462-b22d-f295208f96ad)

4. Open `index.html` in a web browser or serve it using a local development server.

## Usage

1. **Text Input Method:**
- Type your image description in the text input field
- Click the arrow button (➢) to generate images

2. **Voice Input Method:**
- Click the "Record" button to start voice recording
- Speak your image description
- The text will appear in the input field automatically
- Click the arrow button to generate images