Skip to main content

No project description provided

Project description

Generation-image_Gaston Description Generation-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 Generation-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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Generation_Image_Gaston-0.2.2.tar.gz (3.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page