Karel is a pure python bot bridging matrix rooms of your choice with automatic1111 stable diffusion API.
The name "Karel" was given to the project in order to honor work of Czech author "Karel Čapek" who in his theatre play "Rossum's Universal Robots" coined the word "robot"
pip3 simplematrixbotlib
pip3 webuiapi
edit & save karel.py
run it with python3 karel.py
invite MATRIX-LOGIN to matrix #ROOM of Your choice
after any user in #ROOM writes
!txt2img "prompt"
- picture will be generated and stored in the local webpage repository
- URL to the generated picture to it will be provided in #ROOM
More (parametrized prompts, integration with Kastalia KMS etc.) to come soon.
Slava Ukrajine