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.6.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

somnium-9.9.6-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: somnium-9.9.6.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for somnium-9.9.6.tar.gz
Algorithm Hash digest
SHA256 cb62e1f7b02a64d58b0b746ae553ac2d50a4a78879683aca870be93e43787bef
MD5 f8c8c2042eeb447dc5336dda23adf202
BLAKE2b-256 01865bbe6e3c4b4ffe5724a2a0012ba19b50e34bd30d81734ed4953e2a6fa3f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: somnium-9.9.6-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for somnium-9.9.6-py3-none-any.whl
Algorithm Hash digest
SHA256 aa06fc2de90df82e79776c3642c73711d8ae6df5f5a1f9433ac202fefc77046a
MD5 428e3d44584c9c3dba42a00491af935c
BLAKE2b-256 dd1729aa0d8def8ad3da9cda0b4e9210c05c3be5f815b6e9883198257e35e67b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page