Grok Imagine Image Edit
Edit Images Text Prompts

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 requestsresponse = 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())
Ready to create?
Start generating with Grok Imagine Image Edit on ModelsLab.