oer-ai-examples/perchance-christus.md

70 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2024-06-05 15:37:36 +00:00
# Christus-Bild-Generator
https://perchance.org/yz31uwjhue
2024-06-05 15:40:26 +00:00
![](https://codeberg.org/Comenius-Institut/oer-ai-examples/raw/branch/main/2024-06-05_17h39_06.png)
2024-06-05 15:37:36 +00:00
2024-06-05 15:41:50 +00:00
Anleitung: https://perchance.org/text-to-image-plugin
2024-06-05 15:37:36 +00:00
## HTML
```html
<h1>[title]</h1>
<p style="margin:1em auto; padding:0 1em; max-width:768px;">[output]</p>
<input oninput="attribute = this.value" placeholder="Gib ein zusätzliches Attribut an" onChange="update()"/>
<button onclick="update()">Generiere</button>
```
## Script
```txt
image = {import:text-to-image-plugin}
title
Jesus Christus
character
Jesus Christ|Christ|Son of God|Lord Jesus|God
item
a bag with coins
a long staff
a sword
a red line
fire
bread and fishes
bread and wine
good smelling oil
adjective
compassionate
serene
resolute
sorrowful
pack
bag
sack
none
place
Jerusalem
Golgatha
the Temple
in the sky
a garden
in Hades
the Last Supper
time
night
day
prompt
title: [character], [adjective], in [place] at [time], holding [item].
brushwork, rich colors, dramatic lighting, classical style, oil on canvas, realism, fine details, high resolution
resolution = 512x768
output
[image(prompt)]
```