Announcement: RAM Authorization Added for viapiutils Service and Face Verification Server-Side Capability

Updated at:

Dear Alibaba Cloud users. To improve user experience and data security and enhance the public cloud service level of the Visual Intelligence API, RAM authorization will be added to the viapiutils service and the face verification server-side capability (ExecuteServerSideVerification) for file URL processing starting on May 8, 2024. If you call the viapiutils service or the face verification server-side capability in the Visual Intelligence API, you can grant the AliyunVIAPIFullAccess permission to the RAM user (sub-account) that uses viapiutils or calls the face verification server-side capability. This prevents errors such as “No RAM permissions” during your calls.

Solutions

  • If you prefer not to grant permissions to the RAM user (sub-account) using viapiutils, consider one of the following calling methods.

    1. The Visual Intelligence API interfaces support Shanghai OSS URLs by default. Upload your file to Shanghai OSS and use its URL in your API request. For steps to activate OSS, see Activate OSS.

    2. Use the latest SDK. Pass your file as a stream using the ImageURLObject parameter in an xxxAdvanceRequest. For steps, see File URL Processing (Method 1).

  • For RAM authorization for users calling the face verification server-side capability (ExecuteServerSideVerification).

    This capability belongs to the facebody category. Without proper authorization, calls will fail. For steps to configure RAM authorization, see Control Access Permissions Using RAM Policies.

Thank you for your continued support of the Visual Intelligence API. If you have questions while using the product, contact your account manager or join the Alibaba Cloud Visual Intelligence API consultation group on DingTalk (group ID: 23109592).