Skip to main content

A module for generating image in Lexica.arts

Project description

Модуль lexica_arts предоставляет класс Image, который используется для генерации изображений с помощью API-сервиса Lexica. Для использования модуля необходимо установить библиотеки aiohttp и Pillow (библиотека для работы с изображениями).

Класс Image содержит метод generate, который принимает два параметра: prompt и negative. Параметр prompt содержит описание изображения, которое необходимо сгенерировать, а параметр negative содержит негативное описание (необязательно).

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

lexica_arts-0.1.1.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

lexica_arts-0.1.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file lexica_arts-0.1.1.tar.gz.

File metadata

  • Download URL: lexica_arts-0.1.1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for lexica_arts-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7ac14d9f1b501e9a2a0d2b89b81d287e29b157f3b8fb7c2c42ee905421c396bd
MD5 b0c7cb1735e9252fe1020e094ee9dd5e
BLAKE2b-256 3bca6c829fca5eb2e7b7de599e9040dcf457e8fdcffe12f20bcaee9d3fc737cf

See more details on using hashes here.

File details

Details for the file lexica_arts-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: lexica_arts-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for lexica_arts-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2636e9093a2d74a32a33bfa9982a30802fa22a8f690d79d658a42f865a6fe324
MD5 c50462f8e79de7806df97d0a7c11dc6c
BLAKE2b-256 a711d7fc8d6da1861ab70003a8b3bb622f24b26f8adb18cecd1e78edb938fbb0

See more details on using hashes here.

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