Image: Edit & Reference

grok-imagine-image-2-edit

Apply a targeted follow-up edit to a prior Grok Imagine Image 2.0 generation. Input: edit prompt, request_id of the prior grok-imagine-image-2 generation, optional mask_indexs. Output: edited image. Use for: iterative refinement of a Grok Imagine Image 2.0 image without regenerating from scratch.

post/api/v1/grok-imagine-image-2-edit

Request

  • Base URL: https://api.muapi.ai
  • URL: https://api.muapi.ai/api/v1/grok-imagine-image-2-edit
  • Auth: one of:
    • API key in header x-api-key
    • OAuth 2 (client credentials, token URL https://api.muapi.ai/oauth/token)

Query parameters

webhookstring
team_idinteger nullable

Headers

x-api-keystring
x-embed-codestring nullable
x-agent-embed-codestring nullable
x-whitelabel-studiostring nullable
authorizationstring nullable

Request body

promptstring required
request_idstring required
mask_indexsinteger[] nullable
webhook_urlstring uri nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.