DALL-E 2 Connector

Content Type: Module
Categories: Artificial Intelligence

Overview

A ready-to-use connector to use OpenAI’s DALL-E image generation service from within your Mendix app! It lets you generate images just by describing the desired content in plain English. It also supports presenting the generated images in your Mendix app. Great for creating dynamic galleries for example. Just import this module from the Mendix Marketplace and have fun! This is version v1.0.0 of the module.

Documentation

A ready-to-use connector to use OpenAI’s DALL-E image generation service from within your Mendix app! This is version v1.0.0 of the module.

How to install?

Just import this module from the Mendix Marketplace.

How to to use?

The connector exposes a Microflow called SUB_MF_CreateImage. Just call this Microflow from your app’s module and provide the required parameters:

- ApiKey (String) is your secret key created for the OpenAI APIs
- Text or prompt (String) is the text describing the image to be generated in plain English
- N is the amount of images to be generated, e.g. n = 1 generates just one image
- Size (String) can either be 256x256, 512x512 or 1024x1024

The generated image has a unique URL that can be displayed in your app using the Image tool with the option 'Image URL'.

Compatibility

Created and tested with Mendix 9.21.0 but should work with previous version of Mendix 9 as well.

Developer Feedback and/or Q&A

Use the Mendix forum.
Feedback is welcome at tim.herden@mendix.com

Releases

Version: 1.0.0
Framework Version: 9.21.0
Release Notes: This is the initial MPK release for the Mendix marketplace. It resembles versio v1.0.0. of the connector.