extensions
parameter of both upload and update APIs takes an array of objects specifying the extensions to be used along with their respective parameters. Each object in this array is a self-contained block containing information about one single extension. This information includes the name
of the extension and other parameters associated with that extension.google-auto-tagging
, aws-auto-tagging
, remove-bg
name
, there are a few fields that are supported or required only when using certain extensions. Refer to auto tagging and background removal pages for information on their specific parameters.extensions
parameter formation that will result in the execution of two different extensions - background removal through remove.bg and automatic tagging through Google Cloud Vision:aws-auto-tagging
extension on 1000 uploaded images, a total of 1000x1 i.e. 1000 extension units will be consumed.extensionStatus
to identify the method used for each extension in your request.extensions
field array with a non-zero length, then the response will include an extensionStatus
field object, which will contain the status of each extension at the time of completion of the update/upload request. The status has three possible values:success
: The extension has been successfully and fully appliedfailed
: The extension has failed and will not be retriedpending
: The extension will finish processing in some time. On completion, the final status (success / failed) will be sent to the webhook URL providedAITags
field is populated only because the google-auto-tagging
extension was executed synchronously and it received a success
response.webhookUrl
parameter in your update/upload API calls. The final status of extensions after they have completed execution will be delivered to this endpoint as a POST request. The request body sent to this endpoint will look like thisSUCCESS
or FAILURE