Skip to main content

PyImagine

License Release Latest Version

PyImagine is a Python library for AI-powered image manipulation. It provides a simple interface to interact with an image manipulation service, allowing you to perform various operations on images.

Features

  • Generate inspired images based on predefined prompts and styles.
  • Apply variations to images based on prompts, strengths, and styles.
  • Enhance image resolution and quality using AI-powered upscaling.
  • Generate prompts based on the content of images.
  • Fill in missing or corrupted parts of images.
  • Remix images by applying control prompts, strengths, and styles.
  • Fix and enhance facial features in images.

Installation

You can install PyImagine using pip:

pip install pyimagine

Usage

Here's a basic example of how to use PyImagine:

from pyimagine import Arta
from pyimagine.constants import Style

# Initialize Imagine
arta = Arta()
arta.signupNewUser()

# Generate from inspiration
inspired_image = arta.infer(prompt="Create something amazing!", style=Style.REALISTIC_2)

# Prompt from image
original_image = open('image.jpg', 'rb').read()
prompt_image = arta.image2text(original_image, language_code='en')

# And more...

For more information on how to use PyImagine, please refer to the documentation.

Disclaimer

PyImagine is an unofficial library and is not affiliated with or endorsed by Vyroai or Aiby. The library is provided "as is" without any warranty, and the usage of this library is at your own risk. Make sure to comply with the terms and conditions of the Imagine service while using this library.

License

This project is licensed under the GPL v3 License.

Metadata

Release files for pyimagine 3.3.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyimagine 3.3.8
File Size Uploaded Provenance Actions
pyimagine-3.3.8.tar.gz 34.5 kB Without provenance Details for pyimagine-3.3.8.tar.gz

Release files / pyimagine-3.3.8.tar.gz

Download URL pyimagine-3.3.8.tar.gz
Size 34.5 kB
Tags Source
SHA-256 checksum
How to use checksums
24f0ce9b712e5bad17ead70e6d92ae3ee0155881f7a57360d8cc122e130fedac
BLAKE2b-256 checksum
How to use checksums
23baa26e21d09c8690a914f7bea8fdbbcbe937de1f857e401a737cf686300a18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Security for pyimagine 3.3.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page