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.2.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

somnium-9.9.2-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

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