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.6.tar.gz
(5.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb62e1f7b02a64d58b0b746ae553ac2d50a4a78879683aca870be93e43787bef
|
|
| MD5 |
f8c8c2042eeb447dc5336dda23adf202
|
|
| BLAKE2b-256 |
01865bbe6e3c4b4ffe5724a2a0012ba19b50e34bd30d81734ed4953e2a6fa3f1
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa06fc2de90df82e79776c3642c73711d8ae6df5f5a1f9433ac202fefc77046a
|
|
| MD5 |
428e3d44584c9c3dba42a00491af935c
|
|
| BLAKE2b-256 |
dd1729aa0d8def8ad3da9cda0b4e9210c05c3be5f815b6e9883198257e35e67b
|