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 details)

Uploaded Source

File details

Details for the file Generation_Image_Gaston-0.2.2.tar.gz.

File metadata

File hashes

Hashes for Generation_Image_Gaston-0.2.2.tar.gz
Algorithm Hash digest
SHA256 50daabafb2835354bd15aabc44eea3846d6ba2cd00d5f330a89e3d80925e7016
MD5 ba7a17249149b05d26e6f1b6dd418619
BLAKE2b-256 7ef2996ca85ea9622487b527a55ef2053b2ab5dae300dbfa588add5ce7465872

See more details on using hashes here.

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