Box 1:
https://westus.api.cognitive.microsoft.com/customvision/v3.1/prediction/projectid/classify/iterations/publishName/image
Box 2: https://westus.api.cognitive.microsoft.com/vision/v3.2/analyze/?visualFeatures=Adult,Description
Computer Vision can detect adult material in images so that developers can restrict the display of these images in their software. Content flags are applied with a score between zero and one so developers can interpret the results according to their own preferences.
You can detect adult content with the Analyze Image API. When you add the value of Adult to the visualFeatures query parameter
Incorrect:
Use the Image Moderation API in Azure Content Moderator to scan image content. The moderation job scans your content for profanity, and compares it against custom and shared blocklists.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/computer-vision/concept-detecting-adult-content
https://docs.microsoft.com/en-us/azure/cognitive-services/content-moderator/try-image-api
https://docs.microsoft.com/en-us/legal/cognitive-services/custom-vision/custom-vision-cvs-transparency-note