This commit is contained in:
Niklas Mueller 2024-08-05 18:44:01 +02:00
commit e4b4f364df
10 changed files with 1379 additions and 0 deletions

18
README.md Normal file
View file

@ -0,0 +1,18 @@
# TTI-Function
With the Text-to-Image (TTI) Function you can create images from a text prompt.
Internally the Juggernaut-XL-v8 Modell (https://huggingface.co/RunDiffusion/Juggernaut-XL-v8) is used to generate the image.
## Structure
* The container has two folders attached, the input and output folder.
The input folder holds .json-files that contain the context of the images, that should be created.
The output folder is the location, where the generated images will be stored.
## Setup
Make sure [Podman](https://podman.io/docs/installation) or [Docker](https://docs.docker.com/get-docker/) is installed.
```
./build_image.sh
podman run -v /path/to/your/input/folder/:/app/input/ -v /path/to/your/output/folder/:/app/images/ --name tti-function_container --rm -t tti-function
```