post/api/ai/images/modify/v2

Request

Request body multipart/form-data

existing_imagestring binary

The file object of the existing image you want to modify.

modificationsstring

The modifications you want to make to the image. Leave this field empty to generate a random image.

outputType'URL' | 'blob'

The output type of the image. Choose from URL or blob. The default value is URL.

similaritynumber

The similarity of the image to the original image. The default value is 50.

Response

Success

idstring

The unique identifier associated with the image modification process.

statusstring

The status of the image modification process.

timestampinteger

The timestamp when the image modification request was processed.

processing_countinteger

The number of times the image has been processed to achieve the desired output.

Example response

{
  "id": "80d94394-c1dc-41d6-a73e-9ff1ba5c9741",
  "status": "success",
  "timestamp": 1687808116950,
  "content": "https://worqhat.s3.amazonaws.com/outputs/1687808088811.png",
  "processing_count": 1
}

Changes