Skip to main content

Create Image Variation

Create variations of an existing image using DALL-E 2.

Common Properties​

  • Name - The custom name of the node.
  • Color - The custom color of the node.
  • Delay Before (sec) - Waits in seconds before executing the node.
  • Delay After (sec) - Waits in seconds after executing node.
  • Continue On Error - Automation will continue regardless of any error. The default value is false.
info

If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.

Inputs​

  • Connection Id - Connection identifier from Connect node.
  • Image Path - Local file path to the PNG image to create variations of (max 4MB).
  • Use Robomotion AI Credits - Use Robomotion credits instead of your own API key.
warning

This node requires Use Robomotion AI Credits to be enabled.

Options​

  • Model - Image variation model (only DALL-E 2 supported).
  • Number of Images - Number of variations to generate (1-4). Default: 1.
  • Size - Output image size (256x256, 512x512, or 1024x1024). Default: 1024x1024.
  • User - Unique identifier for your end-user.
  • Timeout (seconds) - Request timeout. Default: 120.
  • Include Raw Response - Include the full API response. Default: false.

Outputs​

  • Image - File path(s) to generated variation(s). String if 1 image, array if multiple.
  • Raw Response - Complete API response (when Include Raw Response is enabled).

How It Works​

Creates variations of your image while maintaining its essential elements:

  1. Validates Robomotion Credits connection
  2. Loads the source PNG image
  3. Generates variations based on the image
  4. Saves generated images to temporary storage
  5. Returns file paths

Usage Example​

Input:
- Image Path: "C:/logo.png"
- Number of Images: 3
- Size: 1024x1024

Output:
- Image: ["/tmp/image_0.png", "/tmp/image_1.png", "/tmp/image_2.png"]

Tips​

  • Only PNG format supported (max 4MB)
  • Requires Robomotion Credits mode
  • Useful for generating logo variations, design alternatives, or creative iterations
  • Higher resolutions take longer and cost more

Common Errors​

"Image variations require Robomotion Credits mode"

  • Enable Robomotion Credits in your Connect node

"Image file does not exist"

  • Verify the file path is correct and file exists