Generate text to image using pollinations.ai api
Project description
winzy-text-to-image
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.
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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f3a11da3902e850d2eefa3a112d5867d936440fc9390c910ffbfb7cdbba262a |
|
MD5 | 02d33d1e2e810ba7865439346ed21429 |
|
BLAKE2b-256 | 5f509d2f0555e642053951d3981f931d002d312b8651362bd300f633eea87a0e |
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
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
winzy_text_to_image-0.3.tar.gz
- Subject digest:
9f3a11da3902e850d2eefa3a112d5867d936440fc9390c910ffbfb7cdbba262a
- Sigstore transparency entry: 147319315
- Sigstore integration time:
- Predicate type:
File details
Details for the file winzy_text_to_image-0.3-py3-none-any.whl
.
File metadata
- Download URL: winzy_text_to_image-0.3-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4eb4e76df59656cd720b2cefb70be719081b3a7224aac22ceaf8ee35b8f5facc |
|
MD5 | c9cd1f9af41ee9c564a63b029ed9abf1 |
|
BLAKE2b-256 | 1cb4cf129e222ceec7af24eec4b1017c0869d200ae004c6965fcb9fafe6a0034 |
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
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
winzy_text_to_image-0.3-py3-none-any.whl
- Subject digest:
4eb4e76df59656cd720b2cefb70be719081b3a7224aac22ceaf8ee35b8f5facc
- Sigstore transparency entry: 147319318
- Sigstore integration time:
- Predicate type: