Skip to content
Marketing Factory Digital GmbH
Contact
Logo Marketing Factory Digital GmbH
  • Agency
    • About us
    • History
  • Services
    • Consulting, Analysis and Strategy
    • Programming and Development
      • Interface Development
      • PIM/ERP Links
      • Custom Development
      • Seamless CMS Integration
    • Hosting and Support
      • Cloud Strategies
      • Hosting Partners of Marketing Factory
    • Services with Third Parties
  • Technology
    • TYPO3
      • Current TYPO3 Versions: v12, v13
    • Shopware
    • IT Security
      • DDoS Protection
      • Continuous Upgrading
      • Privacy First
    • Tech Stack
      • Commitment to Open Source
      • Technology Selection
      • PHP Ecosystem
      • Containerisation & Clustering
      • Content Delivery Networks
      • Search Technologies
  • References
    • Projects
    • Clients
      • Client List
    • Screenshot of the homepage of the new Maxion Wheels websiteNEW: Relaunch of the corporate website of Maxion Wheels
  • Community
    • Community Initiatives
  • Blog
  • Contact
  • Deutsch
  • English

You are here:

  1. Blog
  2. Using Our TYPO3 Extension ai_filemetadata with Mittwald’s AI Hosting
Ein humanoider Roboter sitzt an einem Schreibtisch und arbeitet an einem Computer. Der Bildschirm zeigt verschiedene technische Diagramme und Daten. Der Roboter scheint konzentriert zu sein und verwendet eine Tastatur. Die Umgebung ist dunkel und futuristisch.
  • TYPO3
  • Tutorial
  • Extensions
23.10.2025

Using Our TYPO3 Extension ai_filemetadata with Mittwald’s AI Hosting


When we first developed our ai_filemetadata extension, we relied on the OpenAI API because it was one of the earliest stable and widely accessible options.
Today, multiple providers offer hosted open-source LLM models. One of them is our partner Mittwald, which recently launched its AI-Hosting. At the time of writing, the service is still in beta.

In this article, we show how to connect and use our extension with Mittwald’s AI Hosting — and how the results compare to OpenAI.

"API-Key anlegen: Name 'ai_fielmetadata', RateLimit 300 Anfragen pro Minute. Option zum Erstellen eines Containers für Open WebUI. Auswahl der Modelle mit Nutzungsbedingungen: gpt-oss-120b, Mistral-Small-3.2-24B-Instruct, Qwen3-Coder-30B-Instruct, Qwen3-Embedding-8B. Zustimmung zu den Nutzungsbedingungen erforderlich."

Requirements

To follow this guide, you will need:

  • A TYPO3 installation v12+ with the extension ai_filemetadata 1.3.5+
  • An mStudio account with an active project at Mittwald

If you don’t have one yet, you can create a project during registration. Once the project is active, AI Hosting can be enabled.

Setting Up AI Hosting

Inside your project dashboard under Components, activate AI Hosting by creating an API key. We recommend enabling the Open WebUI container at the same time for easier testing.

Das Bild zeigt eine Benutzeroberfläche für den Zugriff auf KI-Modelle über eine API. Es enthält eine Base-URL für die API, einen API-Key mit dem Namen "ai_fielmetadata" und einem RateLimit von 300 Anfragen pro Minute. Zudem wird auf eine Dokumentation im Developer-Portal verwiesen.

You will receive:

  • Base URL
  • Project ID (Key Name)
  • API Key
Ein Bildschirmfoto eines OpenWebUI-Chatfensters mit einem Anfänger-Guide für die OpenWebUI. Der Guide erklärt die Voraussetzungen wie Betriebssystem, Docker und RAM sowie die Schnell-Installations-Optionen mit Docker-Compose. Es wird Schritt-für-Schritt-Anleitung zur Erstellung eines Projektordners und einer docker-compose.yml-Datei gegeben.

Once logged in, select a model and run a quick test.
The documentation provides guidance on the available models and their strengths.

 

TYPO3 Extension Configuration

In TYPO3 → Settings → Extension Configuration → ai_filemetadata, enter:

Extension ParameterConfiguration value
apiBaseUriBase-URL from mittwald Backend
apiKeyAPI-Key from mittwald Backend
projectIdKey-Name from mittwald Backend
modelMistral-Small-3.2-24B-Instruct

During our tests, we occasionally encountered issues with very large images. Therefore, we recommend setting the value for imageResizing. We use 1024 so that TYPO3 scales images down to a maximum of 1024×1024 pixels before they are passed to the LLM.

Testing the Setup

In the TYPO3 backend:

  1. Open the Filelist module
  2. Select an image
  3. Click the magic wand button

If the configuration is correct, the system will automatically generate an alt-text.

[Translate to English:] Vergleich der Ergebnisse

[Translate to English:] Für unseren Test haben wir sämtliche Alt-Texte der Bilder unserer Website in Deutsch und Englisch sowohl mit OpenAI (gpt-4o-mini) als auch mit Mittwald (Mistral-Small-3.2-24B-Instruct) erzeugen lassen und anschließend inhaltlich verglichen.
Der Test war zugleich ein kleiner Benchmark für das mittwald KI-Hosting. 649 Bilder mit jeweils zwei Alttexten wurden in etwa zweieinhalb Stunden verarbeitet, das ist die gleiche Größenordnung wie bei openAi.

Wie zu erwarten, unterscheiden sich die Ergebnisse. Schon bei wiederholten Aufrufen mit demselben Modell erhält man leicht unterschiedliche Beschreibungen. Das ist normal.

Fazit

Beide Modelle liefern für unseren Zweck gut nutzbare Ergebnisse: Beschreibende Alt-Texte für Menschen mit Sehbeeinträchtigung. Keine Beschreibung war vollständig falsch oder unbrauchbar. Es gibt daher keinen zwingenden Grund, ein bestimmtes Modell zu bevorzugen.

Beim genaueren Hinsehen fällt auf, dass gpt-4o-mini auf einen größeren Wissensbestand zugreift. Unser neues Bürogebäude wird dort korrekt als „Arkadengebäude“ erkannt, während Mistral schlicht „modernes Bürogebäude“ schreibt.
OpenAI ergänzt gelegentlich kleine Details, etwa den Hinweis, dass es sich um einen Screenshot handelt. Solche Zusatzinformationen sind für die Barrierefreiheit jedoch nicht wesentlich.

Result comparison (examples)

gpt-4o-miniMistral-Small-3.2-24B-Instruct
The image displays a web interface for managing a Solr container. It shows the hostname, short ID, last activity date, and image details, including the specific version of Solr being used. Action buttons for recreating or stopping the container are also present.A black magnifying glass lies on a light-colored surface next to a partially visible closed laptop. The magnifying glass symbolizes investigation or scrutiny, often associated with research, analysis, or problem-solving.
The photo shows the Arcade Building of the Factory Campus in Düsseldorf with large windows, surrounded by manicured greenery and bushes. The sky is mostly blue with a few clouds.A modern, multi-story office building with large glass windows and white columns. The building is surrounded by a well-maintained lawn with trees and shrubs. The sky is partly cloudy. The structure has a sleek, contemporary design.
Screenshot showing the extension with an english textA screenshot of a software interface displaying file metadata. The interface includes fields for editing metadata such as alternative text, categories, and picture credits. The file shown is an image named "screenshot_ai_filemetadata_text_aus_typo3_12_backend.png.
The image contains a form interface for editing image metadata, highlighting fields for image title, creator's name, and relevant links. The primary focus is on the input sections related to an image titled "Skyline von Düsseldorf" and the creator "Michael Mustermann."Skyline of Düsseldorf showcasing the city's prominent buildings and architecture. The image captures the urban landscape, highlighting the city's distinctive skyline.
A workflow pipeline is displayed, showing various job stages: 'prepare,' 'analysis,' 'build,' and 'deployment.' Each stage lists specific jobs with checkmarks indicating completion, such as 'collect-build-dependencies' and 'frontend-build,' while some jobs are in progress.The image shows a CI/CD pipeline with four stages: prepare, analysis, build, and deployment. Each stage contains multiple jobs, such as collecting build dependencies, running code analysis tools, building the frontend, and deploying the application. All jobs have been successfully completed, indicated by green checkmarks.
The image displays a grid of line charts illustrating HTTP average latency metrics for different IP addresses over time. Each chart features time on the horizontal axis and latency in milliseconds on the vertical axis, with current latency values highlighted for each IP.The image displays twelve graphs showing HTTP average latency measurements over time. Each graph represents different websites or endpoints, with latency values ranging from milliseconds to seconds. The graphs illustrate fluctuations in latency, indicating varying response times for each endpoint.
The image depicts miniature crime scene investigators in white suits examining a yellow smiley face with a red mark on it. They are using tools and equipment in a wooden environment, suggesting a humorous take on a serious investigation.A group of forensic investigators in white suits examine a large yellow emoji with a sad face and a red tongue, which appears to be lying on the ground. The scene is set up like a crime investigation, with equipment and tools around the emoji.

Conclusion

Since both systems deliver very good results for our use case, we have now fully switched the alt-text generation to Mittwald’s AI service — as this allows us to use a European model and a German provider.

Do you have suggestions for additional models we should test?
Just leave a comment — we look forward to your feedback!

Ingo Schmitt

Fluent in TypoScript, php and sql; knows perl and bash and has very basic knowledge in java. Joined in 1996 and is meanwhile as managing director responsible for development, operation and hosting of our products. Articles in this blog cover technical and sustainable topics. Involved with TYPO3 as chairman of the Business Control Committee (BCC) and organizes the annual TYPO3Camp RheinRuhr.

More posts by this author

Get blog posts as RSS feed

Related blog posts

  • We’re Retiring beuser_iprange
  • Relaunch of the website of our client Maxion Wheels based on TYPO3 12.4 LTS
  • User-friendly customization of the TYPO3 backend
  • EXT:oauth2 available for TYPO3 v11 and PHP 8

Please feel free to share this article.


Comments

No comments yet.

Write a comment.

I have been informed that the processing of my data is on a voluntary basis and that I can refuse my consent without detrimental consequences for me or withdraw my consent at any time to Marketing Factory Digital GmbH by mail (Erkrather Straße 401, D-40231 Düsseldorf) or e-mail (info@marketing-factory.de).

I understand that the above data will be stored for as long as I wish to be contacted by Marketing Factory. After my revocation my data will be deleted. Further storage may take place in individual cases if this is required by law.

  • Data privacy policy
  • Legal notice

© Marketing Factory Digital GmbH

Picture Credits
  1. "Screenshot: Mittwald mStudio - Start KI Hosting": © Ingo Schmitt / Marketing Factory Digital GmbH
  2. "Screenshot: Mittwald mStudio API Keys für AI Hosting": © Ingo Schmitt / Marketing Factory Digital GmbH
  3. "Screenshot: Prompt in Openweb UI": © Ingo Schmitt / Marketing Factory Digital GmbH
  4. "Key-Visual AI filemetadata ": Google Gemini / License: Google Generative AI Additional Terms of Service