Page2Image for a website project

I need help for my website project DorfstattStadt. I want to add some content and a background image. Finally I want to have the values in the frontend and also a generated image which should look like the example image.

So when I pressing save in the panel it should generate also an image which is usable in the frontend. Maybe it is necessary to create a plugin or whatever?

Example Image:

Content Structure

/content/meindorfkindmoment/1-quote
    |-- dorfkindmoment.txt
    |-- image.jpg
/content/meindorfkindmoment/2-quote
    |-- dorfkindmoment.txt
    |-- image.jpg
/content/meindorfkindmoment/3-quote
    |-- dorfkindmoment.txt
    |-- image.jpg

dorfkindmoment.txt

Title: Das Stockbrot ist das Knoppers vom Dorf.

----

Category: Gemeinschaft

----

Tags: Lagerfeuer 

dorfkindmoment.php

<?= $page->title() ?>
<?= $page->image() ?>

Url:
/meindorfkindmoment/das-stockbrot-ist-das-knoppers-vom-dorf

Maybe do you know someone or can you help me? Then we should talk (german is possible)