text2pix


Nametext2pix JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://github.com/chigwell/text2pix
SummaryA library to generate images from text descriptions.
upload_time2024-03-16 19:44:12
maintainer
docs_urlNone
authorEugene Evstafev
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![PyPI version](https://badge.fury.io/py/text2pix.svg)](https://badge.fury.io/py/text2pix)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![Downloads](https://static.pepy.tech/badge/text2pix)](https://pepy.tech/project/text2pix)

# Text2Pix

`Text2Pix` is an innovative Python package that generates images based on textual descriptions. It leverages advanced image generation APIs to transform descriptive text into visual representations.

## Installation

To install `Text2Pix`, use pip:

```bash
pip install text2pix
```

## Usage

Using `Text2Pix` is straightforward. Here's a simple example:

```python
from text2pix import generate_image_from_text

text_description = "A serene lake surrounded by mountains at sunset."
image_content = generate_image_from_text(text_description)

# Save or display the image content as needed.
# for example, to save the image to a file:
with open('lake.png', 'wb') as f:
    f.write(image_content)
```

The result will be an image file named `lake.png` that visually represents the text description.

![lake.png](https://wsrv.nl/?cx=0&cy=0&cw=1000&ch=720&fit=cover&a=focal&&url=https://image.pollinations.ai/prompt/A%20serene%20lake%20surrounded%20by%20mountains%20at%20sunset.)

This package is ideal for creative projects, prototyping, and anywhere you need quick visual representations from text.

## Features

- Generate images from text descriptions.
- Easy to use with a simple function call.
- Lightweight and requires minimal setup.

## Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/chigwell/text2pix/issues).

## License

This project is licensed under the [MIT License](https://choosealicense.com/licenses/mit/).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/chigwell/text2pix",
    "name": "text2pix",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Eugene Evstafev",
    "author_email": "chigwel@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/39/95/3f65b2ae9438dda444301b157c505eeb758034aa2958d065e21a3eb4a117/text2pix-0.0.1.tar.gz",
    "platform": null,
    "description": "[![PyPI version](https://badge.fury.io/py/text2pix.svg)](https://badge.fury.io/py/text2pix)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n[![Downloads](https://static.pepy.tech/badge/text2pix)](https://pepy.tech/project/text2pix)\n\n# Text2Pix\n\n`Text2Pix` is an innovative Python package that generates images based on textual descriptions. It leverages advanced image generation APIs to transform descriptive text into visual representations.\n\n## Installation\n\nTo install `Text2Pix`, use pip:\n\n```bash\npip install text2pix\n```\n\n## Usage\n\nUsing `Text2Pix` is straightforward. Here's a simple example:\n\n```python\nfrom text2pix import generate_image_from_text\n\ntext_description = \"A serene lake surrounded by mountains at sunset.\"\nimage_content = generate_image_from_text(text_description)\n\n# Save or display the image content as needed.\n# for example, to save the image to a file:\nwith open('lake.png', 'wb') as f:\n    f.write(image_content)\n```\n\nThe result will be an image file named `lake.png` that visually represents the text description.\n\n![lake.png](https://wsrv.nl/?cx=0&cy=0&cw=1000&ch=720&fit=cover&a=focal&&url=https://image.pollinations.ai/prompt/A%20serene%20lake%20surrounded%20by%20mountains%20at%20sunset.)\n\nThis package is ideal for creative projects, prototyping, and anywhere you need quick visual representations from text.\n\n## Features\n\n- Generate images from text descriptions.\n- Easy to use with a simple function call.\n- Lightweight and requires minimal setup.\n\n## Contributing\n\nContributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/chigwell/text2pix/issues).\n\n## License\n\nThis project is licensed under the [MIT License](https://choosealicense.com/licenses/mit/).\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A library to generate images from text descriptions.",
    "version": "0.0.1",
    "project_urls": {
        "Homepage": "https://github.com/chigwell/text2pix"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6cc155e989c28bffc7e8434bcfcd21df35f9366b1a4d0f94da0b0fda63315459",
                "md5": "c13f59ece1858fedb3397fb44f38c063",
                "sha256": "13ec3582eed4967d8e6333616177221dc2c49e145722c44929e98251b1e04cff"
            },
            "downloads": -1,
            "filename": "text2pix-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c13f59ece1858fedb3397fb44f38c063",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 3902,
            "upload_time": "2024-03-16T19:44:11",
            "upload_time_iso_8601": "2024-03-16T19:44:11.579685Z",
            "url": "https://files.pythonhosted.org/packages/6c/c1/55e989c28bffc7e8434bcfcd21df35f9366b1a4d0f94da0b0fda63315459/text2pix-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "39953f65b2ae9438dda444301b157c505eeb758034aa2958d065e21a3eb4a117",
                "md5": "1497c6c40ed352b8d82d3ea74681b29c",
                "sha256": "7fd531e9eaf7c1c1e7016af4133b725395a1a2ce4e9107cd91cee2b7513cd45b"
            },
            "downloads": -1,
            "filename": "text2pix-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "1497c6c40ed352b8d82d3ea74681b29c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3293,
            "upload_time": "2024-03-16T19:44:12",
            "upload_time_iso_8601": "2024-03-16T19:44:12.853807Z",
            "url": "https://files.pythonhosted.org/packages/39/95/3f65b2ae9438dda444301b157c505eeb758034aa2958d065e21a3eb4a117/text2pix-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-16 19:44:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "chigwell",
    "github_project": "text2pix",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "text2pix"
}
        
Elapsed time: 0.64794s