18 lines
789 B
Markdown
18 lines
789 B
Markdown
# 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
|
|
```
|