Skip to content

Image to Image

Plugin ID: ai_integration_eca_execute_image_to_image

Transform an input image into one or more images.

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

Input source — config key: input_type

How the input token value should be interpreted.

Type: select · Required: yes · Default: path

Allowed values: fid, path, binary

Prompt — config key: prompt

Optional instruction describing the transformation. Tokens are supported.
This field supports tokens.

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

Mask token — config key: token_mask

Optional token holding a mask image, read with the same input source as the main image. Please provide the token name only, without brackets.

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

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