Skip to main content

Generate text to image using pollinations.ai api

Project description

winzy-text-to-image

PyPI Changelog Tests License

Generate text to image using pollinations.ai api

Installation

First configure your Winzy project to use Winzy.

Then install this plugin in the same environment as your Winzy application.

pip install winzy-text-to-image

Usage

To create an image, use it like this.

winzy txt2img -p a punjabi family of four overloking a valley 

This produces this image.

Punjabi Family

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd winzy-text-to-image
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest

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

winzy_text_to_image-0.4.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

winzy_text_to_image-0.4-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file winzy_text_to_image-0.4.tar.gz.

File metadata

  • Download URL: winzy_text_to_image-0.4.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for winzy_text_to_image-0.4.tar.gz
Algorithm Hash digest
SHA256 1bc8b2cd455f7787625e5a50bafe2e748a5b095b184341e729c02fa84eec93a8
MD5 a68a60ef9b78e0afcc904f03301dffe3
BLAKE2b-256 8221ac1d66250ff279b072784b0966fde5115ffc84fa6cc504ceee369625e3d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for winzy_text_to_image-0.4.tar.gz:

Publisher: publish.yml on sukhbinder/winzy-text-to-image

Attestations:

File details

Details for the file winzy_text_to_image-0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for winzy_text_to_image-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f8297f8b571552f75553abcd9d13a69b5b660c3ac48a2c032836fdb05bf91445
MD5 45dd6cc2af9ee82e5cb2b6d0d3e0a6a1
BLAKE2b-256 58d75d42425469a8906c106ac8f3c99588f0dad0a509e1c2c9f0c87d62621605

See more details on using hashes here.

Provenance

The following attestation bundles were made for winzy_text_to_image-0.4-py3-none-any.whl:

Publisher: publish.yml on sukhbinder/winzy-text-to-image

Attestations:

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