https://github.com/prakhardoneria/text-to-image-windows
https://github.com/prakhardoneria/text-to-image-windows
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/prakhardoneria/text-to-image-windows
- Owner: PrakharDoneria
- Created: 2024-03-18T07:33:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-18T07:37:30.000Z (over 1 year ago)
- Last Synced: 2025-04-06T07:34:08.900Z (6 months ago)
- Language: Python
- Homepage: replit.com/@prakhardoneria/Text-to-Image-Windows
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Text to Image App
This is a simple Python application that generates images based on text prompts using the Text to Image API.
## Features
- Enter a text prompt and API key to generate an image.
- View the generated image and its URL.
- Subscribe to the API directly from the app.## Requirements
- Python 3.x
- Tkinter (usually comes pre-installed with Python)
- Pillow library (to handle image processing)
- Requests library (to make HTTP requests)
- Webbrowser library (to open links in the default web browser)Install dependencies using pip:
```
pip install Pillow requests
```## Usage
1. Clone the repository:
```
git clone https://github.com/prakhardoneria/ Text-to-Image-Windows.git
```2. Navigate to the project directory:
```
cd main.py
```3. Run the application:
```
python main.py
```4. Enter the text prompt and your RapidAPI key.
5. Click "Generate Image" to create the image.
6. View the generated image and its URL.## Contributing
Contributions are welcome! Please feel free to fork the repository, make changes, and submit a pull request.