gpt-image-2), xAI Grok Imagine (grok-imagine-image-quality, grok-imagine-image), and hosted Google Gemini (gemini-2.5-flash-image). Select the model in the Model dropdown at the top of the settings form. OpenAI-specific options (Size, Quality, Background, Moderation, Output Format, Output Compression) are hidden when a Grok or Gemini model is selected. Gemini shows aspect-ratio choices instead of OpenAI size tiles.
Configuration
| Option | Required | Description |
|---|---|---|
| Name | No | Label for the step in the workflow canvas. |
| Model | No | Image model to use. Default: gpt-image-2. |
| Prompt | Yes | The text entered in Prompt. |
| Image Size / Aspect Ratio | No | OpenAI uses size tiles. Gemini uses aspect ratios such as 1:1, 16:9, or 9:16. |
| Image Count | No | Number of images to generate. |
| Image Quality | No | Quality level for the generated images (OpenAI only). |
| Image Background | No | Background mode for the image output (OpenAI only). |
| Image Moderation | No | Moderation setting for the generation request (OpenAI only). |
| Output Format | No | Output file format (OpenAI only). |
| Output Compression | No | Compression level for formats that support it (OpenAI only). |
| Charge Type | No | Whether the step uses Hosted or Personal billing. |
| When the step fails | No | Controls whether the workflow should Terminate Workflow or Continue if this step fails. |
Output
This step outputs an object with:settings: the selected model plus provider-specific image generation settings used for the callassets: an array of generated asset records
idfile_urlfile_namefile_sizefile_type
image_quality, image_background, image_output_format, and image_output_compression. Gemini outputs include the selected aspect ratio in image_size. xAI outputs include the model, provider, and image count.
Use the variable picker after a test run to confirm the exact path you want to insert.
Example
Add Image Generation to your workflow. Write a detailed Prompt such asCreate a product hero image for a blue insulated water bottle on a clean studio background.
Choose a Size or Aspect Ratio, set Image Count, then adjust the provider-specific options that are visible.
If you want smaller JPEG or WebP output, lower Output Compression. If you keep Output Format set to PNG, that compression control stays disabled.
Click Run in the step header. After the run finishes, open Output to review the returned images and use the variable picker to reference the generated asset fields in later steps.
Notes
- If Output Format is JPEG, Transparent is not available in Background (OpenAI only).
- If Output Format is PNG, Output Compression is disabled in the editor (OpenAI only).
- When using a Grok Imagine model, images are always returned as PNG regardless of the Output Format setting.
- Gemini image generation is hosted-only in this workflow step. Personal/BYOK Gemini image generation is not supported in v1.
- xAI Grok Imagine is billed at a fixed rate per image (not per token). OpenAI
gpt-image-2is billed per token. Gemini is billed from input tokens plus generated-image output tokens. - This step returns uploaded asset records, not just raw image bytes.
- Before the image provider is called, Fetch Hive checks whether your account has reached its plan storage limit. If the limit is reached, the step fails without generating or uploading new images.
- Generated file URLs are useful when a later step needs to pass an image reference forward.

