A Python package to generate poems from images.
Project description
Image to Poetry
Upload an image and get a rhyming poem about it!
Prerequisites
You need a Google Gemin API key. Get one from aistudio.google.com.
Set your API key as an environment variable:
export GEMINI_API_KEY="your_api_key_here"
Installation
pip install image-to-poetry
Usage
image2poetry my_image.jpg
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
image_to_poetry-0.0.1.tar.gz
(1.8 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file image_to_poetry-0.0.1.tar.gz.
File metadata
- Download URL: image_to_poetry-0.0.1.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
798b358653b06fcb8cec61a8d5e1397ef95c103527010842a6b8a494078cab07
|
|
| MD5 |
8f1ff1f29cec795cd28b25743cfa5d4a
|
|
| BLAKE2b-256 |
ee9e67894ace45630958fd7898f15e77ea534c9a348055909538e04a8dd5507d
|
File details
Details for the file image_to_poetry-0.0.1-py3-none-any.whl.
File metadata
- Download URL: image_to_poetry-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfa4f9f8e3034b640b264f4f4f70d40b126a10c1b68fe5841e582e438a1f4788
|
|
| MD5 |
603b091bafd3644f38dd84e6d4b53eed
|
|
| BLAKE2b-256 |
d109a5b36bfc30ec0ed69984e588d5fdfae0690b3dc4d1c02d47ff5b0cdbe93d
|