Image Edits

Edit an existing image using a text prompt and optional mask. Inpainting and guided editing.

post/v1/images/edits

Request

  • Base URL: https://api.jarvisclaw.ai
  • URL: https://api.jarvisclaw.ai/v1/images/edits
  • Auth: HTTP x402

Request body

imagestring binary required

Source image to edit

maskstring binary

Optional mask marking areas to edit

modelstring

Image model ID (e.g. dall-e-2, gpt-image-1)

ninteger

Number of images to generate

promptstring required

Text description of the desired edit

Response

Successful response

dataobject

Changes

No recorded changes to this operation across all 1 revision of this API.