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