HiAPI
21:9 宽幅高调光英雄图:左侧柔光留白,右侧悬浮多层半透明玻璃图像浮卡与光带,冰蓝、珊瑚粉、薰衣草渐层虹彩;最大的玻璃面板上以发光立体字刻着 grok-imagine-image-2.0。

xAI

Grok Imagine Image 2.0

grok-imagine-image-2.0/image-to-image

xAI's image generation and editing model, with strong instruction following and complex layout rendering, supports iterative image editing with reference images, and can output 1K/2K images in multiple aspect ratios

Try grok-imagine-image-2.0/image-to-image

Input

Output

image
Fill in the parameters and run — results show up here.

Pricing

grok-imagine-image-2.0/image-to-image per image

Unit Price $0.065

Positioning Overview

grok-imagine-image-2.0's image editing path: upload a reference image and give an editing instruction, and the model completes rewriting and iterative adjustments while preserving the original composition and key details. It is better suited to developers who need precise image edits based on complex text instructions, such as multi-round revisions of poster layouts, product images, and concept drafts. Called through the unified HiAPI.ai interface, you can get an edited result by inputting a reference image and a prompt.

Core Highlights

  • Instruction-based editing that preserves the original image composition — The output follows the framing and layout of the reference image, and the model changes only the specified content according to the prompt, avoiding detail loss caused by redrawing the entire image.
  • Clearer complex layouts and text typography — For materials containing text, columns, and complex layouts, rendering clarity is better, making it suitable for revising posters and covers.
  • Multi-round iteration that gradually converges — By repeatedly submitting editing instructions on the same reference image, key visual details are preserved well, making it easy to gradually approach the target effect.
  • Two quality and resolution tiers available — quality offers two tiers, low and medium, and resolution supports 1k and 2k, allowing compute to be allocated according to preview and final-output stages.

Capability Description

Instruction-based editing with a reference image: Takes a JPG, PNG, or WebP reference image plus an editing prompt as input and outputs a rewritten image; suitable for replacing elements, adjusting style, and local redrawing.

Fine-grained instruction following: It can reproduce multiple creative constraints in a prompt, with a high degree of fulfillment for long descriptions and multi-condition image-editing requests, reducing repeated retries.

Tier and resolution control: Choosing low for quality produces previews faster, while medium is the recommended default; resolution can be switched between 1k and 2k, balancing drafts and final outputs.

Framing output based on the reference image: During editing, the output follows the reference image's composition. Although the aspect_ratio parameter can be passed, it does not affect the result, so no additional adaptation for aspect ratio is needed during integration.

Applicable Scenarios

  • Designers revising based on an existing layout — Upload a poster or cover draft and describe the modification points to get a new draft that preserves the layout structure, for quickly comparing multiple versions.
  • Material rewriting and re-creation of product images — Use real product photos as references to rewrite backgrounds and atmosphere, producing final images that can be used directly for detail pages and advertising materials.
  • Multi-round local adjustments to concept drafts — Submit editing instructions round by round on an initial draft and gradually correct details, for converging options during the concept visualization stage.
  • Adaptation of social media and advertising materials — Generate different variations in batches based on the same reference image, producing multiple sets of vertical or square materials for channel placement testing.

Limitations and Selection Advice

A single request accepts only one reference image and cannot perform multi-image fusion; output quality has only two tiers, low and medium, with a maximum resolution of 2k, so ultra-high-definition or print-level needs require separate upscaling. During editing, the aspect ratio is fixed to the reference image and the framing cannot be changed in the request. The model is relatively new, and independent evaluations and long-term stability data are limited; for batch production with extremely high requirements for result consistency, it is recommended to validate with a small sample first.

Frequently asked questions

View all FAQs →
  • What is Grok Image 2.0 Text to Image best for?

    Generate product, editorial, landscape, and character visuals in low or medium quality at 1K/2K across square to ultrawide formats.

  • Does Grok Image 2.0 Text to Image accept reference images?

    No. This route is text-to-image only.

  • Which output settings are supported?

    The page exposes 1K, 2K and auto, 1:1, 16:9, 9:16, 4:3, 3:4, 2:1, 1:2; use the Playground contract for the final available set.

  • How is Grok Image 2.0 Text to Image billed?

    Billing is per successful generated image. Resolution or quality differences, when present, are reflected by the live page price.

Related Models

View all models →

Same Type