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('A beautiful sunset', 2009))
# Edit an image
print(Somnium.Generate('Cyberpunk style', 2009, "/home/odium/image.png"))
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('A beautiful sunset', 2009))
# Edit an image
print(await Somnium.Generate('Cyberpunk style', 2009, "/home/odium/image.png"))
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.7.tar.gz
(6.6 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.7.tar.gz.
File metadata
- Download URL: somnium-9.9.7.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f064576992fdf1cedeb2f333feff57355c1c9e928e5ab2681c7a9878caa2f32
|
|
| MD5 |
44b3cb5988aa27ae2554ed82f071c2c2
|
|
| BLAKE2b-256 |
45c5c102e7a4d80856ed28523382fbfe3b7cd3e4ed6f9dc871e248621d61a695
|
File details
Details for the file somnium-9.9.7-py3-none-any.whl.
File metadata
- Download URL: somnium-9.9.7-py3-none-any.whl
- Upload date:
- Size: 8.4 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 |
7ba33b23185fc7372a0c0968f03c208a178be16c9ff8d08d2046c9a33c61c1c6
|
|
| MD5 |
548fdb405d8a45377b035f8bc3291089
|
|
| BLAKE2b-256 |
b874382b73ed15b7a6c5d97d42476466a0bea75f054426d38415bdcdc112f363
|