Skip to main content

Create beautiful artwork using the power of AI.

Project description

Somnium

Create beautiful artwork using the power of AI

Downloads

Installation:

python3 -m pip install somnium

Examples:

somnium:

from somnium import Somnium

# Get Styles (url)
print(Somnium.StylesGraph())

# Get Styles (list)
print(Somnium.Styles())

# Generate Artwork
print(Somnium.Generate('Hunter Schafer', 2009))

somnium.sync:

import asyncio
from somnium.sync import Somnium

async def my_test():
    # Get Styles (url)
    print(await Somnium.StylesGraph())

    # Get Styles (list)
    print(await Somnium.Styles())

    # Generate Artwork
    print(await Somnium.Generate('Hunter Schafer', 2009))
    
asyncio.run(my_test())

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

somnium-9.9.4.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

somnium-9.9.4-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file somnium-9.9.4.tar.gz.

File metadata

  • Download URL: somnium-9.9.4.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for somnium-9.9.4.tar.gz
Algorithm Hash digest
SHA256 d42096e133cb6f1bef40a26f45e76127e6133e9a88d3a307df51ccf817dc4291
MD5 de4439d0a11a0d305fdeeccf77acb1e6
BLAKE2b-256 61751ff3e96eea9da3d11bbec1829739e81d68e371ae45da1dd64db56b6f951f

See more details on using hashes here.

File details

Details for the file somnium-9.9.4-py3-none-any.whl.

File metadata

  • Download URL: somnium-9.9.4-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for somnium-9.9.4-py3-none-any.whl
Algorithm Hash digest
SHA256 32cabebb95b0c5131b32da10baa5efbf24b3cabdc61337cd12c8d86f425823cf
MD5 b9f3d45b8544bde96c5ddcf2461f24bd
BLAKE2b-256 258b7fc11df3f787f0326bedccdd8764470aa9af7518536aee06dfbbf961d56a

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