Skip to main content
POST
Rewrites the whole image from an existing image + prompt. Good for background replacement, style transfer, and content changes.

Parameters

Structured fields (optional)

Same as Imagine — set them in the body or in prompt (e.g. --ar 16:9). Body values take priority, are appended to the prompt, and override same-name flags written by hand.

Request example

Response

Submission returns a task_id; on SUCCESS the result includes edited image_urls (may be 1–4) plus grid_image_url.

Notes

  • Difference from imagine image-guidance: edits “rewrites the whole image”, while imagine + reference images “borrows the style”.
  • Missing prompt or image_urls returns 400; a single image over 12 MiB returns 400.