← AI PulseAug 18, 2026

Wire · news · Single-source brief

Grok Imagine Image Generation Tool Integrates into Conversational Workflows

xAI has introduced an image generation tool that allows Grok to create and edit images using Grok Imagine within a conversational context.

By Illumora Editorial

Source · Aug 18, 2026, 3:09 AM · On Illumora · Aug 18, 2026, 3:48 AM

Media from the primary source — shown here so you can stay on Illumora.

Rewritten from one allowlisted primary — not independent enterprise reporting. Lanes →

Brief drafted by Illumora’s editorial model from the linked primary source. Ops desk reviews flagged pieces. How we write →

Read the source →xAI Docs — Image Generation Tool | SpaceXAI Docs
Save

xAI has released an image generation tool designed to integrate image creation and editing capabilities directly into conversational workflows with Grok. This tool leverages the Grok Imagine image models, specifically grok-imagine-image-2.0, enabling the AI to generate and modify images as part of its responses.

Key Points

  • The image generation tool allows Grok to create and edit images using Grok Imagine within a conversation.
  • It utilizes the grok-imagine-image-2.0 model for image generation.
  • The model autonomously decides when to call the tool, writes the image prompt, and selects an aspect ratio.
  • The tool runs server-side, allowing the model to chain calls for generating and then editing an image within a single request.
  • Images are returned as image_generation_call output items in the Responses API, with base64-encoded images in the result field.
  • The tool is supported in all Responses API compatible SDKs, but not yet in the Vercel AI SDK.

Context

According to xAI, the image generation tool is intended for scenarios where image creation is a step within a larger conversational or agentic workflow. For direct control over aspect ratio and resolution with a pre-defined prompt, developers can call the image generation and image editing endpoints directly.

Why It Matters

This integration allows developers to build more dynamic and multimodal AI applications where image generation and editing can occur fluidly within a dialogue, potentially streamlining complex creative or informational tasks.

What To Do

  • Add image_generation to the tools available to your Grok model.
  • Observe how the model decides when to call the tool and generates image prompts.
  • Test the chaining capability by prompting for an image and then requesting an edit in a single conversational turn.
  • Note the format of the base64-encoded image output in the Responses API for decoding.

Keep Exploring

/atlas/**grok**-family /techniques/function-calling