private static void ImageContentBatch(String token, String endpoint) { // The OBS link must match the region, and the OBS resources of different regions are not shared String dataUrl1 = "https://sdk-obs-source-save.obs.cn-north-4.myhuaweicloud.com/terrorism.jpg"; String dataUrl2 = "https://sdk-obs-source-save.obs.cn-north-4.myhuaweicloud.com/antiporn.jpg"; JArray urls = new JArray(); urls.Add(dataUrl1); urls.Add(dataUrl2); float threshold = 0.6f; JArray categories = new JArray(); categories.Add("politics"); categories.Add("terrorism"); categories.Add("p**n"); String reslut = ModerationService.ImageContentBatchToken(token, urls, threshold, categories, endpoint); Console.WriteLine(reslut); Console.ReadKey(); }