Seedance 2.0 is here - create consistent, multimodal AI videos faster with images, videos, and audio in one prompt.

Try Now
Skip to main content
Available now on ModelsLab · Image Generation

Grok Imagine Image EditEdit Images Text Prompts

Grok Imagine Image Edit

Edit Precisely Command Line

Text-Driven Edits

Modify Via Natural Language

Upload image, describe changes like 'change car to yellow', get precise edits.

Context Preservation

Keep Original Coherence

Model understands scene structure, lighting, preserves rest of image during edits.

Fast API Access

Grok Imagine Image Edit API

Integrate Grok Imagine Image Edit model for rapid text-based image modifications.

Examples

See what Grok Imagine Image Edit can create

Copy any prompt below and try it yourself in the playground.

City Sunset

Urban skyline at dusk, change background to vibrant sunset with orange hues and scattered clouds, maintain building details and reflections

Product Mockup

White sneakers on table, replace background with minimalist studio lighting, add soft shadows, keep product texture sharp

Nature Scene

Forest path photo, transform into snowy winter landscape, add falling snowflakes, preserve tree branches and path

Abstract Art

Geometric shapes composition, apply watercolor style transfer, change dominant color to deep blues, retain form symmetry

For Developers

A few lines of code.
Edit Image. One Prompt.

ModelsLab handles the infrastructure: fast inference, auto-scaling, and a developer-friendly API. No GPU management needed.

  • Serverless: scales to zero, scales to millions
  • Pay per image, no minimums
  • Python and JavaScript SDKs, plus REST API
import requests
response = requests.post(
"https://modelslab.com/api/v7/images/image-to-image",
json={
"key": "YOUR_API_KEY",
"prompt": "The girl in image 1 and the dog in image 2 together in same frame, in living room, sofa in the background",
"init_image": "",
"aspect_ratio": "1:1"
}
)
print(response.json())

FAQ

Common questions about Grok Imagine Image Edit

Read the docs

Grok Imagine Image Edit is xAI's image-to-image model for text-driven modifications. Upload an image and use natural language to edit objects, backgrounds, or styles. It preserves visual coherence using Aurora architecture.

Send image URL and text prompt to grok imagine image edit api endpoint. Model applies targeted changes like object removal or style transfer. Results generate in seconds with context-aware precision.

Edit images by adding, removing, or swapping objects via text. Supports background changes, color adjustments, and style transfers. Handles in-painting and maintains original scene structure.

Grok Imagine Image Edit offers text-based editing without manual tools. Ideal for quick modifications, not complex pixel-level work. Fun for ideation, integrates via API.

Generates edits in 10-25 seconds depending on complexity. Produces precise results from text prompts on uploaded images. Faster for simple changes like object color swaps.

Primary endpoint focuses on image editing. Related Grok Imagine supports video clips with similar text controls. Check documentation for multimodal options.

Ready to create?

Start generating with Grok Imagine Image Edit on ModelsLab.