Search and Replace Objects in Image
This API enables the identification and replacement of specific objects within an image with alternative imagery in a single API call. It facilitates creative and dynamic transformations, making it ideal for a variety of applications such as updating product images for e-commerce, altering elements in marketing materials, or personalizing photos.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The image to be modified or edited.
The type of output to be generated. You can choose between url
and blob
. URL
will return a cloud-hosted Temporary URL for the generated image, you need to handle the image download on your end. blob
will return the image as a base64 encoded string.
url
, blob
The description of the modification to be applied to the image. This can include instructions or desired outcomes for the image modification process.
The object or element you want to replace the searched object with.
Response
Status indicating the success of the image generation.
The generated image.
The time taken to process the request, in milliseconds.
A universally unique identifier for the request. This can be used to track the request in the logs.
The number of times the request has been processed. This is what is considered in the Billing Process. This is either the number of times the image is processed or the number of words that the server processes.
Was this page helpful?