Prompt Image editing

Grok Imagine Edit: Change One Detail, Keep the Rest

xAI's edit pattern for Grok Imagine: lead with the one change (swap a metal watch strap for leather), then one sentence that locks subject, angle and setting.

  • 🤖 Grok Imagine
  • 🗂️ Image editing

Last verified: write-up checked

Prompt by xAI · Original source (opens in a new tab)

Grok Imagine Edit: Change One Detail, Keep the Rest — prompt preview

The prompt

prompt
Replace the metal watch strap with a brown leather strap with cream stitching. Keep the same wrist, the same shirt cuff, the same angle, and the same desk.

What it is

From the "Generate, then edit" section of xAI's Image Prompting Guide, used with the /v1/images/edits endpoint. The structure is the lesson: changes first, then a single sentence keeping the same wrist, cuff, angle and desk.

Who it's for

  • Product photographers making variants
  • Anyone editing an image that is already almost right

Requirements

Requirements

  • Grok Imagine (grok.com, X or the xAI API)

نمط التعديل من xAI في Grok Imagine: ابدأ بالتغيير المطلوب (استبدال سوار ساعة معدني بجلدي)، ثم جملة واحدة تثبّت الموضوع والزاوية والمكان.

Examples

From the source

Prompt
prompt
Replace the metal watch strap with a brown leather strap with cream stitching. Keep the same wrist, the same shirt cuff, the same angle, and the same desk.

Expected output: Exact prompt from xAI docs.

Pros & cons

Pros

  • Pro:Changes one thing while keeping the rest of the image intact
  • Pro:Faster than regenerating from scratch

Cons

  • Con:Large edits can still drift; keep changes small

Tips

  • Edit only when the subject and layout are already right and one to three details need to change; otherwise generate again
  • An edit that opens with "keep everything" barely moves, and pasting a full new prompt restages the scene
  • If a fix doesn't land, point at the part instead of repeating "more realistic"