Metadata-Version: 2.1
Name: Generation-Image-Gaston
Version: 0.2.0
Author: Gaston Robé
Author-email: gaston01.robe@gmail.com
License: MIT
Keywords: Gaston Robe 13 ans
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Education
Classifier: Operating System :: Microsoft :: Windows :: Windows 11
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
License-File: LICENSE.txt

# Generation-image_Gaston
## Description
GÃ©nÃ©ration-image_Gaston is a Python package that allows you to generate images from a given prompt using the craiyon.com site. This package uses Selenium to automate the image build and upload process.

## Facility
You can install the GÃ©nÃ©ration-image_Gaston package using pip:

pip install Generation-image_Gaston
Make sure you have the following dependencies installed:

undetected_chromedriver
selenium
It settles down on its own normally.
## Use
Here is an example of using the package:


from Generation_Image_Gaston import SelectStyle

SelectStyle("Three Crying Cat...", "PHOTO")
The SelectStyle function takes two parameters:

Prompt: The text to use as a prompt to generate the image.
Style: The desired image style. The available options are "PHOTO", "DRAWING" and "ART".
The function performs the following steps:

Opens the craiyon.com website.
Accept cookies (if necessary).
Selects the specified Picture Style.
Enters the given prompt.
Generates the image.
Download the image to your computer.
Please note that the build process may take some time. When the download is complete, the message "Download is complete" will be displayed.

Make sure you have Chrome installed on your system, as the package uses Chrome to interact with the website.

Change Log
==========

0.0.1 (26/06/2023)
-------------------
- First Release
