https://github.com/nagipragalathan/freeimagegenerator
A web application that generates images based on user prompts using the freeGPT API.
https://github.com/nagipragalathan/freeimagegenerator
flask free-gpt html image-generation image-processing js python
Last synced: 7 months ago
JSON representation
A web application that generates images based on user prompts using the freeGPT API.
- Host: GitHub
- URL: https://github.com/nagipragalathan/freeimagegenerator
- Owner: NagiPragalathan
- Created: 2024-10-16T15:22:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-16T15:35:26.000Z (about 1 year ago)
- Last Synced: 2025-03-30T10:13:52.486Z (7 months ago)
- Topics: flask, free-gpt, html, image-generation, image-processing, js, python
- Language: HTML
- Homepage: https://free-image-generator-rho.vercel.app
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Free Image Generator
A web application that generates images based on user prompts using the freeGPT API.
## Features
- Generate images from text prompts.
- Display generated images on the same page.
- Handle errors gracefully.
## Installation
### Prerequisites
- Python 3.x
- Flask
- PIL (Pillow)
- freeGPT
### Steps
1. Clone the repository:
```bash
git clone https://github.com/NagiPragalathan/FreeImageGenerator.git
cd FreeImageGenerator
```
2. Install the dependencies:
```bash
pip install -r requirements.txt
```
## Usage
1. Run the application:
```bash
python app.py
```
2. Open your web browser and go to `http://127.0.0.1:5000/`.
3. Enter a prompt in the input field and click "Generate Image".
4. The generated image will be displayed on the same page.
## Deployment
### Vercel
1. Install Vercel CLI:
```bash
npm install -g vercel
```
2. Deploy the application:
```bash
vercel
```
## Contributing
Contributions are welcome! Please open an issue or submit a pull request.
## License
This project is licensed under the MIT License.