Digizuite™ AI Image Optimization

We are currently supporting image optimization using https://optidash.ai/ which is a great tool for ensuring that your images are perfectly sized and optimized for web. It speeds up your website and improves the look of your images.

You can see the image processing features supported by Optidash here: https://optidash.ai/image-optimization

 

Pre-requisites:
You need your own account and subscription at Optidash. From your account, the actual API Key must be sent to Digizuite so we know where the request should be directed to.

How it works:

Digizuite offers an automation which can be triggered based on your requirements. Often it will be on all new product images being uploaded into the platform. Since this is in our automation, it is completely customized what should trigger so you could do it for certain metadata or workflow stages.

API Endpoint used by Automation

Endpoint

Input

Functionality

Output

Endpoint

Input

Functionality

Output

https://{URL-DEPENDING-ON-DAM-VERSION.azurewebsites.net/api/integrations/asset/invoke?clientId={SECRET_CLIENT_ID}&integrationType=optidashservice&assetId=<assetid>&code={SECRET_CODE}

  • clientId: provided by Digizuite

  • integrationType: optidashaiservice

  • code: provided by digizuite

Requests instant image optimization from Optidash and then replaces the asset in the DAM with the optmized one from Optidash.

Notice that it replaces from the function so please having the right clientId for each environment is important. Dev won’t work for prod for instance, and can have massive impact if not used correctly.

Returns only true or false

Configuration

The following shows a starting point for your integration.

When you have added the below then you are good to go.

trigger "Metadata trigger" { type = "Specific Metadata Value" resolves = "Set String Metafield" value = "#54a0ff;creative" ignore_casing = "true" meta_field = "guid:6fe35f10-c810-497b-af9c-e52c3d583593" listen_to_metadata_changes = "all" } action "Invoke Endpoint" { type = "Invoke Endpoint" endpoint = "https://{URL-DEPENDING-ON-DAM-VERSION.azurewebsites.net/api/integrations/asset/invoke?clientId={SECRET_CLIENT_ID}&integrationType=optidashaiservice&assetId=<assetid>&code={SECRET_CODE}" method = "post" response = "@response" } action "Set String Metafield" { type = "Set String Metafield" needs = "Invoke Endpoint" meta_field = "guid:ee63ba87-5f5c-485e-9d7e-4dd9bcc625ef" new_value = "@response" asset_item_ids = "@sourceAssetItemId" }