DALL-E/Images ECA action plugin

Created on 1 April 2024, 3 months ago
Updated 12 April 2024, 3 months ago

Hi there,

Excellent suite of modules - thanks so much.

Here is a DALL-E/Images ECA action plugin, I noticed there wasn't one.

The two options for the return value are URL, which returns a string, and b64_json which creates a file and returns the file ID as a string.

I am using this in a small app where the user selects two animals from a list on a node form, those values are wrapped with a primer in the prompt in the task config, the images is created and the resulting file ID is passed as a token to an entity reference set value task. I'll export a simple example and add it here.

Only tested with the BPMN.iO modeler. All code is gleamed from the existing dall-e/images modules in the code base, it was all already there. I could not get drupal form states to work with the modeler though :( but presume they do with the classic modeler.

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom 8bitplateau

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024