HiAPI
21:9 宽幅 Hero:左侧柔光留白,右侧漂浮半透明虹彩玻璃画框与光轨,彩色散景;模型名 grok-imagine 以发光立体字融入光带。

xAI

Grok Imagine

grok-imagine/image-to-image

xAI's creative generation model, supporting image-to-image editing and style guidance, with up to 9 reference images to control composition and characters; called through the unified HiAPI.ai interface

Try grok-imagine/image-to-image

Input

Output

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

Pricing

grok-imagine/image-to-image per image

Unit Price $0.030

Positioning Overview

grok-imagine/image-to-image is an image editing model from xAI, accessible through the unified HiAPI.ai interface. Using prompts as editing instructions, it generates new images based on 1 to 3 reference images, supporting selectable 1k/2k resolutions, 14 aspect ratios, and jpeg/png/webp output formats. It is suited for developers who need to perform rewrites, style transfer, or composition adjustments starting from existing images, bringing controllable image editing capabilities into their own product workflows.

Key Highlights

  • Reference-image-driven controllable editing — Takes 1 to 3 public URL images as input and describes the rewrite goal with a prompt, so subjects and compositions are grounded rather than generated from thin air.
  • Wide aspect ratio coverage — Supports 14 aspect ratios from 2:1 to 1:2; auto directly inherits the ratio of the first input image, fitting both landscape and portrait placements.
  • Selectable resolution and format — Output can be 1k or 2k, with support for jpeg, png, and webp formats, producing files directly usable for downstream purposes.

Capability Details

Reference-image-conditioned editing: Submit 1 to 3 public jpeg/png/webp images along with an editing instruction, and the model generates a rewritten image based on them, suited for targeted modifications on existing assets.

Aspect ratio control: Choose auto or 14 fixed ratios; auto follows the first input image, making it easy to produce batches of images sized to match ad placements.

Resolution and format output: Output resolution can be 1k or 2k, and formats include jpeg, png, and webp, letting developers directly specify result specs based on front-end display or subsequent processing needs.

Long instruction support: Prompts can be up to 8000 characters, accommodating detailed editing descriptions so complex rewrite requirements can be fully expressed in a single instruction.

Use Cases

  • Design teams: targeted rewrites of existing assets — Upload existing product or scene images and describe the modifications to produce new images that preserve the original composition, for asset replacement or variant generation.
  • Content operations: batch image creation for ad placements — Generate landscape or portrait images using reference images plus ratio parameters, directly usable for multi-size social media and ad placement campaigns.
  • App developers: integrate image editing features — Package reference-image editing with format and resolution parameters into an in-product editing entry point, so users can upload an image and get processed results.

Limitations and Selection Advice

Input accepts only 1 to 3 public URL images in jpeg/png/webp; SVG is not supported, and only one image can be produced per request. Its capabilities are limited to reference-image-based image editing and do not include video generation, audio generation, or text-to-image generation; for those needs, choose text-to-image or video models from the same series. Scenarios requiring batch output of multiple images or native resolutions above 2k also require a different model.

  • New model New models: grok-imagine-image-2.0/text-to-image and grok-im…

Frequently asked questions

View all FAQs →
  • What is the standard Grok Imagine route best for?

    It suits high-volume ideation, social assets, landscapes, and cinematic scenes. Current 1k and 2k output share one flat price.

  • How does standard differ from Quality?

    Standard emphasizes speed and a low flat price. Quality is a separate model route focused on material, detail, and light, with tiered 1k/2k pricing.

  • Which ratios are available?

    Thirteen landscape, square, and portrait ratios ranging from 2:1 and 20:9 to 1:2.

  • Does this page accept references?

    No. Use grok-imagine/image-to-image for reference editing.

Related Models

View all models →

Same Type