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

https://github.com/prakhardoneria/text-to-image-windows


https://github.com/prakhardoneria/text-to-image-windows

Last synced: 6 months ago
JSON representation

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.