Create beautiful artwork using the power of AI.
Project description
Somnium
Create beautiful artwork using the power of AIInstallation:
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d42096e133cb6f1bef40a26f45e76127e6133e9a88d3a307df51ccf817dc4291 |
|
MD5 | de4439d0a11a0d305fdeeccf77acb1e6 |
|
BLAKE2b-256 | 61751ff3e96eea9da3d11bbec1829739e81d68e371ae45da1dd64db56b6f951f |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32cabebb95b0c5131b32da10baa5efbf24b3cabdc61337cd12c8d86f425823cf |
|
MD5 | b9f3d45b8544bde96c5ddcf2461f24bd |
|
BLAKE2b-256 | 258b7fc11df3f787f0326bedccdd8764470aa9af7518536aee06dfbbf961d56a |