Text to AI Image

Content Type: Module
Categories: Utility,User Interface,Artificial Intelligence

Overview

Description

The Prompt to AI Image module allows Mendix developers to integrate AI-powered image generation into their applications with minimal setup.By connecting to the AI Text to Image Generator (Flux Free) API via RapidAPI, users can simply enter a text prompt, choose a style, and instantly generate AI-generated images within their Mendix app and can be downloaded.

This module includes a preconfigured nanoflow (ACT_Get_Response), sample landing page, and easy API key configuration—making it simple to get started with AI image generation and download in Mendix.

    Documentation

    Text (Prompt) to AI Image

    Objective

    The Prompt to AI Image module enables Mendix developers to integrate AI-powered image generation directly into their Mendix applications.By connecting to the AI Text to Image Generator (Flux Free) API from RapidAPI, users can enter a text prompt and generate corresponding AI images dynamically within their Mendix app.

    This module provides:

    • A preconfigured Nanoflow (ACT_Get_Response) for making API calls.
    • Easy integration with RapidAPI subscription key.
    • Out-of-the-box usage: developers just plug in their API key and start generating AI images.

     

    Dependencies

    Before using this module, ensure the following dependencies are met:

    1. Mendix Studio Pro
      • Version: 10.24 or higher.
    2. RapidAPI Subscription
    3. API Key
      • After subscribing, generate your X-RapidAPI-Key.
      • This key is required for authenticating requests in the ACT_Get_Response nanoflow.

     

    Configuration

    Follow these steps to configure and start using the module in your Mendix app:

    1. Import the Module
      • Download and import the Prompt to AI Image module into your Mendix project.
    2. Map the user role.
    3. Use or call  the MyFirstLogic Microflow to trigger the Promt to AI Image landing page.
    4. Add API Key to Nanoflow
      • Open the nanoflow ACT_Get_Response inside the module.
      • Locate the REST Call action.
      • In the request header, set:
      • "X-RapidAPI-Key" = "<your_api_key_here>"
      • Replace <your_api_key_here> with your personal key from RapidAPI.
    5. Run the application and enter the prompt in the text area field and select the style type by clicking choose style button.
    6. After the Style type selected click the Generate button.
    7. Here you will get the response Image for the prompt you entered.
    8. On clicking download button the generated response image can be downloaded. 

     

    Releases

    Version: 1.0.0
    Framework Version: 10.24.0
    Release Notes: Version 1.0.0 – Initial Release Release Date: September 2025 New Features • Introduced the Text to AI Image module for Mendix 10.24. • Integrated with RapidAPI – AI Text to Image Generator (Flux Free). • Provided preconfigured Nanoflow (ACT_Get_Response) for API calls. • Added support for user-entered prompts to dynamically generate AI images. • Included style type selection before generating images. • Ready-to-use landing page (MyFirstLogic) for quick testing and integration. • Generated AI Image can be downloaded. Configuration Highlights • Developers only need to subscribe to the API on RapidAPI. • Add the X-RapidAPI-Key in the nanoflow for authentication. • Simple setup and direct image rendering in Mendix applications. Dependencies • Mendix Studio Pro v10.24 or higher. • RapidAPI subscription & key generation.