Skip to main content
AI image generation uses the workspace default from AI settings. The OpenAI provider alias selects GPT Image 2.5 Flare, which requires Gateway media access.

Parameters

string
required
A description of the desired image. Be specific, precise, and detailed. Use advanced AI image generation prompting techniques to produce visually compelling results.
string
required
The base name for the output files (e.g., “myimg” will create “myimg_1.png”, “myimg_2.png”, etc.).
number
default:1
The number of images to generate (between 1 and 10). Defaults to 1.
string
default:""
The directory where the generated images will be saved. Defaults to /home/workspace/Images.
string
default:"1:1"
The desired image aspect ratio, e.g. “16:9”, “1:1”, “3:4”.
string
default:""
Deprecated provider alias. Leave empty for the workspace default, or pass “google” or “openai”. The OpenAI alias selects GPT Image 2.5 Flare and requires Gateway media access.