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.3.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: winzy_text_to_image-0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 9f3a11da3902e850d2eefa3a112d5867d936440fc9390c910ffbfb7cdbba262a
MD5 02d33d1e2e810ba7865439346ed21429
BLAKE2b-256 5f509d2f0555e642053951d3981f931d002d312b8651362bd300f633eea87a0e

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

File hashes

Hashes for winzy_text_to_image-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4eb4e76df59656cd720b2cefb70be719081b3a7224aac22ceaf8ee35b8f5facc
MD5 c9cd1f9af41ee9c564a63b029ed9abf1
BLAKE2b-256 1cb4cf129e222ceec7af24eec4b1017c0869d200ae004c6965fcb9fafe6a0034

See more details on using hashes here.

Provenance

The following attestation bundles were made for winzy_text_to_image-0.3-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