Skip to content

Text to Image

Plugin ID: ai_integration_eca_execute_text_to_image

Generate one or more images from a text prompt.

Fields

Model — config key: model

The applicable model for this operation type.

Type: select · Required: yes · Default: empty string

Allowed values depend on the configuration of the target site.

Value format: The machine name of a model configured on the target site.

Token input — config key: token_input

The data input for AI. Please provide the token name only, without brackets.

Type: textfield · Required: no · Default: empty string

Token result — config key: token_result

The response from AI will be stored into the token result field to be used in future steps. Please provide the token name only, without brackets.

Type: textfield · Required: no · Default: empty string

Specific configuration for the model — config key: config

Some models require specific configuration settings, like temperature, voice or response_format.

Type: textarea · Required: no · Default: empty string

Prompt — config key: prompt

The text prompt describing the image to generate. Tokens are supported, e.g. "an image that looks like [node:title]".
This field supports tokens.

Type: textarea · Required: yes · Default: Enter your image prompt here.

Output as — config key: output_type

How each generated file is stored. The result token is always a list.

Type: select · Required: yes · Default: managed_file

Allowed values: managed_file, path, binary

Destination directory — config key: destination

Stream-wrapper directory for written files, e.g. public://ai. Used by managed file and file path output.

Type: textfield · Required: no · Default: public://

Filename — config key: filename

Optional filename (including extension) for written files. Leave empty to use the name provided by the model. With multiple files, collisions are renamed automatically. Used by managed file and file path output. Please provide the token name only, without brackets.

Type: textfield · Required: no · Default: empty string