gpt-image-2), xAI Grok Imagine (grok-imagine-image-quality, grok-imagine-image), and hosted Google Gemini (gemini-2.5-flash-image, gemini-3.1-flash-lite-image, gemini-3.1-flash-image, gemini-3-pro-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. Gemini 3 image models also expose a Resolution selector (0.5K, 1K, 2K, 4K depending on model).
Configuration
Use the Insert Variable button next to Prompt when part of the image description should come from workflow inputs or earlier steps.
This step uses Settings and Output tabs. The Output tab shows the generated images as a gallery after a successful test run.
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.

