Generate DALL-E Image#

Image generation based on a text prompt.

Text

[Text] The text based on which the image needs to be generated.

For example, "Astronaut on the moon".

ModelSelection of the model for image generation.
Image File[Text/List] The name and path to the file for saving the image. If more than one is specified and the "dall-e-2" model is selected, a list of files can be provided.
Quantity

[Number] The number of images to be generated. The value can range from 1 to 10.

For the "dall-e-3" model, the value is always 1.

Image Quality

The quality of the image that will be generated.

"hd" creates images with finer details and greater consistency throughout the image. This option is only supported for "dall-e-3".

Image Size

The size of the generated images. For "dall-e-2", it must be one of:

  • "256x256",
  • "512x512",
  • "1024x1024".

For the "dalle3" model, it must be one of the resolutions:

  • "1024x1024",
  • "1792x1024",
  • "1024x1792".
Image Style

The style of the created images. It must be vivid ("vivid") or natural ("natural").

Vivid makes the model lean towards creating hyper-realistic and dramatic images.

Natural makes the model create more natural, less hyper-realistic images. This option is only supported for "dall-e-3".

Timeout[Number] The maximum wait time for a response in seconds.
Result[Text/List] If only one image is generated, it returns the name and path to the file. Otherwise, it returns a list of full paths to the files with their names.
Error Handling Level

Selection of the error handling level. Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Selection of the message level that the blocks will output during operation. Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - main information output;
  • "Detailed" - detailed information output.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.