summaryrefslogtreecommitdiff
path: root/data/en_us/imagesearch/2020-12-14/api-docs.php
blob: 213b8c37514d3a249726f48f0e31762abfe7cd6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
<?php return [
    'version' => '1.0',
    'info' => ['style' => 'RPC', 'product' => 'ImageSearch', 'version' => '2020-12-14'],
    'directories' => [
        [
            'children' => ['AddImage', 'DeleteImage'],
            'type' => 'directory',
            'title' => 'Management',
        ],
        [
            'children' => ['SearchImageByName', 'SearchImageByPic'],
            'type' => 'directory',
            'title' => 'Search',
        ],
        [
            'children' => ['CompareSimilarByImage', 'Detail', 'DumpMeta', 'DumpMetaList', 'IncreaseInstance', 'IncreaseList', 'SearchImageByText', 'UpdateImage', 'CheckImageExists', 'SearchImageByFilter'],
            'type' => 'directory',
            'title' => 'Others',
        ],
    ],
    'components' => [
        'schemas' => [],
    ],
    'apis' => [
        'AddImage' => [
            'summary' => 'Describes the syntax and provides examples of the AddImage operation, which adds image information to an Image Search instance.',
            'methods' => ['post'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'write',
            'deprecated' => false,
            'systemTags' => [
                'operationType' => 'create',
                'riskType' => 'none',
                'chargeType' => 'free',
                'abilityTreeNodes' => ['FEATUREimagesearchAOOGRD'],
            ],
            'parameters' => [
                [
                    'name' => 'InstanceName',
                    'in' => 'formData',
                    'schema' => ['description' => 'The name of the Image Search instance. The name can be up to 20 characters in length.'."\n"
                        .'If you have purchased an Image Search instance, log on to the [Image Search console](https://imagesearch.console.aliyun.com/) to view the instance name.'."\n"
                        .'If you have not purchased an Image Search instance, refer to [Activate the service](~~179178~~) and [Create an instance](~~66569~~).'."\n"
                        .'>The instance name is not the instance ID. Do not confuse the two.', 'type' => 'string', 'required' => true, 'example' => 'demoinstance1', 'title' => ''],
                ],
                [
                    'name' => 'ProductId',
                    'in' => 'formData',
                    'schema' => ['description' => 'The product ID. The ID can be up to 256 characters in length.'."\n"
                        ."\n"
                        .'>A product can have multiple images.', 'type' => 'string', 'required' => true, 'example' => '2092061_1', 'title' => ''],
                ],
                [
                    'name' => 'PicName',
                    'in' => 'formData',
                    'schema' => ['description' => 'The image name. The name can be up to 256 characters in length.'."\n"
                        .'> - ProductId and PicName uniquely identify an image.'."\n"
                        .'- If you add multiple images with the same ProductId and PicName, only the last added image is retained. Previously added images are overwritten.', 'type' => 'string', 'required' => true, 'example' => '2092061_1.jpg', 'title' => ''],
                ],
                [
                    'name' => 'PicContent',
                    'in' => 'formData',
                    'schema' => ['description' => 'The image content.'."\n"
                        .' - The image size cannot exceed 4 MB.'."\n"
                        .' - Image formats: PNG, JPG, JPEG, BMP, GIF, WEBP, TIFF, and PPM.'."\n"
                        .' - The transmission wait time cannot exceed 5 seconds.'."\n"
                        .'<props="china">'."\n"
                        .' - For product image search, generic image search, furniture image search, and industrial hardware image search, the image width and height must be at least 100 pixels and at most 4,096 pixels.'."\n"
                        .'  For trademark image search, the image width and height must be at least 200 pixels and less than 4,096 pixels.'."\n"
                        .' For fabric image search, the image width and height must be at least 448 pixels and at most 4,096 pixels.'."\n"
                        .'</props>'."\n"
                        .'<props="intl">'."\n"
                        .' - For product image search and generic image search, the image width and height must be at least 100 pixels and at most 4,096 pixels.'."\n"
                        .'</props>'."\n"
                        .'- The image must not contain rotation information.'."\n"
                        ."\n"
                        .'> - **When calling by using an SDK:**'."\n"
                        .'  - If you use a V3 SDK, you do not need to set the PicContent field. The SDK encapsulates this field as PicContentObject and automatically converts it to Base64 encoding. For specific examples, refer to [Java SDK](~~179188~~).'."\n"
                        .'  - The SDK does not support passing image URLs directly. The V3 SDK provides an alternative method to upload images by URL. For specific examples, refer to [Java SDK](~~179188~~).'."\n"
                        .'- **When calling by using the Alibaba Cloud OpenAPI platform:**'."\n"
                        .'  - If you use the **2019-03-25** version, set the **PicContent** field to the **Base64** encoding of the image.'."\n"
                        .'  - If you use the **2020-12-14** version, click to upload the image directly in the **PicContent** field.', 'type' => 'string', 'required' => true, 'isFileTransferUrl' => true, 'example' => 'AAAANSUhEUgAAAPcAAAEVCAYAAAA8d3NuAAAAAXNSR0IArs......RK5CYII=', 'title' => ''],
                ],
                [
                    'name' => 'CategoryId',
                    'in' => 'formData',
                    'schema' => ['description' => 'The image category. For more information, refer to [Category reference](~~179184~~).'."\n"
                        .'> - For product image search, if you specify a category, the specified category is used. If you do not specify a category, the system predicts the category. The predicted category result can be obtained from the response.'."\n"
                        .'<props="china">'."\n"
                        .'- For fabric, trademark, generic, furniture, and industrial hardware image search, the system sets the category to 88888888 regardless of whether you specify a category.'."\n"
                        .'</props>'."\n"
                        .'- For generic image search, the system sets the category to 88888888 regardless of whether you specify a category.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '88888888', 'title' => ''],
                ],
                [
                    'name' => 'Crop',
                    'in' => 'formData',
                    'schema' => ['description' => 'Specifies whether to perform subject identification. Default value: true.'."\n"
                        .' - true: The system performs subject identification and searches based on the identified subject. The subject identification result can be obtained from the response.'."\n"
                        .'- false: The system does not perform subject identification and searches based on the entire image.'."\n"
                        ."\n"
                        .'<props="china">For fabric image search, this parameter is ignored. The system searches based on the entire image.</props>.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
                ],
                [
                    'name' => 'Region',
                    'in' => 'formData',
                    'schema' => ['description' => 'The subject region of the image, in the format of `x1,x2,y1,y2`, where `x1,y1` is the upper-left point and `x2,y2` is the lower-right point.'."\n"
                        .'> - If you specify Region, the system searches based on the specified Region regardless of the Crop parameter value.'."\n"
                        .'<props="china">'."\n"
                        .'- For fabric image search, this parameter is ignored. The system searches based on the entire image.'."\n"
                        .'</props>'."\n"
                        .'- The Region parameter has no unit. The values are based on the pixel dimensions of the image. If the image is scaled, the Region parameter values must be scaled proportionally.', 'type' => 'string', 'required' => false, 'example' => '280,486,232,351', 'title' => ''],
                ],
                [
                    'name' => 'CustomContent',
                    'in' => 'formData',
                    'schema' => ['description' => 'The custom content defined by the user. The content can be up to 4,096 characters in length.'."\n"
                        .'>This field is returned in query results. For example, you can add a text description of the image.', 'type' => 'string', 'required' => false, 'example' => 'zidingyi', 'title' => ''],
                ],
                [
                    'name' => 'IntAttr',
                    'in' => 'formData',
                    'schema' => ['description' => 'The integer attribute. This attribute can be used to filter query results and is returned in query results.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '22', 'title' => ''],
                ],
                [
                    'name' => 'StrAttr',
                    'in' => 'formData',
                    'schema' => ['description' => 'The string attribute. The attribute can be up to 128 characters in length. This attribute can be used to filter query results and is returned in query results.'."\n"
                        .'> Special characters such as \\¥$&% are not supported.', 'type' => 'string', 'required' => false, 'example' => 'ss', 'title' => ''],
                ],
                [
                    'name' => 'IntAttr2',
                    'in' => 'formData',
                    'schema' => ['description' => 'The integer attribute. This attribute can be used to filter query results and is returned in query results.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '22', 'title' => ''],
                ],
                [
                    'name' => 'StrAttr2',
                    'in' => 'formData',
                    'schema' => ['description' => 'The string attribute. The attribute can be up to 128 characters in length. This attribute can be used to filter query results and is returned in query results.'."\n"
                        .'> Special characters such as \\¥$&% are not supported.', 'type' => 'string', 'required' => false, 'example' => 'ss', 'title' => ''],
                ],
                [
                    'name' => 'IntAttr3',
                    'in' => 'formData',
                    'schema' => ['description' => 'The integer attribute. This attribute can be used to filter query results and is returned in query results.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '33', 'title' => ''],
                ],
                [
                    'name' => 'StrAttr3',
                    'in' => 'formData',
                    'schema' => ['description' => 'The string attribute. The attribute can be up to 128 characters in length. This attribute can be used to filter query results and is returned in query results.'."\n"
                        .'> Special characters such as \\¥$&% are not supported.', 'type' => 'string', 'required' => false, 'example' => 'ss', 'title' => ''],
                ],
                [
                    'name' => 'IntAttr4',
                    'in' => 'formData',
                    'schema' => ['description' => 'The integer attribute. This attribute can be used to filter query results and is returned in query results.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '44', 'title' => ''],
                ],
                [
                    'name' => 'StrAttr4',
                    'in' => 'formData',
                    'schema' => ['description' => 'The string attribute. The attribute can be up to 128 characters in length. This attribute can be used to filter query results and is returned in query results.'."\n"
                        .'> Special characters such as \\¥$&% are not supported.', 'type' => 'string', 'required' => false, 'example' => 'ss', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'The response parameters.',
                        'type' => 'object',
                        'properties' => [
                            'Message' => ['description' => 'The error message.'."\n"
                                .'> No data is returned for successful requests. Error messages are returned for failed requests.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                            'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E0845DE6-52AF-4B50-9F15-51ED4044E6AB', 'title' => ''],
                            'Code' => ['description' => 'The error code.'."\n"
                                ."\n"
                                .'- 0: success.'."\n"
                                .'- Non-zero: failure.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
                            'PicInfo' => [
                                'description' => 'The category prediction and subject identification results.',
                                'type' => 'object',
                                'properties' => [
                                    'Region' => ['description' => 'The subject identification result. The subject region of the image, in the format of `x1,x2,y1,y2`, where `x1,y1` is the upper-left point and `x2,y2` is the lower-right point. If the user specifies a subject region in the request, the specified region is used.', 'type' => 'string', 'example' => '94,691,206,650', 'title' => ''],
                                    'CategoryId' => ['description' => 'The category prediction result. If the user specifies a category in the request, the specified category is used.', 'type' => 'integer', 'format' => 'int32', 'example' => '88888888', 'title' => ''],
                                    'MultiRegion' => [
                                        'description' => 'The collection of subject identification results.'."\n"
                                            .'> Upgrade to V3.1.1 or later to use this feature.',
                                        'type' => 'array',
                                        'items' => [
                                            'description' => 'The subject identification result.',
                                            'type' => 'object',
                                            'properties' => [
                                                'Region' => ['description' => 'The subject identification result. The subject region of the image, in the format of x1,x2,y1,y2, where x1,y1 is the upper-left point and x2,y2 is the lower-right point. If the user specifies a subject region in the request, the specified region is used.', 'type' => 'string', 'example' => '94,691,206,650', 'title' => ''],
                                            ],
                                            'title' => '',
                                            'example' => '',
                                        ],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'AllCategories' => [
                                        'description' => 'The information about all categories supported by the system.',
                                        'type' => 'array',
                                        'items' => [
                                            'description' => 'The information about all categories supported by the system.',
                                            'type' => 'object',
                                            'properties' => [
                                                'Name' => ['description' => 'The category name.', 'type' => 'string', 'example' => 'Other', 'title' => ''],
                                                'Id' => ['description' => 'The category ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '88888888', 'title' => ''],
                                            ],
                                            'title' => '',
                                            'example' => '',
                                        ],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'BadRequest', 'errorMessage' => 'The request has invalid parameters.', 'description' => ''],
                    ['errorCode' => 'InstanceStatusError', 'errorMessage' => 'Your instance is unavailable.', 'description' => ''],
                    ['errorCode' => 'InvalidInstance', 'errorMessage' => 'The specified instance name is invalid.', 'description' => ''],
                    ['errorCode' => 'NoCaretSeperator', 'errorMessage' => 'The body content is missing the ^ separator.', 'description' => ''],
                    ['errorCode' => 'EmptyMeta', 'errorMessage' => 'The body content has an empty meta field.', 'description' => ''],
                    ['errorCode' => 'InvalidMetaItem', 'errorMessage' => 'The meta field is invalid.', 'description' => ''],
                    ['errorCode' => 'NoPicList', 'errorMessage' => 'The body content is missing the pic_list parameter.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPic', 'errorMessage' => 'The content of an image is not specified in the HTTP POST body.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedSearchPic', 'errorMessage' => 'The search image is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidCategory', 'errorMessage' => 'The specified category is invalid.', 'description' => ''],
                    ['errorCode' => 'OverflowMaxResultNum', 'errorMessage' => 'The specified number of total results exceeds the maximum of 500.', 'description' => ''],
                    ['errorCode' => 'OverflowMaxReturnNum', 'errorMessage' => 'The specified number of results for each request exceeds the maximum of 100.', 'description' => ''],
                    ['errorCode' => 'InvalidStartParameter', 'errorMessage' => 'The specified parameter s is inavlid.', 'description' => ''],
                    ['errorCode' => 'InvalidNumParameter', 'errorMessage' => 'The specified parameter n is invalid.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedAddPic', 'errorMessage' => 'The image to insert is not specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedItemId', 'errorMessage' => 'The item_id parameter is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidIntAttr', 'errorMessage' => 'The specified int_attr field is invalid.', 'description' => ''],
                    ['errorCode' => 'UnsupportedPicFormat', 'errorMessage' => 'The specified image format is invalid.', 'description' => ''],
                    ['errorCode' => 'InvalidFilterClause', 'errorMessage' => 'The specified filtering condition is invalid.', 'description' => ''],
                    ['errorCode' => 'InstanceOverQuota', 'errorMessage' => 'The number of items exceeds the limit.', 'description' => ''],
                    ['errorCode' => 'IncorrectOrientation', 'errorMessage' => 'The image contains incorrect rotation flags in the meta data.', 'description' => ''],
                    ['errorCode' => 'UnsupportedPicPixels', 'errorMessage' => 'The specified pixels is not supported.', 'description' => ''],
                    ['errorCode' => 'SearchTimeout', 'errorMessage' => 'The request is timed out.', 'description' => ''],
                    ['errorCode' => 'PicNotExist', 'errorMessage' => 'The search picture does not exist.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedProductId', 'errorMessage' => 'The parameter ProductId no specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPicName', 'errorMessage' => 'The parameter PicName no specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPicContent', 'errorMessage' => 'The parameter PicContent no specified.', 'description' => ''],
                    ['errorCode' => 'InvalidType', 'errorMessage' => 'The specified parameter Type is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidProductId', 'errorMessage' => 'The specified parameter ProductId is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidPicName', 'errorMessage' => 'The specified parameter PicName is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidStrAttr', 'errorMessage' => 'The specified parameter StrAttr is not valid.', 'description' => 'Invalid StrAttr'],
                    ['errorCode' => 'InvalidCustomContent', 'errorMessage' => 'The specified parameter CustomContent is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidPicContent', 'errorMessage' => 'The specified parameter PicContent length greater than 4 * 1024 * 1024.', 'description' => ''],
                    ['errorCode' => 'TimeoutForTransferImage', 'errorMessage' => 'Timeout after 5 seconds waiting for images transfer to complete.', 'description' => ''],
                    ['errorCode' => 'InvalidPicUrl', 'errorMessage' => 'The search picture does not exist at the specific url.', 'description' => ''],
                    ['errorCode' => 'InvalidInstanceName', 'errorMessage' => 'The parameter instanceName is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidRequestId', 'errorMessage' => 'The parameter requestId is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidRequestIdTooLarge', 'errorMessage' => 'The parameter requestId is too large.', 'description' => ''],
                    ['errorCode' => 'InvalidRegion', 'errorMessage' => 'The specific region is illegal.', 'description' => ''],
                    ['errorCode' => 'RegionError', 'errorMessage' => 'region.', 'description' => ''],
                    ['errorCode' => 'InvalidStrAttr2', 'errorMessage' => 'The specified parameter StrAttr2 is not valid.', 'description' => 'Invalid'],
                    ['errorCode' => 'InvalidStrAttr3', 'errorMessage' => 'The specified parameter StrAttr3 is not valid.', 'description' => 'Invalid StrAttr3'],
                    ['errorCode' => 'InvalidStrAttr4', 'errorMessage' => 'The specified parameter StrAttr4 is not valid.', 'description' => 'Invalid StrAttr4'],
                    ['errorCode' => 'InvalidIntAttr2', 'errorMessage' => 'The specified parameter IntAttr2 is not valid.', 'description' => 'Invalid IntAttr2'],
                    ['errorCode' => 'InvalidIntAttr3', 'errorMessage' => 'The specified parameter IntAttr3 is not valid.', 'description' => 'Invalid IntAttr3'],
                    ['errorCode' => 'InvalidIntAttr4', 'errorMessage' => 'The specified parameter IntAttr4 is not valid.', 'description' => 'Invalid'],
                    ['errorCode' => 'PictureError', 'errorMessage' => '[download] Img Download Failed.', 'description' => 'Picture download failed, please check the picture'],
                    ['errorCode' => 'UnsupportedOperationType', 'errorMessage' => 'The specified action is not supported.', 'description' => ''],
                ],
                403 => [
                    ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
                    ['errorCode' => 'DeniedRequest', 'errorMessage' => 'Your request was denied due to instance flow control.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'UnknownException', 'errorMessage' => 'An internal server error occurred.', 'description' => ''],
                    ['errorCode' => 'NetworkException', 'errorMessage' => 'A network error occurred.', 'description' => ''],
                    ['errorCode' => 'RequestTimeout', 'errorMessage' => '​The request is timeout.', 'description' => ''],
                    ['errorCode' => 'ExtractFeatureTimeout', 'errorMessage' => 'The request was timed out while extracting features.', 'description' => ''],
                    ['errorCode' => 'AccessEngineFailed', 'errorMessage' => 'An error occurred while accessing the search engine.', 'description' => ''],
                    ['errorCode' => 'InternalOssError', 'errorMessage' => 'An internal OAS error occurred.', 'description' => ''],
                    ['errorCode' => 'InternalSwiftError', 'errorMessage' => 'An internal SWIFT error occurred.', 'description' => ''],
                    ['errorCode' => 'InternalTableStoreError', 'errorMessage' => 'An internal Table Store error occurred.', 'description' => ''],
                    ['errorCode' => 'ConnectionDVException', 'errorMessage' => 'Failed to obtain collection.', 'description' => 'internalError'],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Message\\": \\"success\\",\\n  \\"RequestId\\": \\"E0845DE6-52AF-4B50-9F15-51ED4044E6AB\\",\\n  \\"Code\\": 0,\\n  \\"PicInfo\\": {\\n    \\"Region\\": \\"94,691,206,650\\",\\n    \\"CategoryId\\": 88888888,\\n    \\"MultiRegion\\": [\\n      {\\n        \\"Region\\": \\"94,691,206,650\\"\\n      }\\n    ],\\n    \\"AllCategories\\": [\\n      {\\n        \\"Name\\": \\"Other\\",\\n        \\"Id\\": 88888888\\n      }\\n    ]\\n  },\\n  \\"Success\\": true\\n}","type":"json"}]',
            'title' => 'Add an image',
            'description' => '## Description'."\n"
                .'This operation adds image information to an Image Search instance.'."\n"
                ."\n"
                .'## QPS limit'."\n"
                .'An instance with a maximum image capacity of 100,000 has a default concurrency of 1, which means that a maximum of 1 image addition request can be processed per second.'."\n"
                .'Instances with other image capacities have a default concurrency of 5, which means that a maximum of 5 image addition requests can be processed per second.',
            'extraInfo' => '## Error codes'."\n"
                .'For more information, refer to [Error codes](~~66619~~).',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddImage'],
                ],
            ],
            'ramActions' => [
                [
                    'operationType' => 'create',
                    'ramAction' => [
                        'action' => 'imagesearch:AddImage',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
        ],
        'CheckImageExists' => [
            'summary' => 'CheckImageExists',
            'path' => '',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => [
                'operationType' => 'get',
                'riskType' => 'none',
                'chargeType' => 'free',
                'abilityTreeNodes' => ['FEATUREimagesearchF4L5JA'],
            ],
            'parameters' => [
                [
                    'name' => 'InstanceName',
                    'in' => 'formData',
                    'schema' => ['description' => 'Image Search instance name. Supports up to 20 characters.  '."\n"
                        .'If you have already purchased an Image Search instance, you can logon to the [Image Search console](https://imagesearch.console.aliyun.com/) to view it.  '."\n"
                        .'If you have not purchased an Image Search instance, see [Activate the service](~~179178~~) and [Create an instance](~~66569~~).  '."\n"
                        .'> The instance name here is not the instance ID. Please distinguish between them when using.', 'type' => 'string', 'required' => true, 'example' => 'demoinstance1', 'title' => ''],
                ],
                [
                    'name' => 'ProductId',
                    'in' => 'formData',
                    'schema' => ['description' => 'Product ID.', 'type' => 'string', 'required' => true, 'isFileTransferUrl' => false, 'example' => '2092061_1', 'title' => ''],
                ],
                [
                    'name' => 'PicName',
                    'in' => 'formData',
                    'schema' => ['description' => 'Image name.', 'type' => 'string', 'required' => true, 'example' => '2092061_1', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'description' => 'Result returned.',
                        'type' => 'object',
                        'properties' => [
                            'Msg' => ['description' => 'Error message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                            'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'B3137727-7D6E-488C-BA21-0E034C38A879', 'title' => ''],
                            'Auctions' => [
                                'description' => 'Description information of all returned products.',
                                'type' => 'object',
                                'properties' => [
                                    'ProductId' => ['description' => 'Product ID.', 'type' => 'string', 'example' => '2092061_1', 'title' => ''],
                                    'PicName' => ['description' => 'Image name.', 'type' => 'string', 'example' => '2092061_1.jpg', 'title' => ''],
                                    'CategoryId' => ['description' => 'Image category.', 'type' => 'integer', 'format' => 'int32', 'example' => '88888888', 'title' => ''],
                                    'CustomContent' => ['description' => 'User-defined content.', 'type' => 'string', 'example' => 'zidingyi', 'title' => ''],
                                    'IntAttr' => ['description' => 'Integer-type property.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
                                    'IntAttr2' => ['description' => 'Integer-type property.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
                                    'StrAttr' => ['description' => 'String-type property.', 'type' => 'string', 'example' => 'test', 'title' => ''],
                                    'StrAttr2' => ['description' => 'String-type property.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''],
                                    'StrAttr3' => ['description' => 'String-type property.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''],
                                    'StrAttr4' => ['description' => 'String-type property.'."\n", 'type' => 'string', 'example' => 'test', 'title' => ''],
                                    'IntAttr3' => ['description' => 'Integer-type property.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
                                    'IntAttr4' => ['description' => 'Integer-type property.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'Code' => ['description' => 'Error code.  '."\n"
                                .'- 0: Succeeded.  '."\n"
                                .'- Non-zero: Failed.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
                            'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                            'Exists' => ['description' => 'Indicates whether the image exists.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                        ],
                        'title' => '',
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'BadRequest', 'errorMessage' => 'The request has invalid parameters.', 'description' => ''],
                    ['errorCode' => 'InstanceStatusError', 'errorMessage' => 'Your instance is unavailable.', 'description' => ''],
                    ['errorCode' => 'TimeoutForTransferImage', 'errorMessage' => 'Timeout after 5 seconds waiting for images transfer to complete.', 'description' => ''],
                    ['errorCode' => 'InvalidInstance', 'errorMessage' => 'The specified instance name is invalid.', 'description' => ''],
                    ['errorCode' => 'NoCaretSeperator', 'errorMessage' => 'The body content is missing the ^ separator.', 'description' => ''],
                    ['errorCode' => 'EmptyMeta', 'errorMessage' => 'The body content has an empty meta field.', 'description' => ''],
                    ['errorCode' => 'InvalidMetaItem', 'errorMessage' => 'The meta field is invalid.', 'description' => ''],
                    ['errorCode' => 'NoPicList', 'errorMessage' => 'The body content is missing the pic_list parameter.', 'description' => ''],
                    ['errorCode' => 'InvalidPicList', 'errorMessage' => 'The specified pic_list parameter is invalid.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPic', 'errorMessage' => 'he content of an image is not specified in the HTTP POST body.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedSearchPic', 'errorMessage' => 'The search image is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidCategory', 'errorMessage' => 'The specified category is invalid.', 'description' => ''],
                    ['errorCode' => 'OverflowMaxResultNum', 'errorMessage' => 'The specified number of total results exceeds the maximum of 500.', 'description' => ''],
                    ['errorCode' => 'OverflowMaxReturnNum', 'errorMessage' => 'The specified number of results for each request exceeds the maximum of 100.', 'description' => ''],
                    ['errorCode' => 'InvalidStartParameter', 'errorMessage' => 'The specified parameter start is inavlid.', 'description' => ''],
                    ['errorCode' => 'InvalidNumParameter', 'errorMessage' => 'The specified parameter num is invalid.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedAddPic', 'errorMessage' => 'The image to insert is not specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedItemId', 'errorMessage' => 'The item_id parameter is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidIntAttr', 'errorMessage' => 'The specified int_attr field is invalid.', 'description' => ''],
                    ['errorCode' => 'UnsupportedPicFormat', 'errorMessage' => 'The specified image format is invalid.', 'description' => ''],
                    ['errorCode' => 'InvalidFilterClause', 'errorMessage' => 'The specified filtering condition is invalid.', 'description' => ''],
                    ['errorCode' => 'InstanceOverQuota', 'errorMessage' => 'The number of items exceeds the limit.', 'description' => ''],
                    ['errorCode' => 'IncorrectOrientation', 'errorMessage' => 'The image contains incorrect rotation flags in the meta data.', 'description' => ''],
                    ['errorCode' => 'UnsupportedPicPixels', 'errorMessage' => 'The specified pixels is not supported.', 'description' => ''],
                    ['errorCode' => 'SearchTimeout', 'errorMessage' => 'The request is timed out.', 'description' => ''],
                    ['errorCode' => 'PicNotExist', 'errorMessage' => 'The search picture does not exist.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedProductId', 'errorMessage' => 'The parameter ProductId no specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPicName', 'errorMessage' => 'The parameter PicName no specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPicContent', 'errorMessage' => 'The parameter PicContent no specified.', 'description' => ''],
                    ['errorCode' => 'InvalidType', 'errorMessage' => 'The specified parameter Type is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidProductId', 'errorMessage' => 'The specified parameter ProductId is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidPicName', 'errorMessage' => 'The specified parameter PicName is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidStrAttr', 'errorMessage' => 'The specified parameter StrAttr is not valid.', 'description' => 'Invalid StrAttr'],
                    ['errorCode' => 'InvalidCustomContent', 'errorMessage' => 'The specified parameter CustomContent is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidPicContent', 'errorMessage' => 'The specified parameter PicContent length greater than 2 * 1024 * 1024.', 'description' => ''],
                    ['errorCode' => 'InvalidStrAttr4', 'errorMessage' => 'The specified parameter StrAttr4 is not valid.', 'description' => 'Invalid StrAttr4'],
                    ['errorCode' => 'InvalidStrAttr3', 'errorMessage' => 'The specified parameter StrAttr3 is not valid.', 'description' => 'Invalid StrAttr3'],
                    ['errorCode' => 'InvalidStrAttr2', 'errorMessage' => 'The specified parameter StrAttr2 is not valid.', 'description' => 'Invalid'],
                    ['errorCode' => 'InvalidIntAttr4', 'errorMessage' => 'The specified parameter IntAttr4 is not valid.', 'description' => 'Invalid'],
                    ['errorCode' => 'InvalidIntAttr3', 'errorMessage' => 'The specified parameter IntAttr3 is not valid.', 'description' => 'Invalid IntAttr3'],
                    ['errorCode' => 'InvalidIntAttr2', 'errorMessage' => 'The specified parameter IntAttr2 is not valid.', 'description' => 'Invalid IntAttr2'],
                    ['errorCode' => 'UnsupportedOperationType', 'errorMessage' => 'The specified action is not supported.', 'description' => ''],
                    ['errorCode' => 'UnsupportedInstanceType', 'errorMessage' => 'The instance type is not supported.', 'description' => ''],
                ],
                403 => [
                    ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
                    ['errorCode' => 'DeniedRequest', 'errorMessage' => 'Your request was denied due to instance flow control.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'InternalError', 'errorMessage' => 'An internal server error occurred.', 'description' => ''],
                    ['errorCode' => 'NetworkException', 'errorMessage' => 'A network error occurred.', 'description' => ''],
                    ['errorCode' => 'RequestTimeout', 'errorMessage' => '​The request is timeout.', 'description' => ''],
                    ['errorCode' => 'ExtractFeatureTimeout', 'errorMessage' => 'The request was timed out while extracting features.', 'description' => ''],
                    ['errorCode' => 'AccessEngineFailed', 'errorMessage' => 'An error occurred while accessing the search engine.', 'description' => ''],
                    ['errorCode' => 'InternalOssError', 'errorMessage' => 'An internal OAS error occurred.', 'description' => ''],
                    ['errorCode' => 'InternalSwiftError', 'errorMessage' => 'An internal SWIFT error occurred.', 'description' => ''],
                    ['errorCode' => 'InternalTableStoreError', 'errorMessage' => 'An internal Table Store error occurred.', 'description' => ''],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'title' => 'Check Image',
            'description' => '## How-To  '."\n"
                .'This API is used to query image information in an Image Search instance based on an image.'."\n"
                ."\n"
                .'## QPS Limit  '."\n"
                .'The default maximum queries per second (QPS) for query operations can be viewed in the console. It corresponds to the Visit Frequency (QPS) you selected when purchasing the instance. Supported QPS values are 1, 5, and 10.'."\n"
                ."\n"
                .'### SDK Version Guide  '."\n"
                .'Upgrade the Image SDK to version V3.1.1 to use the "subject identification" and "similarity score" features. For more information, see [Java SDK](~~179188~~).',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [],
            ],
            'ramActions' => [
                [
                    'operationType' => 'get',
                    'ramAction' => [
                        'action' => 'imagesearch:CheckImageExists',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Msg\\": \\"success\\",\\n  \\"RequestId\\": \\"B3137727-7D6E-488C-BA21-0E034C38A879\\",\\n  \\"Auctions\\": {\\n    \\"ProductId\\": \\"2092061_1\\",\\n    \\"PicName\\": \\"2092061_1.jpg\\",\\n    \\"CategoryId\\": 88888888,\\n    \\"CustomContent\\": \\"zidingyi\\",\\n    \\"IntAttr\\": 2,\\n    \\"IntAttr2\\": 2,\\n    \\"StrAttr\\": \\"test\\",\\n    \\"StrAttr2\\": \\"test\\",\\n    \\"StrAttr3\\": \\"test\\",\\n    \\"StrAttr4\\": \\"test\\",\\n    \\"IntAttr3\\": 2,\\n    \\"IntAttr4\\": 2\\n  },\\n  \\"Code\\": 0,\\n  \\"Success\\": true,\\n  \\"Exists\\": true\\n}","type":"json"}]',
        ],
        'CompareSimilarByImage' => [
            'path' => '',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => [
                'operationType' => 'none',
                'riskType' => 'none',
                'chargeType' => 'free',
                'abilityTreeNodes' => ['FEATUREimagesearchAOOGRD'],
            ],
            'parameters' => [
                [
                    'name' => 'PrimaryPicContent',
                    'in' => 'formData',
                    'schema' => ['description' => 'The image content.'."\n"
                        ."\n"
                        .'- The image size must not exceed 4 MB.'."\n"
                        .'- Image formats: PNG, JPG, JPEG, BMP, GIF, WEBP, TIFF, and PPM.'."\n"
                        .'- The transmission wait time must not exceed 5 seconds.'."\n"
                        .'<props="china">'."\n"
                        .'- If the service type is product image search, generic image search, furniture image search, or industrial hardware image search, the image width and height must be at least 100 px and at most 4096 px.'."\n"
                        .'</props>'."\n"
                        .'<props="china">'."\n"
                        .'- If the service type is trademark image search, the image width and height must be at least 200 px and less than 4096 px.'."\n"
                        .'</props>'."\n"
                        .'<props="china">'."\n"
                        .'- If the service type is fabric image search, the image width and height must be at least 448 px and at most 4096 px.'."\n"
                        .'</props>'."\n"
                        .'<props="intl">'."\n"
                        .'- If the service type is product image search or generic image search, the image width and height must be at least 100 px and at most 4096 px.'."\n"
                        .'</props>'."\n"
                        .'- The image must not contain rotation information.'."\n"
                        ."\n"
                        .'> **When calling by using an SDK:**- Only V3 SDKs are supported. You do not need to set the PrimaryPicContent field. The SDK encapsulates this field as PrimaryPicContentObject and automatically converts it to Base64 encoding. For examples, refer to [JAVA SDK](~~179188~~).- The SDK does not support passing image URLs directly. V3 SDKs provide an alternative way to upload images by URL. For examples, refer to [JAVA SDK](~~179188~~).', 'type' => 'string', 'required' => true, 'isFileTransferUrl' => true, 'example' => 'AAAANSUhEUgAAAPcAAAEVCAYAAAA8d3NuAAAAAXNSR0IArs......RK5CYII=', 'title' => ''],
                ],
                [
                    'name' => 'SecondaryPicContent',
                    'in' => 'formData',
                    'schema' => ['description' => 'The image content.'."\n"
                        ."\n"
                        .'- The image size must not exceed 4 MB.'."\n"
                        .'- Image formats: PNG, JPG, JPEG, BMP, GIF, WEBP, TIFF, and PPM.'."\n"
                        .'- The transmission wait time must not exceed 5 seconds.'."\n"
                        .'<props="china">'."\n"
                        .'- If the service type is product image search, generic image search, furniture image search, or industrial hardware image search, the image width and height must be at least 100 px and at most 4096 px.'."\n"
                        .'</props>'."\n"
                        .'<props="china">'."\n"
                        .'- If the service type is trademark image search, the image width and height must be at least 200 px and less than 4096 px.'."\n"
                        .'</props>'."\n"
                        .'<props="china">'."\n"
                        .'- If the service type is fabric image search, the image width and height must be at least 448 px and at most 4096 px.'."\n"
                        .'</props>'."\n"
                        .'<props="intl">'."\n"
                        .'- If the service type is product image search or generic image search, the image width and height must be at least 100 px and at most 4096 px.'."\n"
                        .'</props>'."\n"
                        .'- The image must not contain rotation information.'."\n"
                        ."\n"
                        .'> **When calling by using an SDK:**- Only V3 SDKs are supported. You do not need to set the PrimaryPicContent field. The SDK encapsulates this field as PrimaryPicContentObject and automatically converts it to Base64 encoding. For examples, refer to [JAVA SDK](~~179188~~).- The SDK does not support passing image URLs directly. V3 SDKs provide an alternative way to upload images by URL. For examples, refer to [JAVA SDK](~~179188~~).', 'type' => 'string', 'required' => true, 'isFileTransferUrl' => true, 'example' => 'AAAANSUhEUgAAAPcAAAEVCAYAAAA8d3NuAAAAAXNSR0IArs......RK5CYII=', 'title' => ''],
                ],
                [
                    'name' => 'InstanceName',
                    'in' => 'formData',
                    'schema' => ['description' => 'The name of the Image Search instance. The name can be up to 20 characters in length.'."\n"
                        .'If you have purchased an Image Search instance, log on to the <props="intl">[Image Search console](https://imagesearch.console.alibabacloud.com)</props><props="china">[Image Search console](https://imagesearch.console.aliyun.com)</props> to view the instance name.'."\n"
                        .'If you have not purchased an Image Search instance, refer to [Activate the service](~~179178~~) and [Create an instance](~~66569~~).'."\n"
                        .'>The instance name is not the instance ID. Make sure you distinguish between them.', 'type' => 'string', 'required' => true, 'example' => 'demoinstance1', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'The similarity calculation result.',
                        'type' => 'object',
                        'properties' => [
                            'Score' => ['description' => 'The image similarity score. Valid values: 0 to 1.', 'type' => 'number', 'format' => 'double', 'example' => '0.85', 'title' => ''],
                            'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                            'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B3137727-7D6E-488C-BA21-0E034C38A879', 'title' => ''],
                            'Msg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                            'AccessDeniedDetail' => [
                                'description' => 'The authentication response details.',
                                'type' => 'object',
                                'properties' => [
                                    'AuthAction' => ['description' => 'The action for the authentication request.', 'type' => 'string', 'example' => 'xxx', 'title' => ''],
                                    'AuthPrincipalDisplayName' => ['description' => 'The authentication principal information.', 'type' => 'string', 'example' => '111', 'title' => ''],
                                    'AuthPrincipalOwnerId' => ['description' => 'The Alibaba Cloud account ID of the authentication principal.', 'type' => 'string', 'example' => '222', 'title' => ''],
                                    'AuthPrincipalType' => ['description' => 'The type of the authentication principal.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''],
                                    'EncodedDiagnosticMessage' => ['description' => 'The encrypted diagnostic message.', 'type' => 'string', 'example' => 'xxxxxx', 'title' => ''],
                                    'NoPermissionType' => ['description' => 'Valid values:'."\n"
                                        .'- ImplicitDeny: no policy is matched.'."\n"
                                        .'- ExplicitDeny: an explicit Deny policy is matched.', 'type' => 'string', 'example' => 'ImplicitDeny', 'title' => ''],
                                    'PolicyType' => ['description' => 'The type of the policy that caused the access denial.', 'type' => 'string', 'example' => 'AccountLevelIdentityBasedPolicy', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'Code' => ['description' => 'The error code. Valid values:'."\n"
                                .'- 0: success.'."\n"
                                .'- Non-zero: failure.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'SearchTimeout', 'errorMessage' => 'The request timed out.', 'description' => ''],
                    ['errorCode' => 'TimeoutForTransferImage', 'errorMessage' => 'Image transfer timed out.', 'description' => ''],
                    ['errorCode' => 'UnsupportedPicFormat', 'errorMessage' => 'The specified image format is invalid.', 'description' => ''],
                    ['errorCode' => 'UnsupportedPicPixels', 'errorMessage' => 'The specified pixels is not supported.', 'description' => ''],
                    ['errorCode' => 'UnsupportedPictureFormat', 'errorMessage' => 'The format of the specified picture is not supported.', 'description' => ''],
                    ['errorCode' => 'Console.InstanceNotFound', 'errorMessage' => 'The specified ImageSearch instance is not found.', 'description' => 'The specified instance ID does not exist. Check the instance ID and try again.'],
                    ['errorCode' => 'Console.PidError', 'errorMessage' => 'The number of PID bindings of the current instance exceeds 50.', 'description' => ''],
                    ['errorCode' => 'EmptyMeta', 'errorMessage' => 'The body content has an empty meta field.', 'description' => ''],
                    ['errorCode' => 'IncorrectOrientation', 'errorMessage' => 'The image contains incorrect rotation flags in the meta data.', 'description' => ''],
                    ['errorCode' => 'InstanceOverQuota', 'errorMessage' => 'The number of items exceeds the limit.', 'description' => ''],
                    ['errorCode' => 'InstanceStatusError', 'errorMessage' => 'The current instance status does not support this operation.', 'description' => ''],
                    ['errorCode' => 'InvalidInstance', 'errorMessage' => 'The specified instance name is invalid.', 'description' => ''],
                    ['errorCode' => 'InvalidPicContent', 'errorMessage' => 'The image size exceeds 4 MB.', 'description' => ''],
                    ['errorCode' => 'InvalidPicUrl', 'errorMessage' => 'The specified parameter PicUrl is not valid.', 'description' => ''],
                    ['errorCode' => 'NeedRegisterBeforeInvoke', 'errorMessage' => 'Register for PID before invoking the service.', 'description' => ''],
                    ['errorCode' => 'NoCaretSeperator', 'errorMessage' => 'The body content is missing the ^ separator.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPic', 'errorMessage' => 'The content of an image is not specified in the HTTP POST body.', 'description' => ''],
                    ['errorCode' => 'PicNotExist', 'errorMessage' => 'The specified image does not exist.', 'description' => ''],
                    ['errorCode' => 'InvalidSecondaryPicContent', 'errorMessage' => 'The specified parameter SecondaryPicContent is not valid.', 'description' => 'Invalid SecondaryPicContent parameter'],
                    ['errorCode' => 'InvalidPrimaryPicContent', 'errorMessage' => 'The specified parameter PrimaryPicContent is not valid.', 'description' => 'Invalid PrimaryPicContent parameter'],
                    ['errorCode' => 'PictureError', 'errorMessage' => '[download] Img Download Failed.', 'description' => 'Picture download failed, please check the picture'],
                    ['errorCode' => 'UnsupportedOperationType', 'errorMessage' => 'The specified action is not supported.', 'description' => ''],
                    ['errorCode' => 'UnsupportedInstanceType', 'errorMessage' => 'The instance type is not supported.', 'description' => ''],
                ],
                403 => [
                    ['errorCode' => 'Console.NoPermissionError', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
                    ['errorCode' => 'Console.NotAllowedModifyToken', 'errorMessage' => 'You are not allowed to modify token today.', 'description' => ''],
                    ['errorCode' => 'DeniedRequest', 'errorMessage' => 'Your request was denied due to instance flow control.', 'description' => ''],
                    ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
                ],
                409 => [
                    ['errorCode' => 'Console.TaskAlreadyExist', 'errorMessage' => 'A task that is in progress already exists.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'ServerInternalError', 'errorMessage' => 'An internal error occurred.', 'description' => ''],
                    ['errorCode' => 'UnknownException', 'errorMessage' => 'An internal server error occurred.', 'description' => ''],
                    ['errorCode' => 'AccessEngineFailed', 'errorMessage' => 'An error occurred while accessing the search engine.', 'description' => ''],
                    ['errorCode' => 'ConnectionDVException', 'errorMessage' => 'Failed to obtain collection.', 'description' => 'internalError'],
                    ['errorCode' => 'Console.CallServiceError', 'errorMessage' => 'An internal service error occurred.', 'description' => ''],
                    ['errorCode' => 'ExtractFeatureTimeout', 'errorMessage' => 'The request timed out while extracting features.', 'description' => ''],
                    ['errorCode' => 'InternalOssError', 'errorMessage' => 'An internal OAS error occurred.', 'description' => ''],
                    ['errorCode' => 'InternalSwiftError', 'errorMessage' => 'An internal SWIFT error occurred.', 'description' => ''],
                    ['errorCode' => 'InternalTableStoreError', 'errorMessage' => 'An internal Table Store error occurred.', 'description' => ''],
                    ['errorCode' => 'NetworkException', 'errorMessage' => 'A network error occurred.', 'description' => ''],
                    ['errorCode' => 'RequestTimeout', 'errorMessage' => 'The request timed out.', 'description' => ''],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'title' => 'Compare image similarity',
            'summary' => 'Compares two images and returns a similarity score.',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [],
            ],
            'ramActions' => [
                [
                    'operationType' => 'none',
                    'ramAction' => [
                        'action' => 'imagesearch:CompareSimilarByImage',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Score\\": 0.85,\\n  \\"Success\\": true,\\n  \\"RequestId\\": \\"B3137727-7D6E-488C-BA21-0E034C38A879\\",\\n  \\"Msg\\": \\"success\\",\\n  \\"AccessDeniedDetail\\": {\\n    \\"AuthAction\\": \\"xxx\\",\\n    \\"AuthPrincipalDisplayName\\": \\"111\\",\\n    \\"AuthPrincipalOwnerId\\": \\"222\\",\\n    \\"AuthPrincipalType\\": \\"SubUser\\",\\n    \\"EncodedDiagnosticMessage\\": \\"xxxxxx\\",\\n    \\"NoPermissionType\\": \\"ImplicitDeny\\",\\n    \\"PolicyType\\": \\"AccountLevelIdentityBasedPolicy\\"\\n  },\\n  \\"Code\\": 0\\n}","type":"json"}]',
        ],
        'DeleteImage' => [
            'summary' => 'This topic describes the syntax and examples of the DeleteImage operation, which is used to delete image information from an Image Search instance.',
            'methods' => ['post'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'write',
            'deprecated' => false,
            'systemTags' => [
                'operationType' => 'delete',
                'riskType' => 'none',
                'chargeType' => 'free',
                'abilityTreeNodes' => ['FEATUREimagesearchIT4SIC'],
            ],
            'parameters' => [
                [
                    'name' => 'InstanceName',
                    'in' => 'formData',
                    'schema' => ['description' => 'The name of the Image Search instance. The name can be up to 20 characters in length.'."\n"
                        .'If you have purchased an Image Search instance, log on to the [Image Search console](https://imagesearch.console.aliyun.com/) to view the instance name.'."\n"
                        .'If you have not purchased an Image Search instance, refer to [Activate the service](~~179178~~) and [Create an instance](~~66569~~).'."\n"
                        .'>The instance name is not the instance ID. The instance name must be unique within the same region. Make sure you distinguish between the two.', 'type' => 'string', 'required' => true, 'example' => 'demoinstance1', 'title' => ''],
                ],
                [
                    'name' => 'ProductId',
                    'in' => 'formData',
                    'schema' => ['description' => 'The product ID.'."\n"
                        ."\n"
                        .'> 1. A product can have multiple images. 2. If IsDeleteByFilter is set to false, this parameter is required.', 'type' => 'string', 'required' => false, 'example' => '2092061_1', 'title' => ''],
                ],
                [
                    'name' => 'PicName',
                    'in' => 'formData',
                    'schema' => ['description' => 'The image name.'."\n"
                        .' - If you do not specify this parameter, all images under the specified ProductId are deleted.'."\n"
                        .' - If you specify this parameter, the image specified by ProductId and PicName is deleted.', 'type' => 'string', 'required' => false, 'example' => '2092061_1.jpg', 'title' => ''],
                ],
                [
                    'name' => 'IsDeleteByFilter',
                    'in' => 'formData',
                    'schema' => ['description' => 'Specifies whether to delete images based on the Filter field.'."\n"
                        .'>   1. If this parameter is set to true, images are deleted based on Filter or Filter+ProductId, and Filter is required. 2. If this parameter is set to false, images are deleted based on ProductId or ProductId+PicName, and ProductId is required.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
                ],
                [
                    'name' => 'Filter',
                    'in' => 'formData',
                    'schema' => ['description' => 'The filter condition. The int_attr field supports the following operators: greater than (>), greater than or equal to (>=), less than (<), less than or equal to (<=), and equal to (=). The str_attr field supports the following operators: equal to (=) and not equal to (!=). Multiple conditions can be connected by using AND and OR.'."\n"
                        .'Examples:'."\n"
                        .'- int_attr >= 100.'."\n"
                        .'- str_attr != "value1".'."\n"
                        .'- int_attr = 1000 AND str_attr = "value1".'."\n"
                        .'>A maximum of 4096 characters are supported.', 'type' => 'string', 'required' => false, 'example' => 'int_attr=1000 AND str_attr="value1"', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'description' => 'The response object.',
                        'type' => 'object',
                        'properties' => [
                            'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                            'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0703956F-9BCC-48FA-99F7-96C0BF449C69', 'title' => ''],
                            'Code' => ['description' => 'The error code. Valid values:'."\n"
                                .'- 0: success.'."\n"
                                .'- Non-zero value: failure.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
                            'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                            'Data' => [
                                'description' => 'The deletion result.',
                                'type' => 'object',
                                'properties' => [
                                    'PicNames' => [
                                        'description' => 'The deleted PicName values.',
                                        'type' => 'array',
                                        'items' => ['description' => 'The deleted PicName values.', 'type' => 'string', 'example' => 'xxx.jpg', 'title' => ''],
                                        'example' => '5555.jpg',
                                        'title' => '',
                                    ],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                        ],
                        'title' => '',
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'BadRequest', 'errorMessage' => 'The request has invalid parameters.', 'description' => ''],
                    ['errorCode' => 'InstanceStatusError', 'errorMessage' => 'Your instance is unavailable.', 'description' => ''],
                    ['errorCode' => 'InvalidInstance', 'errorMessage' => 'The specified instance name is invalid.', 'description' => ''],
                    ['errorCode' => 'NoCaretSeperator', 'errorMessage' => 'The body content is missing the ^ separator.', 'description' => ''],
                    ['errorCode' => 'EmptyMeta', 'errorMessage' => 'The body content has an empty meta field.', 'description' => ''],
                    ['errorCode' => 'InvalidMetaItem', 'errorMessage' => 'The meta field is invalid.', 'description' => ''],
                    ['errorCode' => 'InvalidPicList', 'errorMessage' => 'The specified pic_list parameter is invalid.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPic', 'errorMessage' => 'The content of an image is not specified in the HTTP POST body.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedSearchPic', 'errorMessage' => 'The search image is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidCategory', 'errorMessage' => 'The specified category is invalid.', 'description' => ''],
                    ['errorCode' => 'OverflowMaxResultNum', 'errorMessage' => 'The specified number of total results exceeds the maximum of 500.', 'description' => ''],
                    ['errorCode' => 'OverflowMaxReturnNum', 'errorMessage' => 'The specified number of results for each request exceeds the maximum of 100.', 'description' => ''],
                    ['errorCode' => 'InvalidStartParameter', 'errorMessage' => 'The specified parameter s is inavlid.', 'description' => ''],
                    ['errorCode' => 'InvalidNumParameter', 'errorMessage' => 'The specified parameter n is invalid.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedAddPic', 'errorMessage' => 'The image to insert is not specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedItemId', 'errorMessage' => 'The item_id parameter is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidIntAttr', 'errorMessage' => 'The specified int_attr field is invalid.', 'description' => ''],
                    ['errorCode' => 'UnsupportedPicFormat', 'errorMessage' => 'The specified image format is invalid.', 'description' => ''],
                    ['errorCode' => 'InvalidFilterClause', 'errorMessage' => 'The specified filtering condition is invalid.', 'description' => ''],
                    ['errorCode' => 'InstanceOverQuota', 'errorMessage' => 'The number of items exceeds the limit.', 'description' => ''],
                    ['errorCode' => 'IncorrectOrientation', 'errorMessage' => 'The image contains incorrect rotation flags in the meta data.', 'description' => ''],
                    ['errorCode' => 'UnsupportedPicPixels', 'errorMessage' => 'The specified pixels is not supported.', 'description' => ''],
                    ['errorCode' => 'SearchTimeout', 'errorMessage' => 'The request is timed out.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedProductId', 'errorMessage' => 'You must specify ProductId.', 'description' => ''],
                    ['errorCode' => 'InvalidIntAttr4', 'errorMessage' => 'The specified parameter IntAttr4 is not valid.', 'description' => 'Invalid'],
                    ['errorCode' => 'InvalidIntAttr3', 'errorMessage' => 'The specified parameter IntAttr3 is not valid.', 'description' => 'Invalid IntAttr3'],
                    ['errorCode' => 'InvalidIntAttr2', 'errorMessage' => 'The specified parameter IntAttr2 is not valid.', 'description' => 'Invalid IntAttr2'],
                    ['errorCode' => 'InvalidStrAttr4', 'errorMessage' => 'The specified parameter StrAttr4 is not valid.', 'description' => 'Invalid StrAttr4'],
                    ['errorCode' => 'InvalidStrAttr3', 'errorMessage' => 'The specified parameter StrAttr3 is not valid.', 'description' => 'Invalid StrAttr3'],
                    ['errorCode' => 'InvalidStrAttr2', 'errorMessage' => 'The specified parameter StrAttr2 is not valid.', 'description' => 'Invalid'],
                    ['errorCode' => 'InvalidStrAttr', 'errorMessage' => 'The specified parameter StrAttr is not valid.', 'description' => 'Invalid StrAttr'],
                    ['errorCode' => 'UnsupportedOperationType', 'errorMessage' => 'The specified action is not supported.', 'description' => ''],
                    ['errorCode' => 'UnsupportedInstanceType', 'errorMessage' => 'The instance type is not supported.', 'description' => ''],
                ],
                403 => [
                    ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
                    ['errorCode' => 'DeniedRequest', 'errorMessage' => 'Your request was denied due to instance flow control.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'UnknownlException', 'errorMessage' => 'An internal server error occurred.', 'description' => ''],
                    ['errorCode' => 'UnknownException', 'errorMessage' => 'An internal server error occurred.', 'description' => ''],
                    ['errorCode' => 'NetworkException', 'errorMessage' => 'A network error occurred.', 'description' => ''],
                    ['errorCode' => 'RequestTimeout', 'errorMessage' => '​The request is timeout.', 'description' => ''],
                    ['errorCode' => 'ExtractFeatureTimeout', 'errorMessage' => 'The request was timed out while extracting features.', 'description' => ''],
                    ['errorCode' => 'AccessEngineFailed', 'errorMessage' => 'An error occurred while accessing the search engine.', 'description' => ''],
                    ['errorCode' => 'InternalOssError', 'errorMessage' => 'An internal OAS error occurred.', 'description' => ''],
                    ['errorCode' => 'InternalSwiftError', 'errorMessage' => 'An internal SWIFT error occurred.', 'description' => ''],
                    ['errorCode' => 'InternalTableStoreError', 'errorMessage' => 'An internal Table Store error occurred.', 'description' => ''],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Message\\": \\"success\\",\\n  \\"RequestId\\": \\"0703956F-9BCC-48FA-99F7-96C0BF449C69\\",\\n  \\"Code\\": 0,\\n  \\"Success\\": true,\\n  \\"Data\\": {\\n    \\"PicNames\\": [\\n      \\"xxx.jpg\\"\\n    ]\\n  }\\n}","type":"json"}]',
            'title' => 'Delete an image',
            'description' => '## Usage notes'."\n"
                .'This operation is used to delete image information from an Image Search instance.'."\n"
                .'>- If the specified image does not exist in the Image Search instance, this operation still returns a success response. Do not use the response to determine whether the image exists.'."\n"
                ."\n"
                .'## QPS limit'."\n"
                .'The default concurrency for delete operations is 20, which means a maximum of 20 delete requests can be processed per second.',
            'extraInfo' => '## Error codes'."\n"
                .'For more information, see [Error codes](~~66619~~).',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteImage'],
                ],
            ],
            'ramActions' => [
                [
                    'operationType' => 'delete',
                    'ramAction' => [
                        'action' => 'imagesearch:DeleteImage',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
        ],
        'Detail' => [
            'summary' => 'This topic describes the syntax and examples of the Detail operation, which queries information about an Image Search instance by name.',
            'methods' => ['post'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'systemTags' => [],
            'parameters' => [
                [
                    'name' => 'InstanceName',
                    'in' => 'query',
                    'schema' => ['description' => 'The name of the Image Search instance. The name can be up to 20 characters in length.'."\n"
                        .'If you have purchased an Image Search instance, log on to the [Image Search console](https://imagesearch.console.aliyun.com/) to view the instance name.'."\n"
                        .'If you have not purchased an Image Search instance, refer to [Activate the service](~~179178~~) and [Create an instance](~~66569~~).'."\n"
                        .'>The instance name is not the instance ID. Instance names must be unique within the same region. Make sure you distinguish between the two.', 'type' => 'string', 'required' => true, 'example' => 'imagesearchName', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'description' => 'The response parameters.',
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '36C43E96-8F68-44AA-B1AF-B1F7AB94A6C1', 'title' => ''],
                            'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                            'Instance' => [
                                'description' => 'The instance information.',
                                'type' => 'object',
                                'properties' => [
                                    'Capacity' => ['description' => 'The maximum image capacity of the plan. Unit: 10,000.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
                                    'UtcExpireTime' => ['description' => 'The time when the instance expires. Unit: milliseconds.', 'type' => 'string', 'example' => '1623081600000', 'title' => ''],
                                    'UtcCreate' => ['description' => 'The creation time of the instance. Unit: milliseconds.', 'type' => 'string', 'example' => '1620382716000', 'title' => ''],
                                    'ServiceType' => ['description' => 'The Image Search model.'."\n"
                                        ."\n"
                                        .'<props="intl">Valid values: 0: product image search. 1: generic image search.</props>'."\n"
                                        .'<props="china">Valid values: 0: product image search. 1: generic image search. 2: fabric search. 3 and 7: trademark search. 4: copyright search. 5: furniture search. 6: hardware search.</props>.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
                                    'Region' => ['description' => 'The region information.', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''],
                                    'Name' => ['description' => 'The instance name.', 'type' => 'string', 'example' => 'imagesearchName', 'title' => ''],
                                    'TotalCount' => ['description' => 'The number of images.', 'type' => 'integer', 'format' => 'int64', 'example' => '10063', 'title' => ''],
                                    'Qps' => ['description' => 'The QPS of the plan.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                        ],
                        'title' => '',
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'DeniedRequest', 'errorMessage' => 'Your request was denied due to instance flow control.', 'description' => ''],
                    ['errorCode' => 'InvalidInstance', 'errorMessage' => 'The specified instance name is invalid.', 'description' => ''],
                    ['errorCode' => 'Console.BadRequest', 'errorMessage' => 'The request has invalid parameters.', 'description' => 'Invalid request. Check the request parameters.'],
                    ['errorCode' => 'Console.InstanceNotFound', 'errorMessage' => 'The specified ImageSearch instance is not found.', 'description' => 'The specified instance ID does not exist. Check the instance ID and try again.'],
                ],
                [
                    ['errorCode' => 'Console.LoginError', 'errorMessage' => 'Check login failed.', 'description' => 'Login failed, please check whether the user name, password and email address are entered incorrectly.'],
                ],
                403 => [
                    ['errorCode' => 'Console.NoPermission', 'errorMessage' => 'You are not authorized to this operation.', 'description' => ''],
                ],
                409 => [
                    ['errorCode' => 'Console.InstanceStatusError', 'errorMessage' => 'Current Instance status not supported this opreate.', 'description' => ''],
                    ['errorCode' => 'Console.OrderStatusError', 'errorMessage' => 'Current Order status not supported this opreate.', 'description' => 'User order error, please confirm that the order is valid'],
                    ['errorCode' => 'Console.IncrementStatusError', 'errorMessage' => 'Current Increment status not supported this opreate.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'Console.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'The server has an internal error. Log on to the Alibaba Cloud console to submit a ticket.'],
                    ['errorCode' => 'Console.CallServiceError', 'errorMessage' => 'Fail to call service.', 'description' => ''],
                ],
            ],
            'title' => 'Query instance status',
            'description' => '## Operation description'."\n"
                .'This operation queries instance information from an Image Search instance.'."\n"
                .'> For more product details or technical support, click [Online Consultation](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2) or contact us through DingTalk group (35035130).'."\n"
                ."\n"
                .'## QPS limit'."\n"
                .'The default concurrency for query operations is 1, which means a maximum of 1 request is processed per second.',
            'extraInfo' => '## Error codes'."\n"
                .'For more information, see [Error codes](~~66619~~).',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [],
            ],
            'ramActions' => [
                [
                    'operationType' => '',
                    'ramAction' => [
                        'action' => 'imagesearch:Detail',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"RequestId\\": \\"36C43E96-8F68-44AA-B1AF-B1F7AB94A6C1\\",\\n  \\"Success\\": true,\\n  \\"Instance\\": {\\n    \\"Capacity\\": 10,\\n    \\"UtcExpireTime\\": \\"1623081600000\\",\\n    \\"UtcCreate\\": \\"1620382716000\\",\\n    \\"ServiceType\\": 0,\\n    \\"Region\\": \\"cn-shanghai\\",\\n    \\"Name\\": \\"imagesearchName\\",\\n    \\"TotalCount\\": 10063,\\n    \\"Qps\\": 1\\n  }\\n}","type":"json"}]',
        ],
        'DumpMeta' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => [],
            'parameters' => [
                [
                    'name' => 'InstanceName',
                    'in' => 'query',
                    'schema' => ['description' => 'The name of the Image Search instance. The name can be up to 20 characters in length.'."\n"
                        .'If you have purchased an Image Search instance, log on to the [Image Search console](https://imagesearch.console.aliyun.com/) to view the instance name.'."\n"
                        .'If you have not purchased an Image Search instance, refer to [Activate the service](~~179178~~) and [Create an instance](~~66569~~).'."\n"
                        .'>The instance name is not the instance ID. Make sure you distinguish between them.', 'type' => 'string', 'required' => true, 'maximum' => '10000000', 'minimum' => '1', 'example' => 'imagesearchName', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'description' => 'The response parameters.',
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '36C43E96-8F68-44AA-B1AF-B1F7AB94A6C1', 'title' => ''],
                            'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                            'Data' => [
                                'description' => 'The returned result of the task execution.',
                                'type' => 'object',
                                'properties' => [
                                    'DumpMetaStatus' => ['description' => 'The status of the metadata export task. Valid values:'."\n"
                                        .'- PROCESSING: The task is being processed.'."\n"
                                        .'- FAIL: The task failed.'."\n"
                                        .'- SUCCESS: The task is completed.', 'type' => 'string', 'example' => 'PROCESSING', 'title' => ''],
                                    'Id' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '500', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                        ],
                        'title' => '',
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'InvalidInstance', 'errorMessage' => 'The specified instance name is invalid.', 'description' => ''],
                    ['errorCode' => 'Console.BadRequest', 'errorMessage' => 'The request has invalid parameters.', 'description' => 'Invalid request. Check the request parameters.'],
                    ['errorCode' => 'Console.InstanceNotFound', 'errorMessage' => 'The specified ImageSearch instance is not found.', 'description' => 'The specified instance ID does not exist. Check the instance ID and try again.'],
                ],
                [
                    ['errorCode' => 'Console.LoginError', 'errorMessage' => 'Check login failed.', 'description' => 'Login failed, please check whether the user name, password and email address are entered incorrectly.'],
                ],
                403 => [
                    ['errorCode' => 'Console.NoPermission', 'errorMessage' => 'You are not authorized to this operation.', 'description' => ''],
                ],
                409 => [
                    ['errorCode' => 'Console.InstanceStatusError', 'errorMessage' => 'Current Instance status not supported this opreate.', 'description' => ''],
                    ['errorCode' => 'Console.OrderStatusError', 'errorMessage' => 'Current Order status not supported this opreate.', 'description' => 'User order error, please confirm that the order is valid'],
                    ['errorCode' => 'Console.IncrementStatusError', 'errorMessage' => 'Current Increment status not supported this opreate.', 'description' => ''],
                    ['errorCode' => 'Console.TaskAlreadyExist', 'errorMessage' => 'A task that is in progress already exists.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'Console.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'The server has an internal error. Log on to the Alibaba Cloud console to submit a ticket.'],
                    ['errorCode' => 'Console.CallServiceError', 'errorMessage' => 'An internal service error occurred.', 'description' => ''],
                ],
            ],
            'title' => 'Export metadata',
            'summary' => 'This topic describes the syntax and examples of the DumpMeta operation, which creates a metadata export task for Image Search by name.',
            'description' => '## Operation description'."\n"
                .'This operation submits a metadata export task to an Image Search instance.'."\n"
                .'> For more product details and technical support, click [Online Consultation](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2) or contact us through DingTalk group (35035130).'."\n"
                ."\n"
                .'## QPS limit'."\n"
                .'The default concurrency for submit operations is 1, which means a maximum of 1 request is processed per second.'."\n"
                .'> You cannot submit a new metadata export task while the previous metadata export task is still in progress.',
            'extraInfo' => '## Error codes'."\n"
                .'For more information, see [Error codes](~~66619~~).',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [],
            ],
            'ramActions' => [
                [
                    'operationType' => '',
                    'ramAction' => [
                        'action' => 'imagesearch:DumpMeta',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"RequestId\\": \\"36C43E96-8F68-44AA-B1AF-B1F7AB94A6C1\\",\\n  \\"Success\\": true,\\n  \\"Data\\": {\\n    \\"DumpMetaStatus\\": \\"PROCESSING\\",\\n    \\"Id\\": \\"500\\"\\n  }\\n}","type":"json"}]',
        ],
        'DumpMetaList' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => [],
            'parameters' => [
                [
                    'name' => 'InstanceName',
                    'in' => 'query',
                    'schema' => ['description' => 'The name of the Image Search instance. The name can be up to 20 characters in length.'."\n"
                        .'If you have purchased an Image Search instance, log on to the [Image Search console](https://imagesearch.console.aliyun.com/) to view the instance name.'."\n"
                        .'If you have not purchased an Image Search instance, refer to [Activate the service](~~179178~~) and [Create an instance](~~66569~~).'."\n"
                        .'>The instance name is not the instance ID. The instance name must be unique within the same region. Make sure you distinguish between the two.', 'type' => 'string', 'required' => true, 'maximum' => '10000000', 'minimum' => '1', 'example' => 'demoinstance1', 'title' => ''],
                ],
                [
                    'name' => 'Id',
                    'in' => 'query',
                    'schema' => ['description' => 'The ID of the metadata export task.'."\n"
                        .'>To obtain the export task ID, call the [metadata export](~~377466~~) operation first and retrieve the ID from the response.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '500', 'title' => ''],
                ],
                [
                    'name' => 'PageSize',
                    'in' => 'query',
                    'schema' => ['description' => 'The number of entries to return. Default value: 10. Maximum value: 30.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'exclusiveMaximum' => true, 'minimum' => '1', 'example' => '10', 'title' => ''],
                ],
                [
                    'name' => 'PageNumber',
                    'in' => 'query',
                    'schema' => ['description' => 'The page number of the returned results. Default value: 1. Maximum value: 30.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'example' => '1', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'description' => 'The response.',
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B3137727-7D6E-488C-BA21-0E034C38A879', 'title' => ''],
                            'Data' => [
                                'description' => 'The metadata export information.',
                                'type' => 'object',
                                'properties' => [
                                    'DumpMetaList' => [
                                        'description' => 'The collection of metadata export tasks.',
                                        'type' => 'array',
                                        'items' => [
                                            'description' => 'The details of a metadata export task.',
                                            'type' => 'object',
                                            'properties' => [
                                                'Status' => ['description' => 'The task status. Valid values:'."\n"
                                                    .'- PROCESSING: The task is being processed.'."\n"
                                                    .'- FAIL: The task failed.'."\n"
                                                    .'- SUCCESS: The task is completed.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''],
                                                'Msg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                                                'UtcModified' => ['description' => 'The time when the task was last updated. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1629095760000', 'title' => ''],
                                                'MetaUrl' => ['description' => 'The URL for downloading the result. The URL is valid for two hours.', 'type' => 'string', 'example' => 'https://imagesearchname.oss-cn-shanghai.aliyuncs.com/xxx', 'title' => ''],
                                                'UtcCreate' => ['description' => 'The time when the task was created. Unit: milliseconds.', 'type' => 'string', 'example' => '1629095713000', 'title' => ''],
                                                'Code' => ['description' => 'The error code. Valid values:'."\n"
                                                    ."\n"
                                                    .'- 0: Succeeded.'."\n"
                                                    .'- Non-zero: Failed.', 'type' => 'string', 'example' => '0', 'title' => ''],
                                                'Id' => ['description' => 'The task ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '500', 'title' => ''],
                                            ],
                                            'title' => '',
                                            'example' => '',
                                        ],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'PageSize' => ['description' => 'The number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
                                    'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
                                    'TotalCount' => ['description' => 'The total number of tasks.', 'type' => 'integer', 'format' => 'int64', 'example' => '15', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                        ],
                        'title' => '',
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'InvalidInstance', 'errorMessage' => 'The specified instance name is invalid.', 'description' => ''],
                    ['errorCode' => 'Console.BadRequest', 'errorMessage' => 'The request has invalid parameters.', 'description' => 'Invalid request. Check the request parameters.'],
                    ['errorCode' => 'Console.InstanceNotFound', 'errorMessage' => 'The specified ImageSearch instance is not found.', 'description' => 'The specified instance ID does not exist. Check the instance ID and try again.'],
                ],
                [
                    ['errorCode' => 'Console.LoginError', 'errorMessage' => 'Check login failed.', 'description' => 'Login failed, please check whether the user name, password and email address are entered incorrectly.'],
                ],
                403 => [
                    ['errorCode' => 'Console.NoPermission', 'errorMessage' => 'You are not authorized to this operation.', 'description' => ''],
                ],
                409 => [
                    ['errorCode' => 'Console.InstanceStatusError', 'errorMessage' => 'Current Instance status not supported this opreate.', 'description' => ''],
                    ['errorCode' => 'Console.OrderStatusError', 'errorMessage' => 'Current Order status not supported this opreate.', 'description' => 'User order error, please confirm that the order is valid'],
                    ['errorCode' => 'Console.IncrementStatusError', 'errorMessage' => 'Current Increment status not supported this opreate.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'Console.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'The server has an internal error. Log on to the Alibaba Cloud console to submit a ticket.'],
                    ['errorCode' => 'Console.CallServiceError', 'errorMessage' => 'An internal service error occurred.', 'description' => ''],
                ],
            ],
            'title' => 'Query metadata export tasks',
            'summary' => 'Describes the syntax and provides examples of the DumpMetaList operation, which queries the list of metadata export tasks in an Image Search instance.',
            'description' => '## Operation description'."\n"
                .'This operation queries metadata export tasks in an Image Search instance.'."\n"
                .'> For more product details and technical support, click [Online Consultation](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2) or contact us through DingTalk group (35035130).'."\n"
                ."\n"
                .'## QPS limit'."\n"
                .'The default concurrency for query operations is 1, which means a maximum of 1 request is processed per second.',
            'extraInfo' => '## Error codes'."\n"
                .'For more information, refer to [Error codes](~~66619~~).',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [],
            ],
            'ramActions' => [
                [
                    'operationType' => '',
                    'ramAction' => [
                        'action' => 'imagesearch:DumpMetaList',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"RequestId\\": \\"B3137727-7D6E-488C-BA21-0E034C38A879\\",\\n  \\"Data\\": {\\n    \\"DumpMetaList\\": [\\n      {\\n        \\"Status\\": \\"SUCCESS\\",\\n        \\"Msg\\": \\"success\\",\\n        \\"UtcModified\\": 1629095760000,\\n        \\"MetaUrl\\": \\"https://imagesearchname.oss-cn-shanghai.aliyuncs.com/xxx\\",\\n        \\"UtcCreate\\": \\"1629095713000\\",\\n        \\"Code\\": \\"0\\",\\n        \\"Id\\": 500\\n      }\\n    ],\\n    \\"PageSize\\": 10,\\n    \\"PageNumber\\": 1,\\n    \\"TotalCount\\": 15\\n  }\\n}","type":"json"}]',
        ],
        'IncreaseInstance' => [
            'summary' => 'Describes the syntax and provides examples of the IncreaseInstance operation, which is used to create a batch task for an Image Search instance by name.',
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'systemTags' => [],
            'parameters' => [
                [
                    'name' => 'InstanceName',
                    'in' => 'query',
                    'schema' => ['description' => 'The name of the Image Search instance. The name can be up to 20 characters in length.'."\n"
                        .'If you have purchased an Image Search instance, log on to the [Image Search console](https://imagesearch.console.aliyun.com/) to view the instance name.'."\n"
                        .'If you have not purchased an Image Search instance, refer to [Activate the service](~~179178~~) and [Create an instance](~~66569~~).'."\n"
                        .'>The instance name is not the instance ID. Make sure that you distinguish between the two.', 'type' => 'string', 'required' => true, 'example' => 'imagesearchName', 'title' => ''],
                ],
                [
                    'name' => 'BucketName',
                    'in' => 'query',
                    'schema' => ['description' => 'The name of the bucket.'."\n"
                        .'> Only a bucket in the same region as the instance is supported.', 'type' => 'string', 'required' => true, 'example' => 'bucketName', 'title' => ''],
                ],
                [
                    'name' => 'Path',
                    'in' => 'query',
                    'schema' => ['description' => 'The absolute path of the increment.meta file in OSS. The path must start with a forward slash (/) and must not end with a forward slash (/).'."\n"
                        .'> Prepare the increment.meta file in advance. For more information, see [Batch operations](~~66580~~).', 'type' => 'string', 'required' => true, 'example' => '/xxx/xxx', 'title' => ''],
                ],
                [
                    'name' => 'CallbackAddress',
                    'in' => 'query',
                    'schema' => ['description' => 'The callback URL of the task.', 'type' => 'string', 'required' => false, 'example' => 'http://xxxxx', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'description' => 'The response parameters.',
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '36C43E96-8F68-44AA-B1AF-B1F7AB94A6C1', 'title' => ''],
                            'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                            'Data' => [
                                'description' => 'The returned result of the task.',
                                'type' => 'object',
                                'properties' => [
                                    'IncrementStatus' => ['description' => 'The status of the batch task. Valid values:'."\n"
                                        .'- PROCESSING: The task is being processed.'."\n"
                                        .'- FAIL: The task failed.'."\n"
                                        .'- SUCCESS: The task is complete.', 'type' => 'string', 'example' => 'PROCESSING', 'title' => ''],
                                    'Id' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '500', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                        ],
                        'title' => '',
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'InvalidInstance', 'errorMessage' => 'The specified instance name is invalid.', 'description' => ''],
                    ['errorCode' => 'Console.BadRequest', 'errorMessage' => 'The request has invalid parameters.', 'description' => 'Invalid request. Check the request parameters.'],
                    ['errorCode' => 'Console.InstanceNotFound', 'errorMessage' => 'The specified ImageSearch instance is not found.', 'description' => 'The specified instance ID does not exist. Check the instance ID and try again.'],
                ],
                [
                    ['errorCode' => 'Console.LoginError', 'errorMessage' => 'Check login failed.', 'description' => 'Login failed, please check whether the user name, password and email address are entered incorrectly.'],
                ],
                403 => [
                    ['errorCode' => 'Console.NoPermission', 'errorMessage' => 'You are not authorized to this operation.', 'description' => ''],
                ],
                409 => [
                    ['errorCode' => 'Console.InstanceStatusError', 'errorMessage' => 'Current Instance status not supported this opreate.', 'description' => ''],
                    ['errorCode' => 'Console.OrderStatusError', 'errorMessage' => 'Current Order status not supported this opreate.', 'description' => 'User order error, please confirm that the order is valid'],
                    ['errorCode' => 'Console.IncrementStatusError', 'errorMessage' => 'Current Increment status not supported this opreate.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'Console.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'The server has an internal error. Log on to the Alibaba Cloud console to submit a ticket.'],
                    ['errorCode' => 'Console.CallServiceError', 'errorMessage' => 'Fail to call service.', 'description' => ''],
                ],
            ],
            'title' => 'Batch operations',
            'description' => '## Operation description'."\n"
                .'This operation is used to submit a batch task to an Image Search instance.'."\n"
                .'> <props="china">For more information about the product or technical support, click [Online Consultation](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2) or contact us by using DingTalk group 35035130.</props>'."\n"
                ."\n"
                .'## QPS limit'."\n"
                .'Only one batch task can run at a time.'."\n"
                .'> You cannot submit a new batch task until the previous batch task is complete.',
            'extraInfo' => '## Error codes'."\n"
                .'For more information, see [Error codes](~~66619~~).',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [],
            ],
            'ramActions' => [
                [
                    'operationType' => '',
                    'ramAction' => [
                        'action' => 'imagesearch:IncreaseInstance',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"RequestId\\": \\"36C43E96-8F68-44AA-B1AF-B1F7AB94A6C1\\",\\n  \\"Success\\": true,\\n  \\"Data\\": {\\n    \\"IncrementStatus\\": \\"PROCESSING\\",\\n    \\"Id\\": \\"500\\"\\n  }\\n}","type":"json"}]',
        ],
        'IncreaseList' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'deprecated' => false,
            'systemTags' => [],
            'parameters' => [
                [
                    'name' => 'InstanceName',
                    'in' => 'query',
                    'schema' => ['description' => 'The name of the Image Search instance. The name can be up to 20 characters in length.'."\n"
                        .'If you have purchased an Image Search instance, log on to the [Image Search console](https://imagesearch.console.aliyun.com/) to view the instance name.'."\n"
                        .'If you have not purchased an Image Search instance, refer to [Activate the service](~~179178~~) and [Create an instance](~~66569~~).'."\n"
                        .'>The instance name is not the instance ID. The instance name must be unique within the same region. Make sure you use the correct value.', 'type' => 'string', 'required' => true, 'example' => 'demoinstance1', 'title' => ''],
                ],
                [
                    'name' => 'Id',
                    'in' => 'query',
                    'schema' => ['description' => 'The batch task ID.'."\n"
                        .'>To obtain the batch task ID, call the [batch operation](~~377468~~) first and retrieve the ID from the response.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '500', 'title' => ''],
                ],
                [
                    'name' => 'BucketName',
                    'in' => 'query',
                    'schema' => ['description' => 'The name of the bucket.', 'type' => 'string', 'required' => false, 'example' => 'bucketName', 'title' => ''],
                ],
                [
                    'name' => 'Path',
                    'in' => 'query',
                    'schema' => ['description' => 'The absolute path of the increment.meta file in OSS. The path must start with a forward slash (/) and must not end with a forward slash (/).', 'type' => 'string', 'required' => false, 'example' => '/xxx/xxx', 'title' => ''],
                ],
                [
                    'name' => 'PageSize',
                    'in' => 'query',
                    'schema' => ['description' => 'The number of entries to return. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'example' => '10', 'title' => ''],
                ],
                [
                    'name' => 'PageNumber',
                    'in' => 'query',
                    'schema' => ['description' => 'The page number of the first page to return. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'exclusiveMaximum' => true, 'minimum' => '1', 'example' => '1', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'description' => 'The response parameters.',
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B3137727-7D6E-488C-BA21-0E034C38A879', 'title' => ''],
                            'Data' => [
                                'description' => 'The batch task information.',
                                'type' => 'object',
                                'properties' => [
                                    'Increments' => [
                                        'type' => 'object',
                                        'itemNode' => true,
                                        'properties' => [
                                            'Instance' => [
                                                'description' => 'The collection of batch tasks.',
                                                'type' => 'array',
                                                'items' => [
                                                    'description' => 'The details of the batch task.',
                                                    'type' => 'object',
                                                    'properties' => [
                                                        'Msg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'sucess', 'title' => ''],
                                                        'Status' => ['description' => 'The task status. Valid values:'."\n"
                                                            .'- PROCESSING: The task is being processed.'."\n"
                                                            .'- FAIL: The task failed.'."\n"
                                                            .'- SUCCESS: The task is completed.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''],
                                                        'UtcModified' => ['description' => 'The time when the task was last updated. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1629095760000', 'title' => ''],
                                                        'BucketName' => ['description' => 'The name of the bucket.', 'type' => 'string', 'example' => 'bucketName', 'title' => ''],
                                                        'UtcCreate' => ['description' => 'The time when the task was created. Unit: milliseconds.', 'type' => 'string', 'example' => '1629095713000', 'title' => ''],
                                                        'Code' => ['description' => 'The error code. Valid values:'."\n"
                                                            ."\n"
                                                            .'- 0: successful.'."\n"
                                                            .'- Non-zero: failed.', 'type' => 'string', 'example' => '0', 'title' => ''],
                                                        'Path' => ['description' => 'The absolute path of the increment.meta file in OSS. The path must start with a forward slash (/) and must not end with a forward slash (/).', 'type' => 'string', 'example' => '/xx/xx', 'title' => ''],
                                                        'ErrorUrl' => ['description' => 'The URL for downloading the result. The URL is valid for two hours.', 'type' => 'string', 'example' => 'https://imagesearchname.oss-cn-shanghai.aliyuncs.com/xxx', 'title' => ''],
                                                        'Id' => ['description' => 'The task ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '500', 'title' => ''],
                                                        'CallbackAddress' => ['description' => 'The callback URL of the task.', 'type' => 'string', 'example' => 'http://xxxxx', 'title' => ''],
                                                    ],
                                                    'title' => '',
                                                    'example' => '',
                                                ],
                                                'title' => '',
                                                'example' => '',
                                            ],
                                        ],
                                        'description' => '',
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'PageSize' => ['description' => 'The number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
                                    'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
                                    'TotalCount' => ['description' => 'The total number of tasks.', 'type' => 'integer', 'format' => 'int64', 'example' => '15', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                        ],
                        'title' => '',
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'InvalidInstance', 'errorMessage' => 'The specified instance name is invalid.', 'description' => ''],
                    ['errorCode' => 'Console.BadRequest', 'errorMessage' => 'The request has invalid parameters.', 'description' => 'Invalid request. Check the request parameters.'],
                    ['errorCode' => 'Console.InstanceNotFound', 'errorMessage' => 'The specified ImageSearch instance is not found.', 'description' => 'The specified instance ID does not exist. Check the instance ID and try again.'],
                ],
                [
                    ['errorCode' => 'Console.LoginError', 'errorMessage' => 'Check login failed.', 'description' => 'Login failed, please check whether the user name, password and email address are entered incorrectly.'],
                ],
                403 => [
                    ['errorCode' => 'Console.NoPermission', 'errorMessage' => 'You are not authorized to this operation.', 'description' => ''],
                ],
                409 => [
                    ['errorCode' => 'Console.InstanceStatusError', 'errorMessage' => 'Current Instance status not supported this opreate.', 'description' => ''],
                    ['errorCode' => 'Console.OrderStatusError', 'errorMessage' => 'Current Order status not supported this opreate.', 'description' => 'User order error, please confirm that the order is valid'],
                    ['errorCode' => 'Console.IncrementStatusError', 'errorMessage' => 'Current Increment status not supported this opreate.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'Console.InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'The server has an internal error. Log on to the Alibaba Cloud console to submit a ticket.'],
                    ['errorCode' => 'Console.CallServiceError', 'errorMessage' => 'Fail to call service.', 'description' => ''],
                ],
            ],
            'title' => 'List batch tasks',
            'summary' => 'Queries the list of batch tasks in an Image Search instance by calling the IncreaseList operation. This topic describes the syntax and provides examples.',
            'description' => '## Operation description'."\n"
                .'This operation is used to query batch tasks in an Image Search instance.'."\n"
                .'> For more product details or technical support, click [Online Consultation](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2) or contact us through DingTalk group (35035130).'."\n"
                ."\n"
                .'## QPS limit'."\n"
                .'The default concurrency for query operations is 1, which means a maximum of 1 request is processed per second.',
            'extraInfo' => '## Error codes'."\n"
                .'For more information, see [Error codes](~~66619~~).',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [],
            ],
            'ramActions' => [
                [
                    'operationType' => '',
                    'ramAction' => [
                        'action' => 'imagesearch:IncreaseList',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"RequestId\\": \\"B3137727-7D6E-488C-BA21-0E034C38A879\\",\\n  \\"Data\\": {\\n    \\"Increments\\": {\\n      \\"Instance\\": [\\n        {\\n          \\"Msg\\": \\"sucess\\",\\n          \\"Status\\": \\"SUCCESS\\",\\n          \\"UtcModified\\": 1629095760000,\\n          \\"BucketName\\": \\"bucketName\\",\\n          \\"UtcCreate\\": \\"1629095713000\\",\\n          \\"Code\\": \\"0\\",\\n          \\"Path\\": \\"/xx/xx\\",\\n          \\"ErrorUrl\\": \\"https://imagesearchname.oss-cn-shanghai.aliyuncs.com/xxx\\",\\n          \\"Id\\": 500,\\n          \\"CallbackAddress\\": \\"http://xxxxx\\"\\n        }\\n      ]\\n    },\\n    \\"PageSize\\": 10,\\n    \\"PageNumber\\": 1,\\n    \\"TotalCount\\": 15\\n  }\\n}","type":"json"}]',
        ],
        'SearchImageByFilter' => [
            'summary' => 'This topic describes the syntax and examples of SearchImageByFilter, which is used to query image information in an Image Search instance based on filter conditions.',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => [
                'operationType' => 'get',
                'riskType' => 'none',
                'chargeType' => 'free',
                'abilityTreeNodes' => ['FEATUREimagesearchF4L5JA'],
            ],
            'parameters' => [
                [
                    'name' => 'InstanceName',
                    'in' => 'formData',
                    'schema' => ['description' => 'The name of the Image Search instance. The name can be up to 20 characters in length.'."\n"
                        .'If you have purchased an Image Search instance, you can log on to the [Image Search console](https://imagesearch.console.aliyun.com/) to view the instance name.'."\n"
                        .'If you have not purchased an Image Search instance, see [Activate the service](~~179178~~) and [Create an instance](~~66569~~).'."\n"
                        .'>The instance name is not the instance ID. Make sure that you can distinguish between them.', 'type' => 'string', 'required' => true, 'example' => 'demoinstance1', 'title' => ''],
                ],
                [
                    'name' => 'Num',
                    'in' => 'formData',
                    'schema' => ['description' => 'The number of results to return. Valid values: 1 to 100. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '10', 'example' => '10', 'title' => ''],
                ],
                [
                    'name' => 'Start',
                    'in' => 'formData',
                    'schema' => ['description' => 'The start position of the results to return. Valid values: 0 to 499. Default value: 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '499', 'minimum' => '0', 'default' => '0', 'example' => '0', 'title' => ''],
                ],
                [
                    'name' => 'Filter',
                    'in' => 'formData',
                    'schema' => ['description' => 'The filter conditions. The operators supported by int_attr include in, not in, greater-than sign (>), greater-than-or-equal-to sign (>=), less-than sign (<), less-than-or-equal-to sign (<=), and equal sign (=). The operators supported by str_attr include in, not in, equal sign (=), and not-equal sign (!=). Multiple conditions can be connected by using AND and OR.'."\n"
                        .'Examples:'."\n"
                        .'- int_attr >= 100.'."\n"
                        .'- str_attr != "value1".'."\n"
                        .'- int_attr = 1000 AND str_attr = "value1".'."\n"
                        ."\n"
                        .'>A maximum of 4,096 characters are supported.', 'type' => 'string', 'required' => true, 'example' => 'int_attr=1000 AND str_attr="value1"', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'description' => 'The response parameters.',
                        'type' => 'object',
                        'properties' => [
                            'Msg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                            'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B3137727-7D6E-488C-BA21-0E034C38A879', 'title' => ''],
                            'Auctions' => [
                                'description' => 'The description of all returned items.',
                                'type' => 'array',
                                'items' => [
                                    'description' => 'The image parameters.',
                                    'type' => 'object',
                                    'properties' => [
                                        'ProductId' => ['description' => 'The product ID.', 'type' => 'string', 'example' => '2092061_1', 'title' => ''],
                                        'PicName' => ['description' => 'The image name.', 'type' => 'string', 'example' => '2092061_1.jpg', 'title' => ''],
                                        'CategoryId' => ['description' => 'The image category.', 'type' => 'integer', 'format' => 'int32', 'example' => '8888888', 'title' => ''],
                                        'CustomContent' => ['description' => 'The user-defined content.', 'type' => 'string', 'example' => 'zidingyi', 'title' => ''],
                                        'IntAttr' => ['description' => 'The integer type attribute.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
                                        'IntAttr2' => ['description' => 'The integer type attribute.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
                                        'StrAttr2' => ['description' => 'The string type attribute.', 'type' => 'string', 'example' => 'test', 'title' => ''],
                                        'StrAttr' => ['description' => 'The string type attribute.', 'type' => 'string', 'example' => 'test', 'title' => ''],
                                        'StrAttr3' => ['description' => 'The string type attribute.', 'type' => 'string', 'example' => 'test', 'title' => ''],
                                        'StrAttr4' => ['description' => 'The string type attribute.', 'type' => 'string', 'example' => 'test', 'title' => ''],
                                        'IntAttr3' => ['description' => 'The integer type attribute.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
                                        'IntAttr4' => ['description' => 'The integer type attribute.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
                                    ],
                                    'title' => '',
                                    'example' => '',
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'Code' => ['description' => 'The error code.'."\n"
                                .'- 0: successful.'."\n"
                                .'- Non-zero: failed.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
                            'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                        ],
                        'title' => '',
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'BadRequest', 'errorMessage' => 'The request has invalid parameters.', 'description' => ''],
                    ['errorCode' => 'InstanceStatusError', 'errorMessage' => 'Your instance is unavailable.', 'description' => ''],
                    ['errorCode' => 'TimeoutForTransferImage', 'errorMessage' => 'Timeout after 5 seconds waiting for images transfer to complete.', 'description' => ''],
                    ['errorCode' => 'InvalidInstance', 'errorMessage' => 'The specified instance name is invalid.', 'description' => ''],
                    ['errorCode' => 'NoCaretSeperator', 'errorMessage' => 'The body content is missing the ^ separator.', 'description' => ''],
                    ['errorCode' => 'EmptyMeta', 'errorMessage' => 'The body content has an empty meta field.', 'description' => ''],
                    ['errorCode' => 'InvalidMetaItem', 'errorMessage' => 'The meta field is invalid.', 'description' => ''],
                    ['errorCode' => 'NoPicList', 'errorMessage' => 'The body content is missing the pic_list parameter.', 'description' => ''],
                    ['errorCode' => 'InvalidPicList', 'errorMessage' => 'The specified pic_list parameter is invalid.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPic', 'errorMessage' => 'he content of an image is not specified in the HTTP POST body.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedSearchPic', 'errorMessage' => 'The search image is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidCategory', 'errorMessage' => 'The specified category is invalid.', 'description' => ''],
                    ['errorCode' => 'OverflowMaxResultNum', 'errorMessage' => 'The specified number of total results exceeds the maximum of 500.', 'description' => ''],
                    ['errorCode' => 'OverflowMaxReturnNum', 'errorMessage' => 'The specified number of results for each request exceeds the maximum of 100.', 'description' => ''],
                    ['errorCode' => 'InvalidStartParameter', 'errorMessage' => 'The specified parameter start is inavlid.', 'description' => ''],
                    ['errorCode' => 'InvalidNumParameter', 'errorMessage' => 'The specified parameter num is invalid.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedAddPic', 'errorMessage' => 'The image to insert is not specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedItemId', 'errorMessage' => 'The item_id parameter is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidIntAttr', 'errorMessage' => 'The specified int_attr field is invalid.', 'description' => ''],
                    ['errorCode' => 'UnsupportedPicFormat', 'errorMessage' => 'The specified image format is invalid.', 'description' => ''],
                    ['errorCode' => 'InvalidFilterClause', 'errorMessage' => 'The specified filtering condition is invalid.', 'description' => ''],
                    ['errorCode' => 'InstanceOverQuota', 'errorMessage' => 'The number of items exceeds the limit.', 'description' => ''],
                    ['errorCode' => 'IncorrectOrientation', 'errorMessage' => 'The image contains incorrect rotation flags in the meta data.', 'description' => ''],
                    ['errorCode' => 'UnsupportedPicPixels', 'errorMessage' => 'The specified pixels is not supported.', 'description' => ''],
                    ['errorCode' => 'SearchTimeout', 'errorMessage' => 'The request is timed out.', 'description' => ''],
                    ['errorCode' => 'PicNotExist', 'errorMessage' => 'The search picture does not exist.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedProductId', 'errorMessage' => 'The parameter ProductId no specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPicName', 'errorMessage' => 'The parameter PicName no specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPicContent', 'errorMessage' => 'The parameter PicContent no specified.', 'description' => ''],
                    ['errorCode' => 'InvalidType', 'errorMessage' => 'The specified parameter Type is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidProductId', 'errorMessage' => 'The specified parameter ProductId is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidPicName', 'errorMessage' => 'The specified parameter PicName is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidStrAttr', 'errorMessage' => 'The specified parameter StrAttr is not valid.', 'description' => 'Invalid StrAttr'],
                    ['errorCode' => 'InvalidCustomContent', 'errorMessage' => 'The specified parameter CustomContent is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidPicContent', 'errorMessage' => 'The specified parameter PicContent length greater than 4 * 1024 * 1024.', 'description' => ''],
                    ['errorCode' => 'InvalidPicUrl', 'errorMessage' => 'The search picture does not exist at the specific url.', 'description' => ''],
                    ['errorCode' => 'InvalidInstanceName', 'errorMessage' => 'The parameter instanceName is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidRequestId', 'errorMessage' => 'The parameter requestId is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidRequestIdTooLarge', 'errorMessage' => 'The parameter requestId is too large.', 'description' => ''],
                    ['errorCode' => 'InvalidRegion', 'errorMessage' => 'The specific region is illegal', 'description' => ''],
                    ['errorCode' => 'InvalidIntAttr4', 'errorMessage' => 'The specified parameter IntAttr4 is not valid.', 'description' => 'Invalid'],
                    ['errorCode' => 'InvalidIntAttr3', 'errorMessage' => 'The specified parameter IntAttr3 is not valid.', 'description' => 'Invalid IntAttr3'],
                    ['errorCode' => 'InvalidIntAttr2', 'errorMessage' => 'The specified parameter IntAttr2 is not valid.', 'description' => 'Invalid IntAttr2'],
                    ['errorCode' => 'InvalidStrAttr4', 'errorMessage' => 'The specified parameter StrAttr4 is not valid.', 'description' => 'Invalid StrAttr4'],
                    ['errorCode' => 'InvalidStrAttr3', 'errorMessage' => 'The specified parameter StrAttr3 is not valid.', 'description' => 'Invalid StrAttr3'],
                    ['errorCode' => 'InvalidStrAttr2', 'errorMessage' => 'The specified parameter StrAttr2 is not valid.', 'description' => 'Invalid'],
                    ['errorCode' => 'PictureError', 'errorMessage' => '[download] Img Download Failed.', 'description' => 'Picture download failed, please check the picture'],
                    ['errorCode' => 'UnsupportedOperationType', 'errorMessage' => 'The specified action is not supported.', 'description' => ''],
                    ['errorCode' => 'UnsupportedInstanceType', 'errorMessage' => 'The instance type is not supported.', 'description' => ''],
                ],
                403 => [
                    ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
                    ['errorCode' => 'DeniedRequest', 'errorMessage' => 'Your request was denied due to instance flow control.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'UnknownException', 'errorMessage' => 'An internal server error occurred.', 'description' => ''],
                    ['errorCode' => 'NetworkException', 'errorMessage' => 'A network error occurred.', 'description' => ''],
                    ['errorCode' => 'RequestTimeout', 'errorMessage' => '​The request is timeout.', 'description' => ''],
                    ['errorCode' => 'ExtractFeatureTimeout', 'errorMessage' => 'The request was timed out while extracting features.', 'description' => ''],
                    ['errorCode' => 'AccessEngineFailed', 'errorMessage' => 'An error occurred while accessing the search engine.', 'description' => ''],
                    ['errorCode' => 'InternalOssError', 'errorMessage' => 'An internal OAS error occurred.', 'description' => ''],
                    ['errorCode' => 'InternalSwiftError', 'errorMessage' => 'An internal SWIFT error occurred.', 'description' => ''],
                    ['errorCode' => 'InternalTableStoreError', 'errorMessage' => 'An internal Table Store error occurred.', 'description' => ''],
                    ['errorCode' => 'ConnectionDVException', 'errorMessage' => 'Failed to obtain collection.', 'description' => 'internalError'],
                ],
            ],
            'title' => 'Query images by filter conditions',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [],
            ],
            'ramActions' => [],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Msg\\": \\"success\\",\\n  \\"RequestId\\": \\"B3137727-7D6E-488C-BA21-0E034C38A879\\",\\n  \\"Auctions\\": [\\n    {\\n      \\"ProductId\\": \\"2092061_1\\",\\n      \\"PicName\\": \\"2092061_1.jpg\\",\\n      \\"CategoryId\\": 8888888,\\n      \\"CustomContent\\": \\"zidingyi\\",\\n      \\"IntAttr\\": 2,\\n      \\"IntAttr2\\": 2,\\n      \\"StrAttr2\\": \\"test\\",\\n      \\"StrAttr\\": \\"test\\",\\n      \\"StrAttr3\\": \\"test\\",\\n      \\"StrAttr4\\": \\"test\\",\\n      \\"IntAttr3\\": 2,\\n      \\"IntAttr4\\": 2\\n    }\\n  ],\\n  \\"Code\\": 0,\\n  \\"Success\\": true\\n}","type":"json"}]',
        ],
        'SearchImageByName' => [
            'methods' => ['post'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => [
                'operationType' => 'get',
                'riskType' => 'none',
                'chargeType' => 'free',
                'abilityTreeNodes' => ['FEATUREimagesearchF4L5JA'],
            ],
            'parameters' => [
                [
                    'name' => 'InstanceName',
                    'in' => 'formData',
                    'schema' => ['description' => 'The name of the Image Search instance. The name can be up to 20 characters in length.'."\n"
                        .'If you have purchased an Image Search instance, log on to the [Image Search console](https://imagesearch.console.aliyun.com/) to view the instance name.'."\n"
                        .'If you have not purchased an Image Search instance, refer to [Activate the service](~~179178~~) and [Create an instance](~~66569~~).'."\n"
                        .'>The instance name is not the instance ID. Make sure you distinguish between them.', 'type' => 'string', 'required' => true, 'example' => 'demoinstance1', 'title' => ''],
                ],
                [
                    'name' => 'ProductId',
                    'in' => 'formData',
                    'schema' => ['description' => 'The product ID.', 'type' => 'string', 'required' => true, 'isFileTransferUrl' => false, 'example' => '2092061_1', 'title' => ''],
                ],
                [
                    'name' => 'PicName',
                    'in' => 'formData',
                    'schema' => ['description' => 'The image name.', 'type' => 'string', 'required' => true, 'example' => '2092061_1.jpg', 'title' => ''],
                ],
                [
                    'name' => 'CategoryId',
                    'in' => 'formData',
                    'schema' => [
                        'description' => 'The product category. For more information, see [Category reference](~~179184~~).'."\n"
                            .' - For product image search, if you specify a category, the specified category is used. If you do not specify a category, the system predicts the category. You can obtain the predicted category from the response.'."\n"
                            .'<props="china">'."\n"
                            .' - For fabric, trademark, generic, home furnishing, and industrial hardware searches, the system sets the category to 88888888 regardless of whether you specify a category.'."\n"
                            .'</props>'."\n"
                            .'<props="intl">'."\n"
                            .'- For generic image search, the system sets the category to 88888888 regardless of whether you specify a category.</props>.',
                        'type' => 'integer',
                        'format' => 'int32',
                        'required' => false,
                        'maximum' => '88888888',
                        'minimum' => '0',
                        'enum' => ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '20', '21', '22', '88888888'],
                        'example' => '88888888',
                        'title' => '',
                    ],
                ],
                [
                    'name' => 'Num',
                    'in' => 'formData',
                    'schema' => ['description' => 'The number of results to return. Valid values: 1 to 100. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '10', 'example' => '10', 'title' => ''],
                ],
                [
                    'name' => 'Start',
                    'in' => 'formData',
                    'schema' => [
                        'description' => 'The start position of the results to return. Valid values: 0 to 499. Default value: 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '499', 'exclusiveMaximum' => false, 'minimum' => '0', 'exclusiveMinimum' => false, 'default' => '0', 'example' => '0',
                        'title' => '',
                    ],
                ],
                [
                    'name' => 'Filter',
                    'in' => 'formData',
                    'schema' => ['description' => 'The filter condition. The int_attr field supports the following operators: in, not in, greater than (>), greater than or equal to (>=), less than (<), less than or equal to (<=), and equal to (=). The str_attr field supports the following operators: in, not in, equal to (=), and not equal to (!=). Multiple conditions can be connected by using AND and OR.'."\n"
                        .'Examples:'."\n"
                        .'- int_attr>=100.'."\n"
                        .'- str_attr!="value1".'."\n"
                        .'- int_attr=1000 AND str_attr="value1".'."\n"
                        ."\n"
                        .'>The maximum length is 4,096 characters.', 'type' => 'string', 'required' => false, 'example' => 'int_attr>=100', 'title' => ''],
                ],
                [
                    'name' => 'DistinctProductId',
                    'in' => 'formData',
                    'schema' => ['description' => 'Specifies whether to deduplicate results based on ProductId.'."\n"
                        .'> Set this parameter to true to enable deduplication.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
                ],
                [
                    'name' => 'ScoreThreshold',
                    'in' => 'query',
                    'schema' => ['description' => 'The similarity score threshold. If you specify this parameter, only images with a similarity score greater than or equal to the threshold are returned. Valid values: 0.00 to 1.00. Up to two decimal places are supported. Default value: 0.00.', 'type' => 'string', 'required' => false, 'example' => '0.50', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'description' => 'The response.',
                        'type' => 'object',
                        'properties' => [
                            'Msg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                            'Head' => [
                                'description' => 'The overview of the search results.',
                                'type' => 'object',
                                'properties' => [
                                    'DocsFound' => ['description' => 'The number of results returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
                                    'DocsReturn' => ['description' => 'The number of matched results in the instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '10000', 'title' => ''],
                                    'SearchTime' => ['description' => 'The search duration, in milliseconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '95', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '36C43E96-8F68-44AA-B1AF-B1F7AB94A6C1', 'title' => ''],
                            'Auctions' => [
                                'description' => 'The descriptions of all returned products.',
                                'type' => 'array',
                                'items' => [
                                    'description' => 'The image parameters.',
                                    'type' => 'object',
                                    'properties' => [
                                        'ProductId' => ['description' => 'The product ID.', 'type' => 'string', 'example' => '2092061_1', 'title' => ''],
                                        'PicName' => ['description' => 'The image name.', 'type' => 'string', 'example' => '2092061_1.jpg', 'title' => ''],
                                        'CategoryId' => ['description' => 'The image category.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
                                        'SortExprValues' => ['description' => 'The system scoring information.'."\n"
                                            .'> - This field is deprecated. Use Score instead.'."\n"
                                            .'- SortExprValues is a semicolon-separated pair. The first value indicates the relevance score of the image. A higher value indicates higher relevance to the query image. The scoring varies depending on the algorithm model.'."\n"
                                            .'- When the category is 0 to 2, the value range of SortExprValues is 0 to 7.33136443711219e+24.'."\n"
                                            .'- For other category values, the value range of SortExprValues is 0 to 5.37633353624177e+24. This score reaches its maximum when two images are identical.', 'type' => 'string', 'example' => '5.37633353624177e+24;0', 'title' => ''],
                                        'CustomContent' => ['description' => 'The custom content defined by the user.', 'type' => 'string', 'example' => 'zidingyi', 'title' => ''],
                                        'Score' => ['description' => 'The image similarity score. Valid values: 0 to 1.'."\n"
                                            .'> You must upgrade to V3.1.1 or later to use this field.', 'type' => 'number', 'format' => 'float', 'example' => '1', 'title' => ''],
                                        'IntAttr' => ['description' => 'The integer attribute.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
                                        'IntAttr2' => ['description' => 'The integer attribute.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
                                        'StrAttr' => ['description' => 'The string attribute.', 'type' => 'string', 'example' => 'ss', 'title' => ''],
                                        'StrAttr2' => ['description' => 'The string attribute.', 'type' => 'string', 'example' => 'test', 'title' => ''],
                                        'StrAttr3' => ['description' => 'The string attribute. The maximum length is 128 characters. This field can be used for filtering during queries and is returned in query results.', 'type' => 'string', 'example' => 'test', 'title' => ''],
                                        'StrAttr4' => ['description' => 'The string attribute. The maximum length is 128 characters. This field can be used for filtering during queries and is returned in query results.', 'type' => 'string', 'example' => 'test', 'title' => ''],
                                        'IntAttr3' => ['description' => 'The integer attribute. This field can be used for filtering during queries and is returned in query results.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
                                        'IntAttr4' => ['description' => 'The integer attribute. This field can be used for filtering during queries and is returned in query results.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
                                    ],
                                    'title' => '',
                                    'example' => '',
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'Code' => ['description' => 'The error code. Valid values:'."\n"
                                .'- 0: success.'."\n"
                                .'- Non-zero: failure.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
                            'PicInfo' => [
                                'description' => 'The information such as category prediction and subject identification results.',
                                'type' => 'object',
                                'properties' => [
                                    'Region' => ['description' => 'The subject identification result.'."\n"
                                        .'The subject region of the image, in the format of x1,x2,y1,y2, where x1,y1 is the upper-left point and x2,y2 is the lower-right point. If the user specifies a subject region in the request, the specified region is used.', 'type' => 'string', 'example' => '280,486,232,351', 'title' => ''],
                                    'CategoryId' => ['description' => 'The category prediction result.'."\n"
                                        .'If the user specifies a category in the request, the specified category is used.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
                                    'MultiRegion' => [
                                        'description' => 'The subject identification collection.',
                                        'type' => 'array',
                                        'items' => [
                                            'description' => 'The subject collection.',
                                            'type' => 'object',
                                            'properties' => [
                                                'Region' => ['description' => 'The subject identification result.'."\n"
                                                    .'The subject region of the image, in the format of x1,x2,y1,y2, where x1,y1 is the upper-left point and x2,y2 is the lower-right point. If the user specifies a subject region in the request, the specified region is used.', 'type' => 'string', 'example' => '280,486,232,351', 'title' => ''],
                                            ],
                                            'title' => '',
                                            'example' => '',
                                        ],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'AllCategories' => [
                                        'description' => 'The information about all categories supported by the system.',
                                        'type' => 'array',
                                        'items' => [
                                            'description' => 'The category information.',
                                            'type' => 'object',
                                            'properties' => [
                                                'Name' => ['description' => 'The category name.', 'type' => 'string', 'example' => 'other', 'title' => ''],
                                                'Id' => ['description' => 'The category ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '88888888', 'title' => ''],
                                            ],
                                            'title' => '',
                                            'example' => '',
                                        ],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                        ],
                        'title' => '',
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'BadRequest', 'errorMessage' => 'The request has invalid parameters.', 'description' => ''],
                    ['errorCode' => 'InstanceStatusError', 'errorMessage' => 'Your instance is unavailable.', 'description' => ''],
                    ['errorCode' => 'TimeoutForTransferImage', 'errorMessage' => 'Timeout after 5 seconds waiting for images transfer to complete.', 'description' => ''],
                    ['errorCode' => 'InvalidInstance', 'errorMessage' => 'The specified instance name is invalid.', 'description' => ''],
                    ['errorCode' => 'NoCaretSeperator', 'errorMessage' => 'The body content is missing the ^ separator.', 'description' => ''],
                    ['errorCode' => 'EmptyMeta', 'errorMessage' => 'The body content has an empty meta field.', 'description' => ''],
                    ['errorCode' => 'InvalidMetaItem', 'errorMessage' => 'The meta field is invalid.', 'description' => ''],
                    ['errorCode' => 'NoPicList', 'errorMessage' => 'The body content is missing the pic_list parameter.', 'description' => ''],
                    ['errorCode' => 'InvalidPicList', 'errorMessage' => 'The specified pic_list parameter is invalid.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPic', 'errorMessage' => 'he content of an image is not specified in the HTTP POST body.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedSearchPic', 'errorMessage' => 'The search image is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidCategory', 'errorMessage' => 'The specified category is invalid.', 'description' => ''],
                    ['errorCode' => 'OverflowMaxResultNum', 'errorMessage' => 'The specified number of total results exceeds the maximum of 500.', 'description' => ''],
                    ['errorCode' => 'OverflowMaxReturnNum', 'errorMessage' => 'The specified number of results for each request exceeds the maximum of 100.', 'description' => ''],
                    ['errorCode' => 'InvalidStartParameter', 'errorMessage' => 'The specified parameter start is inavlid.', 'description' => ''],
                    ['errorCode' => 'InvalidNumParameter', 'errorMessage' => 'The specified parameter num is invalid.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedAddPic', 'errorMessage' => 'The image to insert is not specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedItemId', 'errorMessage' => 'The item_id parameter is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidIntAttr', 'errorMessage' => 'The specified int_attr field is invalid.', 'description' => ''],
                    ['errorCode' => 'UnsupportedPicFormat', 'errorMessage' => 'The specified image format is invalid.', 'description' => ''],
                    ['errorCode' => 'InvalidFilterClause', 'errorMessage' => 'The specified filtering condition is invalid.', 'description' => ''],
                    ['errorCode' => 'InstanceOverQuota', 'errorMessage' => 'The number of items exceeds the limit.', 'description' => ''],
                    ['errorCode' => 'IncorrectOrientation', 'errorMessage' => 'The image contains incorrect rotation flags in the meta data.', 'description' => ''],
                    ['errorCode' => 'UnsupportedPicPixels', 'errorMessage' => 'The specified pixels is not supported.', 'description' => ''],
                    ['errorCode' => 'SearchTimeout', 'errorMessage' => 'The request is timed out.', 'description' => ''],
                    ['errorCode' => 'PicNotExist', 'errorMessage' => 'The search picture does not exist.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedProductId', 'errorMessage' => 'The parameter ProductId no specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPicName', 'errorMessage' => 'The parameter PicName no specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPicContent', 'errorMessage' => 'The parameter PicContent no specified.', 'description' => ''],
                    ['errorCode' => 'InvalidType', 'errorMessage' => 'The specified parameter Type is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidProductId', 'errorMessage' => 'The specified parameter ProductId is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidPicName', 'errorMessage' => 'The specified parameter PicName is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidStrAttr', 'errorMessage' => 'The specified parameter StrAttr is not valid.', 'description' => 'Invalid StrAttr'],
                    ['errorCode' => 'InvalidCustomContent', 'errorMessage' => 'The specified parameter CustomContent is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidPicContent', 'errorMessage' => 'The specified parameter PicContent length greater than 2 * 1024 * 1024.', 'description' => ''],
                    ['errorCode' => 'InvalidStrAttr4', 'errorMessage' => 'The specified parameter StrAttr4 is not valid.', 'description' => 'Invalid StrAttr4'],
                    ['errorCode' => 'InvalidStrAttr3', 'errorMessage' => 'The specified parameter StrAttr3 is not valid.', 'description' => 'Invalid StrAttr3'],
                    ['errorCode' => 'InvalidStrAttr2', 'errorMessage' => 'The specified parameter StrAttr2 is not valid.', 'description' => 'Invalid'],
                    ['errorCode' => 'InvalidIntAttr4', 'errorMessage' => 'The specified parameter IntAttr4 is not valid.', 'description' => 'Invalid'],
                    ['errorCode' => 'InvalidIntAttr3', 'errorMessage' => 'The specified parameter IntAttr3 is not valid.', 'description' => 'Invalid IntAttr3'],
                    ['errorCode' => 'InvalidIntAttr2', 'errorMessage' => 'The specified parameter IntAttr2 is not valid.', 'description' => 'Invalid IntAttr2'],
                    ['errorCode' => 'UnsupportedOperationType', 'errorMessage' => 'The specified action is not supported.', 'description' => ''],
                    ['errorCode' => 'UnsupportedInstanceType', 'errorMessage' => 'The instance type is not supported.', 'description' => ''],
                ],
                403 => [
                    ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
                    ['errorCode' => 'DeniedRequest', 'errorMessage' => 'Your request was denied due to instance flow control.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'InternalError', 'errorMessage' => 'An internal server error occurred.', 'description' => ''],
                    ['errorCode' => 'NetworkException', 'errorMessage' => 'A network error occurred.', 'description' => ''],
                    ['errorCode' => 'RequestTimeout', 'errorMessage' => '​The request is timeout.', 'description' => ''],
                    ['errorCode' => 'ExtractFeatureTimeout', 'errorMessage' => 'The request was timed out while extracting features.', 'description' => ''],
                    ['errorCode' => 'AccessEngineFailed', 'errorMessage' => 'An error occurred while accessing the search engine.', 'description' => ''],
                    ['errorCode' => 'InternalOssError', 'errorMessage' => 'An internal OAS error occurred.', 'description' => ''],
                    ['errorCode' => 'InternalSwiftError', 'errorMessage' => 'An internal SWIFT error occurred.', 'description' => ''],
                    ['errorCode' => 'InternalTableStoreError', 'errorMessage' => 'An internal Table Store error occurred.', 'description' => ''],
                ],
            ],
            'title' => 'Search images by name',
            'summary' => 'This topic describes the syntax and examples of the SearchByName operation, which is used to query image information in an Image Search instance by name.',
            'description' => '### Operation description'."\n"
                .'This operation queries image information in an Image Search instance by name (ProductId and PicName).'."\n"
                ."\n"
                .'> For more product details and technical support, click [Online Consultation](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2) or contact us through DingTalk group (35035130).'."\n"
                ."\n\n"
                .'### QPS limit'."\n"
                .'The default maximum query rate can be viewed in the console. It is the QPS value you selected at the time of purchase. Currently supported values are 1 QPS, 5 QPS, and 10 QPS.',
            'extraInfo' => '### Error codes'."\n"
                .'For more information, see [Error codes](~~66619~~).',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchImageByName'],
                ],
            ],
            'ramActions' => [
                [
                    'operationType' => 'get',
                    'ramAction' => [
                        'action' => 'imagesearch:SearchImageByName',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Msg\\": \\"success\\",\\n  \\"Head\\": {\\n    \\"DocsFound\\": 10,\\n    \\"DocsReturn\\": 10000,\\n    \\"SearchTime\\": 95\\n  },\\n  \\"RequestId\\": \\"36C43E96-8F68-44AA-B1AF-B1F7AB94A6C1\\",\\n  \\"Auctions\\": [\\n    {\\n      \\"ProductId\\": \\"2092061_1\\",\\n      \\"PicName\\": \\"2092061_1.jpg\\",\\n      \\"CategoryId\\": 20,\\n      \\"SortExprValues\\": \\"5.37633353624177e+24;0\\",\\n      \\"CustomContent\\": \\"zidingyi\\",\\n      \\"Score\\": 1,\\n      \\"IntAttr\\": 2,\\n      \\"IntAttr2\\": 20,\\n      \\"StrAttr\\": \\"ss\\",\\n      \\"StrAttr2\\": \\"test\\",\\n      \\"StrAttr3\\": \\"test\\",\\n      \\"StrAttr4\\": \\"test\\",\\n      \\"IntAttr3\\": 1,\\n      \\"IntAttr4\\": 1\\n    }\\n  ],\\n  \\"Code\\": 0,\\n  \\"PicInfo\\": {\\n    \\"Region\\": \\"280,486,232,351\\",\\n    \\"CategoryId\\": 20,\\n    \\"MultiRegion\\": [\\n      {\\n        \\"Region\\": \\"280,486,232,351\\"\\n      }\\n    ],\\n    \\"AllCategories\\": [\\n      {\\n        \\"Name\\": \\"other\\",\\n        \\"Id\\": 88888888\\n      }\\n    ]\\n  },\\n  \\"Success\\": true\\n}","type":"json"}]',
        ],
        'SearchImageByPic' => [
            'summary' => 'This topic describes the syntax and examples of SearchByPic, which is used to search for image information in an Image Search instance by image.',
            'methods' => ['post'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => [
                'operationType' => 'get',
                'riskType' => 'none',
                'chargeType' => 'free',
                'abilityTreeNodes' => ['FEATUREimagesearchF4L5JA'],
            ],
            'parameters' => [
                [
                    'name' => 'InstanceName',
                    'in' => 'formData',
                    'schema' => ['description' => 'The name of the Image Search instance. The name can be up to 20 characters in length.'."\n"
                        .'If you have purchased an Image Search instance, log on to the [Image Search console](https://imagesearch.console.aliyun.com/) to view the instance name.'."\n"
                        .'If you have not purchased an Image Search instance, see [Activate the service](~~179178~~) and [Create an instance](~~66569~~).'."\n"
                        .'>The instance name is not the instance ID. Make sure that you distinguish between them.', 'type' => 'string', 'required' => true, 'example' => 'demoinstance1', 'title' => ''],
                ],
                [
                    'name' => 'PicContent',
                    'in' => 'formData',
                    'schema' => ['description' => 'The image content.'."\n"
                        .' - The image size cannot exceed 4 MB.'."\n"
                        .' - Image formats: PNG, JPG, JPEG, BMP, GIF, WEBP, TIFF, and PPM.'."\n"
                        .' - The transmission wait time cannot exceed 5 seconds.'."\n"
                        .'<props="china">'."\n"
                        .' - For product image search, generic image search, furniture image search, and industrial hardware image search, the image width and height must be greater than or equal to 100 px and less than or equal to 4096 px.'."\n"
                        .'For trademark image search, the image width and height must be greater than or equal to 200 px and less than 4096 px.'."\n"
                        .'For fabric image search, the image width and height must be greater than or equal to 448 px and less than or equal to 4096 px.'."\n"
                        .'</props>'."\n"
                        .'<props="intl">'."\n"
                        .' - For product image search and generic image search, the image width and height must be greater than or equal to 100 px and less than or equal to 4096 px.'."\n"
                        .'</props>'."\n"
                        .'- The image cannot contain rotation information.'."\n"
                        ."\n"
                        .'> - **Call by using the SDK:**'."\n"
                        .'  - If you use the V3 SDK, you do not need to specify the PicContent field. The SDK encapsulates this field as PicContentObject and automatically converts it to Base64 encoding. For specific examples, see [Java SDK](~~179188~~).'."\n"
                        .'  - The SDK does not support directly passing an image URL. The V3 SDK provides an alternative method to upload images by URL. For specific examples, see [Java SDK](~~179188~~).'."\n"
                        .'- **Call by using the Alibaba Cloud OpenAPI platform:**'."\n"
                        .'  - If you use the **2019-03-25** version, set the **PicContent** field to the **Base64**-encoded string of the image.'."\n"
                        .'  - If you use the **2020-12-14** version, click the upload button in the **PicContent** field to upload the image.', 'type' => 'string', 'required' => true, 'isFileTransferUrl' => true, 'example' => 'AAAANSUhEUgAAAPcAAAEVCAYAAAA8d3NuAAAAAXNSR0IArs......RK5CYII=', 'title' => ''],
                ],
                [
                    'name' => 'CategoryId',
                    'in' => 'formData',
                    'schema' => [
                        'description' => 'The product category. For more information, see [Category reference](~~179184~~).'."\n"
                            .' - For product image search, if you specify a category, the specified category is used. If you do not specify a category, the system predicts the category. You can obtain the predicted category from the response.'."\n"
                            .'<props="china">'."\n"
                            .' - For fabric, trademark, generic furniture, and industrial hardware image search, the system sets the category to 88888888 regardless of whether you specify a category.'."\n"
                            .'</props>'."\n"
                            .'<props="intl">'."\n"
                            .' - For generic image search, the system sets the category to 88888888 regardless of whether you specify a category.'."\n"
                            .'</props>.',
                        'type' => 'integer',
                        'format' => 'int32',
                        'required' => false,
                        'maximum' => '88888888',
                        'minimum' => '0',
                        'enum' => ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '20', '21', '22', '88888888'],
                        'example' => '88888888',
                        'title' => '',
                    ],
                ],
                [
                    'name' => 'Crop',
                    'in' => 'formData',
                    'schema' => ['description' => 'Specifies whether to perform subject identification. Default value: true.'."\n"
                        .' - If this parameter is set to true, the system performs subject identification and searches based on the identified subject. You can obtain the subject identification result from the response.'."\n"
                        .' - If this parameter is set to false, the system does not perform subject identification and searches based on the entire image.'."\n"
                        .'<props="china">'."\n"
                        .'- For fabric image search, this parameter is ignored and the system searches based on the entire image.'."\n"
                        .'</props>.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
                ],
                [
                    'name' => 'Region',
                    'in' => 'formData',
                    'schema' => ['description' => 'The subject region of the image, in the format of `x1,x2,y1,y2`, where `x1,y1` is the upper-left point and `x2,y2` is the lower-right point.'."\n"
                        .'> - If you specify Region, the system searches based on the specified Region regardless of the value of the Crop parameter.'."\n"
                        .'<props="china">'."\n"
                        .'- For fabric image search, this parameter is ignored and the system searches based on the entire image.'."\n"
                        .'</props>.', 'type' => 'string', 'required' => false, 'example' => '280,486,232,351', 'title' => ''],
                ],
                [
                    'name' => 'Num',
                    'in' => 'formData',
                    'schema' => ['description' => 'The number of results to return. Valid values: 1 to 100. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '10', 'example' => '10', 'title' => ''],
                ],
                [
                    'name' => 'Start',
                    'in' => 'formData',
                    'schema' => ['description' => 'The start position of the results to return. Valid values: 0 to 499. Default value: 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '499', 'minimum' => '0', 'default' => '0', 'example' => '0', 'title' => ''],
                ],
                [
                    'name' => 'Filter',
                    'in' => 'formData',
                    'schema' => ['description' => 'The filter condition. The int_attr field supports the following operators: in, not in, greater than (>), greater than or equal to (>=), less than (<), less than or equal to (<=), and equal to (=). The str_attr field supports the following operators: in, not in, equal to (=), and not equal to (!=). Multiple conditions can be connected by using AND and OR.'."\n"
                        .'Examples:'."\n"
                        .'- int_attr >= 100.'."\n"
                        .'- str_attr != "value1".'."\n"
                        .'- int_attr = 1000 AND str_attr = "value1".'."\n"
                        ."\n"
                        .'>A maximum of 4096 characters are supported.', 'type' => 'string', 'required' => false, 'example' => 'int_attr=1000 AND str_attr="value1"', 'title' => ''],
                ],
                [
                    'name' => 'DistinctProductId',
                    'in' => 'formData',
                    'schema' => ['description' => 'Specifies whether to deduplicate results based on the ProductId field during the search. If this parameter is set to true, deduplication is performed.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
                ],
                [
                    'name' => 'ScoreThreshold',
                    'in' => 'query',
                    'schema' => ['description' => 'The similarity score threshold. After you specify this threshold, only images with a similarity score greater than or equal to the threshold are returned. Valid values: 0.00 to 1.00. Up to two decimal places are supported. Default value: 0.00.', 'type' => 'string', 'required' => false, 'example' => '0.50', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'description' => 'The response parameters.',
                        'type' => 'object',
                        'properties' => [
                            'Msg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                            'Head' => [
                                'description' => 'The overview of the search results.',
                                'type' => 'object',
                                'properties' => [
                                    'DocsFound' => ['description' => 'The number of results returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
                                    'DocsReturn' => ['description' => 'The number of results matched in the instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '10000', 'title' => ''],
                                    'SearchTime' => ['description' => 'The search duration, in milliseconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '95', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B3137727-7D6E-488C-BA21-0E034C38A879', 'title' => ''],
                            'Auctions' => [
                                'description' => 'The descriptions of all returned products.',
                                'type' => 'array',
                                'items' => [
                                    'description' => 'The descriptions of all returned products.',
                                    'type' => 'object',
                                    'properties' => [
                                        'ProductId' => ['description' => 'The product ID.', 'type' => 'string', 'example' => '2092061_1', 'title' => ''],
                                        'PicName' => ['description' => 'The image name.', 'type' => 'string', 'example' => '2092061_1.jpg', 'title' => ''],
                                        'CategoryId' => ['description' => 'The image category.', 'type' => 'integer', 'format' => 'int32', 'example' => '8888888', 'title' => ''],
                                        'SortExprValues' => ['description' => 'The system scoring information.'."\n"
                                            .'> - This field is deprecated. Use Score instead. '."\n"
                                            .'- SortExprValues is a semicolon-separated tuple. The first value indicates the relevance score of the image. A higher value indicates higher relevance to the query image. The scoring varies depending on the algorithm model.'."\n"
                                            .'- When the category is 0 to 2, the value range of SortExprValues is 0 to 7.33136443711219e+24.'."\n"
                                            .'- For other category values, the value range of SortExprValues is 0 to 5.37633353624177e+24. This score reaches its maximum when two images are identical.', 'type' => 'string', 'example' => '5.37633353624177e+24;0', 'title' => ''],
                                        'CustomContent' => ['description' => 'The user-defined content.', 'type' => 'string', 'example' => 'zidingyi', 'title' => ''],
                                        'Score' => ['description' => 'The image similarity score. Valid values: 0 to 1.'."\n"
                                            .'> You must upgrade to V3.1.1 to use this feature.', 'type' => 'number', 'format' => 'float', 'example' => '1', 'title' => ''],
                                        'IntAttr' => ['description' => 'The integer type attribute.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
                                        'IntAttr2' => ['description' => 'The integer type attribute.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
                                        'StrAttr2' => ['description' => 'The string type attribute.', 'type' => 'string', 'example' => 'test', 'title' => ''],
                                        'StrAttr' => ['description' => 'The string type attribute.', 'type' => 'string', 'example' => 'test', 'title' => ''],
                                        'StrAttr3' => ['description' => 'The string type attribute.', 'type' => 'string', 'example' => 'test', 'title' => ''],
                                        'StrAttr4' => ['description' => 'The string type attribute.', 'type' => 'string', 'example' => 'test', 'title' => ''],
                                        'IntAttr3' => ['description' => 'The integer type attribute.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
                                        'IntAttr4' => ['description' => 'The integer type attribute.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
                                    ],
                                    'title' => '',
                                    'example' => '',
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'Code' => ['description' => 'The error code.'."\n"
                                .'- 0: successful.'."\n"
                                .'- Non-zero: failed.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
                            'PicInfo' => [
                                'description' => 'The information such as category prediction and subject identification results.',
                                'type' => 'object',
                                'properties' => [
                                    'Region' => ['description' => 'The subject identification result. The subject region of the image, in the format of x1,x2,y1,y2, where x1,y1 is the upper-left point and x2,y2 is the lower-right point. If the subject region is specified in the request, the value specified in the request is used.', 'type' => 'string', 'example' => '280,486,232,351', 'title' => ''],
                                    'CategoryId' => ['description' => 'The category prediction result. If the category is specified in the request, the value specified in the request is used.', 'type' => 'integer', 'format' => 'int32', 'example' => '88888888', 'title' => ''],
                                    'MultiRegion' => [
                                        'description' => 'The collection of subject identification results.'."\n"
                                            .'> You must upgrade to V3.1.1 to use this feature.',
                                        'type' => 'array',
                                        'items' => [
                                            'description' => 'The subject identification result.',
                                            'type' => 'object',
                                            'properties' => [
                                                'Region' => ['description' => 'The subject identification result. The subject region of the image, in the format of x1,x2,y1,y2, where x1,y1 is the upper-left point and x2,y2 is the lower-right point. If the subject region is specified in the request, the value specified in the request is used.', 'type' => 'string', 'example' => '280,486,232,351', 'title' => ''],
                                            ],
                                            'title' => '',
                                            'example' => '',
                                        ],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'AllCategories' => [
                                        'description' => 'The information about all categories supported by the system.',
                                        'type' => 'array',
                                        'items' => [
                                            'description' => 'The information about all categories supported by the system.',
                                            'type' => 'object',
                                            'properties' => [
                                                'Name' => ['description' => 'The category name.', 'type' => 'string', 'example' => 'other', 'title' => ''],
                                                'Id' => ['description' => 'The category ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '88888888', 'title' => ''],
                                            ],
                                            'title' => '',
                                            'example' => '',
                                        ],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'Success' => ['description' => 'Indicates whether the request is successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                        ],
                        'title' => '',
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'BadRequest', 'errorMessage' => 'The request has invalid parameters.', 'description' => ''],
                    ['errorCode' => 'InstanceStatusError', 'errorMessage' => 'Your instance is unavailable.', 'description' => ''],
                    ['errorCode' => 'TimeoutForTransferImage', 'errorMessage' => 'Timeout after 5 seconds waiting for images transfer to complete.', 'description' => ''],
                    ['errorCode' => 'InvalidInstance', 'errorMessage' => 'The specified instance name is invalid.', 'description' => ''],
                    ['errorCode' => 'NoCaretSeperator', 'errorMessage' => 'The body content is missing the ^ separator.', 'description' => ''],
                    ['errorCode' => 'EmptyMeta', 'errorMessage' => 'The body content has an empty meta field.', 'description' => ''],
                    ['errorCode' => 'InvalidMetaItem', 'errorMessage' => 'The meta field is invalid.', 'description' => ''],
                    ['errorCode' => 'NoPicList', 'errorMessage' => 'The body content is missing the pic_list parameter.', 'description' => ''],
                    ['errorCode' => 'InvalidPicList', 'errorMessage' => 'The specified pic_list parameter is invalid.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPic', 'errorMessage' => 'he content of an image is not specified in the HTTP POST body.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedSearchPic', 'errorMessage' => 'The search image is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidCategory', 'errorMessage' => 'The specified category is invalid.', 'description' => ''],
                    ['errorCode' => 'OverflowMaxResultNum', 'errorMessage' => 'The specified number of total results exceeds the maximum of 500.', 'description' => ''],
                    ['errorCode' => 'OverflowMaxReturnNum', 'errorMessage' => 'The specified number of results for each request exceeds the maximum of 100.', 'description' => ''],
                    ['errorCode' => 'InvalidStartParameter', 'errorMessage' => 'The specified parameter start is inavlid.', 'description' => ''],
                    ['errorCode' => 'InvalidNumParameter', 'errorMessage' => 'The specified parameter num is invalid.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedAddPic', 'errorMessage' => 'The image to insert is not specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedItemId', 'errorMessage' => 'The item_id parameter is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidIntAttr', 'errorMessage' => 'The specified int_attr field is invalid.', 'description' => ''],
                    ['errorCode' => 'UnsupportedPicFormat', 'errorMessage' => 'The specified image format is invalid.', 'description' => ''],
                    ['errorCode' => 'InvalidFilterClause', 'errorMessage' => 'The specified filtering condition is invalid.', 'description' => ''],
                    ['errorCode' => 'InstanceOverQuota', 'errorMessage' => 'The number of items exceeds the limit.', 'description' => ''],
                    ['errorCode' => 'IncorrectOrientation', 'errorMessage' => 'The image contains incorrect rotation flags in the meta data.', 'description' => ''],
                    ['errorCode' => 'UnsupportedPicPixels', 'errorMessage' => 'The specified pixels is not supported.', 'description' => ''],
                    ['errorCode' => 'SearchTimeout', 'errorMessage' => 'The request is timed out.', 'description' => ''],
                    ['errorCode' => 'PicNotExist', 'errorMessage' => 'The search picture does not exist.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedProductId', 'errorMessage' => 'The parameter ProductId no specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPicName', 'errorMessage' => 'The parameter PicName no specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPicContent', 'errorMessage' => 'The parameter PicContent no specified.', 'description' => ''],
                    ['errorCode' => 'InvalidType', 'errorMessage' => 'The specified parameter Type is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidProductId', 'errorMessage' => 'The specified parameter ProductId is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidPicName', 'errorMessage' => 'The specified parameter PicName is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidStrAttr', 'errorMessage' => 'The specified parameter StrAttr is not valid.', 'description' => 'Invalid StrAttr'],
                    ['errorCode' => 'InvalidCustomContent', 'errorMessage' => 'The specified parameter CustomContent is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidPicContent', 'errorMessage' => 'The specified parameter PicContent length greater than 4 * 1024 * 1024.', 'description' => ''],
                    ['errorCode' => 'InvalidPicUrl', 'errorMessage' => 'The search picture does not exist at the specific url.', 'description' => ''],
                    ['errorCode' => 'InvalidInstanceName', 'errorMessage' => 'The parameter instanceName is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidRequestId', 'errorMessage' => 'The parameter requestId is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidRequestIdTooLarge', 'errorMessage' => 'The parameter requestId is too large.', 'description' => ''],
                    ['errorCode' => 'InvalidRegion', 'errorMessage' => 'The specific region is illegal', 'description' => ''],
                    ['errorCode' => 'InvalidIntAttr4', 'errorMessage' => 'The specified parameter IntAttr4 is not valid.', 'description' => 'Invalid'],
                    ['errorCode' => 'InvalidIntAttr3', 'errorMessage' => 'The specified parameter IntAttr3 is not valid.', 'description' => 'Invalid IntAttr3'],
                    ['errorCode' => 'InvalidIntAttr2', 'errorMessage' => 'The specified parameter IntAttr2 is not valid.', 'description' => 'Invalid IntAttr2'],
                    ['errorCode' => 'InvalidStrAttr4', 'errorMessage' => 'The specified parameter StrAttr4 is not valid.', 'description' => 'Invalid StrAttr4'],
                    ['errorCode' => 'InvalidStrAttr3', 'errorMessage' => 'The specified parameter StrAttr3 is not valid.', 'description' => 'Invalid StrAttr3'],
                    ['errorCode' => 'InvalidStrAttr2', 'errorMessage' => 'The specified parameter StrAttr2 is not valid.', 'description' => 'Invalid'],
                    ['errorCode' => 'PictureError', 'errorMessage' => '[download] Img Download Failed.', 'description' => 'Picture download failed, please check the picture'],
                    ['errorCode' => 'UnsupportedOperationType', 'errorMessage' => 'The specified action is not supported.', 'description' => ''],
                    ['errorCode' => 'UnsupportedInstanceType', 'errorMessage' => 'The instance type is not supported.', 'description' => ''],
                ],
                403 => [
                    ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
                    ['errorCode' => 'DeniedRequest', 'errorMessage' => 'Your request was denied due to instance flow control.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'UnknownException', 'errorMessage' => 'An internal server error occurred.', 'description' => ''],
                    ['errorCode' => 'NetworkException', 'errorMessage' => 'A network error occurred.', 'description' => ''],
                    ['errorCode' => 'RequestTimeout', 'errorMessage' => '​The request is timeout.', 'description' => ''],
                    ['errorCode' => 'ExtractFeatureTimeout', 'errorMessage' => 'The request was timed out while extracting features.', 'description' => ''],
                    ['errorCode' => 'AccessEngineFailed', 'errorMessage' => 'An error occurred while accessing the search engine.', 'description' => ''],
                    ['errorCode' => 'InternalOssError', 'errorMessage' => 'An internal OAS error occurred.', 'description' => ''],
                    ['errorCode' => 'InternalSwiftError', 'errorMessage' => 'An internal SWIFT error occurred.', 'description' => ''],
                    ['errorCode' => 'InternalTableStoreError', 'errorMessage' => 'An internal Table Store error occurred.', 'description' => ''],
                    ['errorCode' => 'ConnectionDVException', 'errorMessage' => 'Failed to obtain collection.', 'description' => 'internalError'],
                ],
            ],
            'title' => 'Search by image',
            'description' => '## Operation description'."\n"
                .'This operation is used to search for image information in an Image Search instance by image.'."\n"
                .'> <props="china">For more product details and technical support, click [Online Consultation](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2) or contact us through DingTalk group (35035130).</props>'."\n"
                ."\n"
                .'## QPS limit'."\n"
                .'You can view the default maximum access frequency for query operations in the console. The frequency is the QPS value that you selected when you made the purchase. The supported values are 1 QPS, 5 QPS, and 10 QPS.'."\n"
                ."\n\n"
                .'### SDK version description'."\n"
                .'Upgrade the Image Search SDK to V3.1.1 to use the multi-subject identification and similarity score features. For more information, see [Java SDK](~~179188~~).',
            'extraInfo' => '## Error codes'."\n"
                .'For more information, see [Error codes](~~66619~~).',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchImageByPic'],
                ],
            ],
            'ramActions' => [
                [
                    'operationType' => 'get',
                    'ramAction' => [
                        'action' => 'imagesearch:SearchImageByPic',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Msg\\": \\"success\\",\\n  \\"Head\\": {\\n    \\"DocsFound\\": 10,\\n    \\"DocsReturn\\": 10000,\\n    \\"SearchTime\\": 95\\n  },\\n  \\"RequestId\\": \\"B3137727-7D6E-488C-BA21-0E034C38A879\\",\\n  \\"Auctions\\": [\\n    {\\n      \\"ProductId\\": \\"2092061_1\\",\\n      \\"PicName\\": \\"2092061_1.jpg\\",\\n      \\"CategoryId\\": 8888888,\\n      \\"SortExprValues\\": \\"5.37633353624177e+24;0\\",\\n      \\"CustomContent\\": \\"zidingyi\\",\\n      \\"Score\\": 1,\\n      \\"IntAttr\\": 2,\\n      \\"IntAttr2\\": 20,\\n      \\"StrAttr2\\": \\"test\\",\\n      \\"StrAttr\\": \\"test\\",\\n      \\"StrAttr3\\": \\"test\\",\\n      \\"StrAttr4\\": \\"test\\",\\n      \\"IntAttr3\\": 2,\\n      \\"IntAttr4\\": 2\\n    }\\n  ],\\n  \\"Code\\": 0,\\n  \\"PicInfo\\": {\\n    \\"Region\\": \\"280,486,232,351\\",\\n    \\"CategoryId\\": 88888888,\\n    \\"MultiRegion\\": [\\n      {\\n        \\"Region\\": \\"280,486,232,351\\"\\n      }\\n    ],\\n    \\"AllCategories\\": [\\n      {\\n        \\"Name\\": \\"other\\",\\n        \\"Id\\": 88888888\\n      }\\n    ]\\n  },\\n  \\"Success\\": true\\n}","type":"json"}]',
        ],
        'SearchImageByText' => [
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => [
                'operationType' => 'get',
                'riskType' => 'none',
                'chargeType' => 'free',
                'abilityTreeNodes' => ['FEATUREimagesearchF4L5JA'],
            ],
            'parameters' => [
                [
                    'name' => 'InstanceName',
                    'in' => 'formData',
                    'schema' => ['description' => 'The name of the Image Search instance. The name can be up to 20 characters in length.'."\n"
                        .'If you have purchased an Image Search instance, log on to the [Image Search console](https://imagesearch.console.aliyun.com/) to view the instance name.'."\n"
                        .'If you have not purchased an Image Search instance, see [Activate the service](~~179178~~) and [Create an instance](~~66569~~).'."\n"
                        .'>The instance name is not the instance ID. Make sure you distinguish between them.', 'type' => 'string', 'required' => true, 'example' => 'demoinstance1', 'title' => ''],
                ],
                [
                    'name' => 'Num',
                    'in' => 'formData',
                    'schema' => ['description' => 'The number of results to return. Valid values: 1 to 100. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'default' => '10', 'example' => '10', 'title' => ''],
                ],
                [
                    'name' => 'Start',
                    'in' => 'formData',
                    'schema' => ['description' => 'The start position of the results to return. Valid values: 0 to 499. Default value: 0.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '499', 'minimum' => '0', 'default' => '0', 'example' => '0', 'title' => ''],
                ],
                [
                    'name' => 'Filter',
                    'in' => 'formData',
                    'schema' => ['description' => 'The filter condition. The int_attr field supports the following operators: in, not in, greater than (>), greater than or equal to (>=), less than (<), less than or equal to (<=), and equal to (=). The str_attr field supports the following operators: in, not in, equal to (=), and not equal to (!=). You can use AND and OR to connect multiple conditions.'."\n"
                        .'Examples:'."\n"
                        .'- int_attr >= 100.'."\n"
                        .'- str_attr != "value1".'."\n"
                        .'- int_attr = 1000 AND str_attr = "value1".'."\n"
                        ."\n"
                        .'>The filter condition can be up to 4,096 characters in length.', 'type' => 'string', 'required' => false, 'example' => 'int_attr=1000 AND str_attr="value1"', 'title' => ''],
                ],
                [
                    'name' => 'DistinctProductId',
                    'in' => 'formData',
                    'schema' => ['description' => 'If this parameter is set to true, duplicate data is removed based on the ProductId field during the search.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
                ],
                [
                    'name' => 'Text',
                    'in' => 'formData',
                    'schema' => ['description' => 'The description text for searching images. Chinese and English are supported.'."\n"
                        ."\n"
                        .'>The text can be up to 512 characters in length.', 'type' => 'string', 'required' => true, 'example' => 'xxxx', 'title' => ''],
                ],
                [
                    'name' => 'ScoreThreshold',
                    'in' => 'query',
                    'schema' => ['description' => 'The similarity score threshold. After you specify this parameter, only images whose similarity scores are greater than or equal to the threshold are returned. Valid values: 0.00 to 1.00. The value supports up to two decimal places. Default value: 0.00.', 'type' => 'string', 'required' => false, 'example' => '0.50', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'description' => 'The response parameters.',
                        'type' => 'object',
                        'properties' => [
                            'Msg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                            'Head' => [
                                'description' => 'The overview of the search results.',
                                'type' => 'object',
                                'properties' => [
                                    'DocsFound' => ['description' => 'The number of results returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
                                    'DocsReturn' => ['description' => 'The number of matched results in the instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '10000', 'title' => ''],
                                    'SearchTime' => ['description' => 'The time consumed by the search, in milliseconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '95', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B3137727-7D6E-488C-BA21-0E034C38A879', 'title' => ''],
                            'Auctions' => [
                                'description' => 'The description information of all returned products.',
                                'type' => 'array',
                                'items' => [
                                    'description' => 'The description information of all returned products.',
                                    'type' => 'object',
                                    'properties' => [
                                        'ProductId' => ['description' => 'The product ID.', 'type' => 'string', 'example' => '2092061_1', 'title' => ''],
                                        'PicName' => ['description' => 'The image name.', 'type' => 'string', 'example' => '2092061_1.jpg', 'title' => ''],
                                        'CategoryId' => ['description' => 'The image category.', 'type' => 'integer', 'format' => 'int32', 'example' => '8888888', 'title' => ''],
                                        'CustomContent' => ['description' => 'The custom content defined by the user.', 'type' => 'string', 'example' => 'zidingyi', 'title' => ''],
                                        'Score' => ['description' => 'The image similarity score. Valid values: 0 to 1.'."\n"
                                            .'> You must upgrade the SDK to V3.1.1 to use this feature.', 'type' => 'number', 'format' => 'float', 'example' => '1', 'title' => ''],
                                        'IntAttr' => ['description' => 'The integer type attribute.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
                                        'IntAttr2' => ['description' => 'The integer type attribute.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
                                        'StrAttr2' => ['description' => 'The string type attribute.', 'type' => 'string', 'example' => 'xxxx', 'title' => ''],
                                        'StrAttr' => ['description' => 'The string type attribute.', 'type' => 'string', 'example' => 'xxxx', 'title' => ''],
                                        'StrAttr3' => ['description' => 'The string type attribute.', 'type' => 'string', 'example' => 'xxxx', 'title' => ''],
                                        'StrAttr4' => ['description' => 'The string type attribute.', 'type' => 'string', 'example' => 'xxxx', 'title' => ''],
                                        'IntAttr3' => ['description' => 'The integer type attribute.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
                                        'IntAttr4' => ['description' => 'The integer type attribute.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
                                    ],
                                    'title' => '',
                                    'example' => '',
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'Code' => ['description' => 'The error code. Valid values:'."\n"
                                .'- 0: successful.'."\n"
                                .'- Non-zero value: failed.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
                            'PicInfo' => [
                                'description' => 'The category information.',
                                'type' => 'object',
                                'properties' => [
                                    'AllCategories' => [
                                        'description' => 'All categories supported by the system.',
                                        'type' => 'array',
                                        'items' => [
                                            'description' => 'All categories supported by the system.',
                                            'type' => 'object',
                                            'properties' => [
                                                'Name' => ['description' => 'The category name.', 'type' => 'string', 'example' => 'other', 'title' => ''],
                                                'Id' => ['description' => 'The category ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '88888888', 'title' => ''],
                                            ],
                                            'title' => '',
                                            'example' => '',
                                        ],
                                        'title' => '',
                                        'example' => '',
                                    ],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                            'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                            'AccessDeniedDetail' => [
                                'description' => 'The authentication details.',
                                'type' => 'object',
                                'properties' => [
                                    'AuthAction' => ['description' => 'The action for the authentication request.', 'type' => 'string', 'example' => 'xxx', 'title' => ''],
                                    'AuthPrincipalDisplayName' => ['description' => 'The authentication principal information.', 'type' => 'string', 'example' => '111', 'title' => ''],
                                    'AuthPrincipalOwnerId' => ['description' => 'The Alibaba Cloud account ID of the authentication principal.', 'type' => 'string', 'example' => '222', 'title' => ''],
                                    'AuthPrincipalType' => ['description' => 'The type of the authentication principal.', 'type' => 'string', 'example' => 'SubUser', 'title' => ''],
                                    'EncodedDiagnosticMessage' => ['description' => 'The encrypted complete diagnostic message.', 'type' => 'string', 'example' => 'xxxxxx', 'title' => ''],
                                    'NoPermissionType' => ['description' => 'Valid values:'."\n"
                                        .'- ImplicitDeny: no policy is matched.'."\n"
                                        .'- ExplicitDeny: an explicit Deny policy is matched.', 'type' => 'string', 'example' => 'ImplicitDeny', 'title' => ''],
                                    'PolicyType' => ['description' => 'The type of the policy that caused the access denial.', 'type' => 'string', 'example' => 'PauseNotify', 'title' => ''],
                                ],
                                'title' => '',
                                'example' => '',
                            ],
                        ],
                        'title' => '',
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'BadRequest', 'errorMessage' => 'The request has invalid parameters.', 'description' => ''],
                    ['errorCode' => 'InstanceStatusError', 'errorMessage' => 'Your instance is unavailable.', 'description' => ''],
                    ['errorCode' => 'TimeoutForTransferImage', 'errorMessage' => 'Timeout after 5 seconds waiting for images transfer to complete.', 'description' => ''],
                    ['errorCode' => 'InvalidInstance', 'errorMessage' => 'The specified instance name is invalid.', 'description' => ''],
                    ['errorCode' => 'NoCaretSeperator', 'errorMessage' => 'The body content is missing the ^ separator.', 'description' => ''],
                    ['errorCode' => 'EmptyMeta', 'errorMessage' => 'The body content has an empty meta field.', 'description' => ''],
                    ['errorCode' => 'InvalidMetaItem', 'errorMessage' => 'The meta field is invalid.', 'description' => ''],
                    ['errorCode' => 'NoPicList', 'errorMessage' => 'The body content is missing the pic_list parameter.', 'description' => ''],
                    ['errorCode' => 'InvalidPicList', 'errorMessage' => 'The specified pic_list parameter is invalid.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPic', 'errorMessage' => 'he content of an image is not specified in the HTTP POST body.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedSearchPic', 'errorMessage' => 'The search image is not specified.', 'description' => ''],
                    ['errorCode' => 'OverflowMaxResultNum', 'errorMessage' => 'The specified number of total results exceeds the maximum of 500.', 'description' => ''],
                    ['errorCode' => 'OverflowMaxReturnNum', 'errorMessage' => 'The specified number of results for each request exceeds the maximum of 100.', 'description' => ''],
                    ['errorCode' => 'InvalidStartParameter', 'errorMessage' => 'The specified parameter start is inavlid.', 'description' => ''],
                    ['errorCode' => 'InvalidNumParameter', 'errorMessage' => 'The specified parameter num is invalid.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedAddPic', 'errorMessage' => 'The image to insert is not specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedItemId', 'errorMessage' => 'The item_id parameter is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidIntAttr', 'errorMessage' => 'The specified int_attr field is invalid.', 'description' => ''],
                    ['errorCode' => 'InvalidFilterClause', 'errorMessage' => 'The specified filtering condition is invalid.', 'description' => ''],
                    ['errorCode' => 'InstanceOverQuota', 'errorMessage' => 'The number of items exceeds the limit.', 'description' => ''],
                    ['errorCode' => 'IncorrectOrientation', 'errorMessage' => 'The image contains incorrect rotation flags in the meta data.', 'description' => ''],
                    ['errorCode' => 'UnsupportedPicPixels', 'errorMessage' => 'The specified pixels is not supported.', 'description' => ''],
                    ['errorCode' => 'SearchTimeout', 'errorMessage' => 'The request is timed out.', 'description' => ''],
                    ['errorCode' => 'PicNotExist', 'errorMessage' => 'The search picture does not exist.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedProductId', 'errorMessage' => 'The parameter ProductId no specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPicName', 'errorMessage' => 'The parameter PicName no specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPicContent', 'errorMessage' => 'The parameter PicContent no specified.', 'description' => ''],
                    ['errorCode' => 'InvalidType', 'errorMessage' => 'The specified parameter Type is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidProductId', 'errorMessage' => 'The specified parameter ProductId is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidPicName', 'errorMessage' => 'The specified parameter PicName is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidStrAttr', 'errorMessage' => 'The specified parameter StrAttr is not valid.', 'description' => 'Invalid StrAttr'],
                    ['errorCode' => 'InvalidCustomContent', 'errorMessage' => 'The specified parameter CustomContent is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidPicContent', 'errorMessage' => 'The specified parameter PicContent length greater than 4 * 1024 * 1024.', 'description' => ''],
                    ['errorCode' => 'InvalidPicUrl', 'errorMessage' => 'The search picture does not exist at the specific url.', 'description' => ''],
                    ['errorCode' => 'InvalidInstanceName', 'errorMessage' => 'The parameter instanceName is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidRequestId', 'errorMessage' => 'The parameter requestId is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidRequestIdTooLarge', 'errorMessage' => 'The parameter requestId is too large.', 'description' => ''],
                    ['errorCode' => 'InvalidRegion', 'errorMessage' => 'The specific region is illegal', 'description' => ''],
                    ['errorCode' => 'InvalidIntAttr4', 'errorMessage' => 'The specified parameter IntAttr4 is not valid.', 'description' => 'Invalid'],
                    ['errorCode' => 'InvalidIntAttr3', 'errorMessage' => 'The specified parameter IntAttr3 is not valid.', 'description' => 'Invalid IntAttr3'],
                    ['errorCode' => 'InvalidIntAttr2', 'errorMessage' => 'The specified parameter IntAttr2 is not valid.', 'description' => 'Invalid IntAttr2'],
                    ['errorCode' => 'InvalidStrAttr4', 'errorMessage' => 'The specified parameter StrAttr4 is not valid.', 'description' => 'Invalid StrAttr4'],
                    ['errorCode' => 'InvalidStrAttr3', 'errorMessage' => 'The specified parameter StrAttr3 is not valid.', 'description' => 'Invalid StrAttr3'],
                    ['errorCode' => 'InvalidStrAttr2', 'errorMessage' => 'The specified parameter StrAttr2 is not valid.', 'description' => 'Invalid'],
                    ['errorCode' => 'InvalidText', 'errorMessage' => 'The specified parameter Text is not valid.', 'description' => 'Description Text cannot be null'],
                    ['errorCode' => 'InvalidTextLength', 'errorMessage' => 'Invalid text clause.', 'description' => 'The text field length must be within 512.'],
                    ['errorCode' => 'UnsupportedOperationType', 'errorMessage' => 'The specified action is not supported.', 'description' => ''],
                    ['errorCode' => 'UnsupportedInstanceType', 'errorMessage' => 'The instance type is not supported.', 'description' => ''],
                ],
                403 => [
                    ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
                    ['errorCode' => 'DeniedRequest', 'errorMessage' => 'Your request was denied due to instance flow control.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'UnknownException', 'errorMessage' => 'An internal server error occurred.', 'description' => ''],
                    ['errorCode' => 'NetworkException', 'errorMessage' => 'A network error occurred.', 'description' => ''],
                    ['errorCode' => 'RequestTimeout', 'errorMessage' => '​The request is timeout.', 'description' => ''],
                    ['errorCode' => 'ExtractFeatureTimeout', 'errorMessage' => 'The request was timed out while extracting features.', 'description' => ''],
                    ['errorCode' => 'AccessEngineFailed', 'errorMessage' => 'An error occurred while accessing the search engine.', 'description' => ''],
                    ['errorCode' => 'InternalOssError', 'errorMessage' => 'An internal OAS error occurred.', 'description' => ''],
                    ['errorCode' => 'InternalSwiftError', 'errorMessage' => 'An internal SWIFT error occurred.', 'description' => ''],
                    ['errorCode' => 'InternalTableStoreError', 'errorMessage' => 'An internal Table Store error occurred.', 'description' => ''],
                    ['errorCode' => 'ConnectionDVException', 'errorMessage' => 'Failed to obtain collection.', 'description' => 'internalError'],
                ],
            ],
            'staticInfo' => ['returnType' => 'synchronous'],
            'title' => 'Search for images by text',
            'summary' => 'This topic describes the syntax and examples of SearchImageByText, which is used to search for image information in an Image Search instance based on text.',
            'description' => '## Operation description'."\n"
                .'This operation is used to search for image information in an Image Search instance based on text. This operation is available only for instances whose service type is product multimodal search.'."\n"
                .'> <props="china">For more product details and technical support, click [Online Consultation](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2) or contact us through the DingTalk group (35035130).</props>'."\n"
                ."\n"
                .'## QPS limit'."\n"
                .'You can view the default maximum access frequency for query operations in the console. The frequency is the QPS value you selected at the time of purchase. Currently supported values are 1 QPS, 5 QPS, and 10 QPS.'."\n"
                ."\n\n"
                .'### SDK version description'."\n"
                .'Upgrade the Image Search SDK to V3.1.1 to use the multi-subject identification and similarity score features. For more information, see [Java SDK](~~179188~~).',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [],
            ],
            'ramActions' => [
                [
                    'operationType' => 'get',
                    'ramAction' => [
                        'action' => 'imagesearch:SearchImageByText',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Msg\\": \\"success\\",\\n  \\"Head\\": {\\n    \\"DocsFound\\": 10,\\n    \\"DocsReturn\\": 10000,\\n    \\"SearchTime\\": 95\\n  },\\n  \\"RequestId\\": \\"B3137727-7D6E-488C-BA21-0E034C38A879\\",\\n  \\"Auctions\\": [\\n    {\\n      \\"ProductId\\": \\"2092061_1\\",\\n      \\"PicName\\": \\"2092061_1.jpg\\",\\n      \\"CategoryId\\": 8888888,\\n      \\"CustomContent\\": \\"zidingyi\\",\\n      \\"Score\\": 1,\\n      \\"IntAttr\\": 2,\\n      \\"IntAttr2\\": 2,\\n      \\"StrAttr2\\": \\"xxxx\\",\\n      \\"StrAttr\\": \\"xxxx\\",\\n      \\"StrAttr3\\": \\"xxxx\\",\\n      \\"StrAttr4\\": \\"xxxx\\",\\n      \\"IntAttr3\\": 2,\\n      \\"IntAttr4\\": 2\\n    }\\n  ],\\n  \\"Code\\": 0,\\n  \\"PicInfo\\": {\\n    \\"AllCategories\\": [\\n      {\\n        \\"Name\\": \\"other\\",\\n        \\"Id\\": 88888888\\n      }\\n    ]\\n  },\\n  \\"Success\\": true,\\n  \\"AccessDeniedDetail\\": {\\n    \\"AuthAction\\": \\"xxx\\",\\n    \\"AuthPrincipalDisplayName\\": \\"111\\",\\n    \\"AuthPrincipalOwnerId\\": \\"222\\",\\n    \\"AuthPrincipalType\\": \\"SubUser\\",\\n    \\"EncodedDiagnosticMessage\\": \\"xxxxxx\\",\\n    \\"NoPermissionType\\": \\"ImplicitDeny\\",\\n    \\"PolicyType\\": \\"PauseNotify\\"\\n  }\\n}","type":"json"}]',
        ],
        'UpdateImage' => [
            'summary' => 'This topic describes the syntax and examples of the UpdateImage operation, which modifies image information in an Image Search instance.',
            'methods' => ['post'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'write',
            'deprecated' => false,
            'systemTags' => [
                'operationType' => 'update',
                'riskType' => 'none',
                'chargeType' => 'free',
                'abilityTreeNodes' => ['FEATUREimagesearchAA7PKJ'],
            ],
            'parameters' => [
                [
                    'name' => 'InstanceName',
                    'in' => 'formData',
                    'schema' => ['description' => 'The name of the Image Search instance. The name can be up to 20 characters in length.'."\n"
                        .'If you have purchased an Image Search instance, log on to the [Image Search console](https://imagesearch.console.aliyun.com/) to view the instance name.'."\n"
                        .'If you have not purchased an Image Search instance, refer to [Activate the service](~~179178~~) and [Create an instance](~~66569~~).'."\n"
                        .'>The instance name is not the instance ID. Do not confuse the two.', 'type' => 'string', 'required' => true, 'example' => 'demoinstance1', 'title' => ''],
                ],
                [
                    'name' => 'ProductId',
                    'in' => 'formData',
                    'schema' => ['description' => 'The product ID. The ID can be up to 256 characters in length.'."\n"
                        ."\n"
                        .'>A product can have multiple images. Set this parameter based on your business requirements. For example: top001, pants002.', 'type' => 'string', 'required' => true, 'example' => '2092061_1', 'title' => ''],
                ],
                [
                    'name' => 'PicName',
                    'in' => 'formData',
                    'schema' => ['description' => 'The image name. The name can be up to 256 characters in length.'."\n"
                        .'> - ProductId and PicName uniquely identify an image. ProductId and PicName cannot be modified.'."\n"
                        .'- If you add multiple images with the same ProductId and PicName, only the last added image is retained. Previously added images are overwritten.'."\n"
                        .'- If you do not specify PicName, image information is modified based on ProductId.'."\n"
                        .'- If you specify PicName, image information is modified based on ProductId and PicName.', 'type' => 'string', 'required' => false, 'example' => 'namexxx.jpg', 'title' => ''],
                ],
                [
                    'name' => 'CustomContent',
                    'in' => 'formData',
                    'schema' => ['description' => 'The custom content. The content can be up to 4,096 characters in length.'."\n"
                        .'>This field is returned when you call the "<props="china">[SearchImageByPic](https://help.aliyun.com/document_detail/202282.html)</props><props="intl">[SearchImageByPic](https://www.alibabacloud.com/help/zh/image-search/latest/updateimage)</props>" operation. For example, you can add a text description of the image.', 'type' => 'string', 'required' => false, 'example' => 'zidingyi', 'title' => ''],
                ],
                [
                    'name' => 'IntAttr',
                    'in' => 'formData',
                    'schema' => ['description' => 'The integer attribute. This attribute can be used to filter results during queries and is returned in query results.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
                ],
                [
                    'name' => 'StrAttr',
                    'in' => 'formData',
                    'schema' => ['description' => 'The string attribute. The value can be up to 128 characters in length. This attribute can be used to filter results during queries and is returned in query results.', 'type' => 'string', 'required' => false, 'example' => 'ss', 'title' => ''],
                ],
                [
                    'name' => 'IntAttr2',
                    'in' => 'formData',
                    'schema' => ['description' => 'The integer attribute. This attribute can be used to filter results during queries and is returned in query results.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
                ],
                [
                    'name' => 'StrAttr2',
                    'in' => 'formData',
                    'schema' => ['description' => 'The string attribute. The value can be up to 128 characters in length. This attribute can be used to filter results during queries and is returned in query results.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
                ],
                [
                    'name' => 'IntAttr3',
                    'in' => 'query',
                    'schema' => ['description' => 'The integer attribute. This attribute can be used to filter results during queries and is returned in query results.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '33', 'title' => ''],
                ],
                [
                    'name' => 'StrAttr3',
                    'in' => 'query',
                    'schema' => ['description' => 'The string attribute. The value can be up to 128 characters in length. This attribute can be used to filter results during queries and is returned in query results.', 'type' => 'string', 'required' => false, 'example' => 'ss', 'title' => ''],
                ],
                [
                    'name' => 'IntAttr4',
                    'in' => 'query',
                    'schema' => ['description' => 'The integer attribute. This attribute can be used to filter results during queries and is returned in query results.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '33', 'title' => ''],
                ],
                [
                    'name' => 'StrAttr4',
                    'in' => 'query',
                    'schema' => ['description' => 'The string attribute. The value can be up to 128 characters in length. This attribute can be used to filter results during queries and is returned in query results.', 'type' => 'string', 'required' => false, 'example' => 'ss', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '',
                        'description' => 'The response object.',
                        'type' => 'object',
                        'properties' => [
                            'Message' => ['title' => '', 'description' => 'The error message.', 'type' => 'string', 'example' => 'success'],
                            'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E0845DE6-52AF-4B50-9F15-51ED4044E6AB', 'title' => ''],
                            'Code' => ['description' => 'The error code. Valid values:'."\n"
                                ."\n"
                                .'- 0: success.'."\n"
                                .'- Non-zero value: failure.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
                            'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
                        ],
                        'example' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'BadRequest', 'errorMessage' => 'The request has invalid parameters.', 'description' => ''],
                    ['errorCode' => 'InstanceStatusError', 'errorMessage' => 'Your instance is unavailable.', 'description' => ''],
                    ['errorCode' => 'InvalidInstance', 'errorMessage' => 'The specified instance name is invalid.', 'description' => ''],
                    ['errorCode' => 'NoCaretSeperator', 'errorMessage' => 'The body content is missing the ^ separator.', 'description' => ''],
                    ['errorCode' => 'EmptyMeta', 'errorMessage' => 'The body content has an empty meta field.', 'description' => ''],
                    ['errorCode' => 'InvalidMetaItem', 'errorMessage' => 'The meta field is invalid.', 'description' => ''],
                    ['errorCode' => 'NoPicList', 'errorMessage' => 'The body content is missing the pic_list parameter.', 'description' => ''],
                    ['errorCode' => 'InvalidPicList', 'errorMessage' => 'The specified pic_list parameter is invalid.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPic', 'errorMessage' => 'The content of an image is not specified in the HTTP POST body.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedSearchPic', 'errorMessage' => 'The search image is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidCategory', 'errorMessage' => 'The specified category is invalid.', 'description' => ''],
                    ['errorCode' => 'OverflowMaxResultNum', 'errorMessage' => 'The specified number of total results exceeds the maximum of 500.', 'description' => ''],
                    ['errorCode' => 'OverflowMaxReturnNum', 'errorMessage' => 'The specified number of results for each request exceeds the maximum of 100.', 'description' => ''],
                    ['errorCode' => 'InvalidStartParameter', 'errorMessage' => 'The specified parameter s is inavlid.', 'description' => ''],
                    ['errorCode' => 'InvalidNumParameter', 'errorMessage' => 'The specified parameter n is invalid.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedAddPic', 'errorMessage' => 'The image to insert is not specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedItemId', 'errorMessage' => 'The item_id parameter is not specified.', 'description' => ''],
                    ['errorCode' => 'InvalidIntAttr', 'errorMessage' => 'The specified int_attr field is invalid.', 'description' => ''],
                    ['errorCode' => 'UnsupportedPicFormat', 'errorMessage' => 'The specified image format is invalid.', 'description' => ''],
                    ['errorCode' => 'InvalidFilterClause', 'errorMessage' => 'The specified filtering condition is invalid.', 'description' => ''],
                    ['errorCode' => 'InstanceOverQuota', 'errorMessage' => 'The number of items exceeds the limit.', 'description' => ''],
                    ['errorCode' => 'IncorrectOrientation', 'errorMessage' => 'The image contains incorrect rotation flags in the meta data.', 'description' => ''],
                    ['errorCode' => 'UnsupportedPicPixels', 'errorMessage' => 'The specified pixels is not supported.', 'description' => ''],
                    ['errorCode' => 'SearchTimeout', 'errorMessage' => 'The request is timed out.', 'description' => ''],
                    ['errorCode' => 'PicNotExist', 'errorMessage' => 'The search picture does not exist.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedProductId', 'errorMessage' => 'The parameter ProductId no specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPicName', 'errorMessage' => 'The parameter PicName no specified.', 'description' => ''],
                    ['errorCode' => 'NoSpecifiedPicContent', 'errorMessage' => 'The parameter PicContent no specified.', 'description' => ''],
                    ['errorCode' => 'InvalidType', 'errorMessage' => 'The specified parameter Type is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidProductId', 'errorMessage' => 'The specified parameter ProductId is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidPicName', 'errorMessage' => 'The specified parameter PicName is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidStrAttr', 'errorMessage' => 'The specified parameter StrAttr is not valid.', 'description' => 'Invalid StrAttr'],
                    ['errorCode' => 'InvalidCustomContent', 'errorMessage' => 'The specified parameter CustomContent is not valid.', 'description' => ''],
                    ['errorCode' => 'InvalidPicContent', 'errorMessage' => 'The specified parameter PicContent length greater than 4 * 1024 * 1024.', 'description' => ''],
                    ['errorCode' => 'TimeoutForTransferImage', 'errorMessage' => 'Timeout after 5 seconds waiting for images transfer to complete.', 'description' => ''],
                    ['errorCode' => 'InvalidIntAttr4', 'errorMessage' => 'The specified parameter IntAttr4 is not valid.', 'description' => 'Invalid'],
                    ['errorCode' => 'InvalidIntAttr3', 'errorMessage' => 'The specified parameter IntAttr3 is not valid.', 'description' => 'Invalid IntAttr3'],
                    ['errorCode' => 'InvalidIntAttr2', 'errorMessage' => 'The specified parameter IntAttr2 is not valid.', 'description' => 'Invalid IntAttr2'],
                    ['errorCode' => 'InvalidStrAttr4', 'errorMessage' => 'The specified parameter StrAttr4 is not valid.', 'description' => 'Invalid StrAttr4'],
                    ['errorCode' => 'InvalidStrAttr3', 'errorMessage' => 'The specified parameter StrAttr3 is not valid.', 'description' => 'Invalid StrAttr3'],
                    ['errorCode' => 'InvalidStrAttr2', 'errorMessage' => 'The specified parameter StrAttr2 is not valid.', 'description' => 'Invalid'],
                    ['errorCode' => 'UnsupportedInstanceType', 'errorMessage' => 'The instance type is not supported.', 'description' => ''],
                    ['errorCode' => 'UnsupportedOperationType', 'errorMessage' => 'The specified action is not supported.', 'description' => ''],
                ],
                403 => [
                    ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
                    ['errorCode' => 'DeniedRequest', 'errorMessage' => 'Your request was denied due to instance flow control.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'InternalError', 'errorMessage' => 'An internal server error occurred.', 'description' => ''],
                    ['errorCode' => 'NetworkException', 'errorMessage' => 'A network error occurred.', 'description' => ''],
                    ['errorCode' => 'RequestTimeout', 'errorMessage' => '​The request is timeout.', 'description' => ''],
                    ['errorCode' => 'ExtractFeatureTimeout', 'errorMessage' => 'The request was timed out while extracting features.', 'description' => ''],
                    ['errorCode' => 'AccessEngineFailed', 'errorMessage' => 'An error occurred while accessing the search engine.', 'description' => ''],
                    ['errorCode' => 'InternalOssError', 'errorMessage' => 'An internal OAS error occurred.', 'description' => ''],
                    ['errorCode' => 'InternalSwiftError', 'errorMessage' => 'An internal SWIFT error occurred.', 'description' => ''],
                    ['errorCode' => 'InternalTableStoreError', 'errorMessage' => 'An internal Table Store error occurred.', 'description' => ''],
                ],
            ],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"Message\\": \\"success\\",\\n  \\"RequestId\\": \\"E0845DE6-52AF-4B50-9F15-51ED4044E6AB\\",\\n  \\"Code\\": 0,\\n  \\"Success\\": true\\n}","type":"json"}]',
            'title' => 'Modify image information',
            'description' => '## Operation description'."\n"
                .'This operation modifies image information in an Image Search instance based on the product ID and image name.'."\n"
                .'> - Instance creation time requirements apply.'."\n"
                .'<props="china">'."\n"
                .'- Instances created after June 2021 in the Shanghai and Hangzhou regions are supported. Instances in other regions can be used normally.'."\n"
                .'</props>'."\n"
                .'<props="intl">'."\n"
                .'- Instances created after December 2021 in the Singapore region are supported. Instances in other regions are currently not supported.'."\n"
                .'</props>'."\n"
                .'- For more information about the product or to obtain technical support, click [Online Consultation](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2) or contact us through DingTalk group (35035130).'."\n"
                ."\n\n"
                .'## QPS limit'."\n"
                .'The default concurrency for update operations is 20, which means a maximum of 20 requests can be processed per second.',
            'extraInfo' => '## Error codes'."\n"
                .'For a list of error codes, see [Error codes](~~66619~~).',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateImage'],
                ],
            ],
            'ramActions' => [
                [
                    'operationType' => 'update',
                    'ramAction' => [
                        'action' => 'imagesearch:UpdateImage',
                        'authLevel' => 'operate',
                        'actionConditions' => [],
                        'resources' => [
                            ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                        ],
                    ],
                ],
            ],
        ],
    ],
    'endpoints' => [
        ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imagesearch.ap-northeast-1.aliyuncs.com', 'endpoint' => 'imagesearch.ap-northeast-1.aliyuncs.com', 'vpc' => 'imagesearch-vpc.ap-northeast-1.aliyuncs.com'],
        ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imagesearch.ap-southeast-1.aliyuncs.com', 'endpoint' => 'imagesearch.ap-southeast-1.aliyuncs.com', 'vpc' => 'imagesearch-vpc.ap-southeast-1.aliyuncs.com'],
        ['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imagesearch.ap-southeast-2.aliyuncs.com', 'endpoint' => 'imagesearch.ap-southeast-2.aliyuncs.com', 'vpc' => 'imagesearch-vpc.ap-southeast-2.aliyuncs.com'],
        ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imagesearch.cn-beijing.aliyuncs.com', 'endpoint' => 'imagesearch.cn-beijing.aliyuncs.com', 'vpc' => 'imagesearch-vpc.cn-beijing.aliyuncs.com'],
        ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imagesearch.cn-hangzhou.aliyuncs.com', 'endpoint' => 'imagesearch.cn-hangzhou.aliyuncs.com', 'vpc' => 'imagesearch-vpc.cn-hangzhou.aliyuncs.com'],
        ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imagesearch.cn-hongkong.aliyuncs.com', 'endpoint' => 'imagesearch.cn-hongkong.aliyuncs.com', 'vpc' => 'imagesearch-vpc.cn-hongkong.aliyuncs.com'],
        ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imagesearch.cn-shanghai.aliyuncs.com', 'endpoint' => 'imagesearch.cn-shanghai.aliyuncs.com', 'vpc' => 'imagesearch-vpc.cn-shanghai.aliyuncs.com'],
        ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'imagesearch.cn-shenzhen.aliyuncs.com', 'endpoint' => 'imagesearch.cn-shenzhen.aliyuncs.com', 'vpc' => 'imagesearch-vpc.cn-shenzhen.aliyuncs.com'],
        ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'imagesearch.eu-central-1.aliyuncs.com', 'endpoint' => 'imagesearch.eu-central-1.aliyuncs.com', 'vpc' => 'imagesearch-vpc.eu-central-1.aliyuncs.com'],
        ['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'imagesearch.ap-south-1.aliyuncs.com', 'endpoint' => 'imagesearch.ap-south-1.aliyuncs.com', 'vpc' => 'imagesearch-vpc.ap-south-1.aliyuncs.com'],
    ],
    'errorCodes' => [
        ['code' => 'AccessEngineFailed', 'message' => 'An error occurred while accessing the search engine.', 'http_code' => 400, 'description' => ''],
        ['code' => 'ConnectionDVException', 'message' => 'Failed to obtain collection.', 'http_code' => 500, 'description' => 'internalError'],
        ['code' => 'Console.BadRequest', 'message' => 'The request has invalid parameters.', 'http_code' => 400, 'description' => 'Invalid request. Check the request parameters.'],
        ['code' => 'Console.CallServiceError', 'message' => 'An internal service error occurred.', 'http_code' => 500, 'description' => ''],
        ['code' => 'Console.InstanceNotFound', 'message' => 'The specified ImageSearch instance is not found.', 'http_code' => 400, 'description' => 'The specified instance ID does not exist. Check the instance ID and try again.'],
        ['code' => 'Console.InstanceStatusError', 'message' => 'The current instance status does not support this operation.', 'http_code' => 409, 'description' => 'Instance status error, please check the instance status'],
        ['code' => 'Console.InternalError', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 500, 'description' => 'The server has an internal error. Log on to the Alibaba Cloud console to submit a ticket.'],
        ['code' => 'Console.LoginError', 'message' => 'Check login failed.', 'http_code' => 401, 'description' => 'Login failed, please check whether the user name, password and email address are entered incorrectly.'],
        ['code' => 'Console.MigrateCapacityError', 'message' => 'Migration instance specification error.', 'http_code' => 400, 'description' => 'The specification of the target instance to be migrated is incorrect. The specification of the target instance must be greater than or equal to the specification of the source instance.'],
        ['code' => 'Console.MigrateDocNumError', 'message' => 'Migration target instance doc quantity error.', 'http_code' => 400, 'description' => 'The number of docs for the target instance must be 0.'],
        ['code' => 'Console.MigrateError', 'message' => 'An instance can only have one migration task.', 'http_code' => 400, 'description' => 'An instance can only have one migration task.'],
        ['code' => 'Console.MigrateExistError', 'message' => 'Only one migration task can exist in an instance.', 'http_code' => 400, 'description' => 'Only one migration task can exist in the current instance.'],
        ['code' => 'Console.MigrateTypeError', 'message' => 'Migration instance type error.', 'http_code' => 400, 'description' => 'Both instances must be of the same type.'],
        ['code' => 'Console.ModifyTokenTimesExceed', 'message' => 'You can only modify the token once every day.', 'http_code' => 400, 'description' => ''],
        ['code' => 'Console.NoPermissionError', 'message' => 'You are not authorized to perform this operation.', 'http_code' => 403, 'description' => ''],
        ['code' => 'Console.NotAllowedModifyToken', 'message' => 'You are not allowed to modify token today.', 'http_code' => 403, 'description' => ''],
        ['code' => 'Console.OrderStatusError', 'message' => 'Current Order status not supported this opreate.', 'http_code' => 409, 'description' => 'User order error, please confirm that the order is valid'],
        ['code' => 'Console.PidDescError', 'message' => 'The maximum character length of this PidDesc parameter is 32.', 'http_code' => 400, 'description' => ''],
        ['code' => 'Console.PidError', 'message' => 'The number of PID bindings of the current instance exceeds 50.', 'http_code' => 400, 'description' => ''],
        ['code' => 'Console.TaskAlreadyExist', 'message' => 'A task that is in progress already exists.', 'http_code' => 409, 'description' => ''],
        ['code' => 'DeniedRequest', 'message' => 'Your request was denied due to instance flow control.', 'http_code' => 403, 'description' => ''],
        ['code' => 'EmptyMeta', 'message' => 'The body content has an empty meta field.', 'http_code' => 400, 'description' => ''],
        ['code' => 'ExtractFeatureTimeout', 'message' => 'The request timed out while extracting features.', 'http_code' => 500, 'description' => ''],
        ['code' => 'IncorrectOrientation', 'message' => 'The image contains incorrect rotation flags in the meta data.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InstanceOverQuota', 'message' => 'The number of items exceeds the limit.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InstanceStatusError', 'message' => 'The current instance status does not support this operation.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InternalOssError', 'message' => 'An internal OAS error occurred.', 'http_code' => 500, 'description' => ''],
        ['code' => 'InternalSwiftError', 'message' => 'An internal SWIFT error occurred.', 'http_code' => 500, 'description' => ''],
        ['code' => 'InternalTableStoreError', 'message' => 'An internal Table Store error occurred.', 'http_code' => 500, 'description' => ''],
        ['code' => 'InvalidCategory', 'message' => 'The specified category is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidCategoryId', 'message' => 'The specified CategoryId parameter is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidCrop', 'message' => 'The specified Crop parameter is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidCustomContent', 'message' => 'The specified CustomContent is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidFilterClause', 'message' => 'The specified filtering condition is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidInstance', 'message' => 'The specified instance name is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidIntAttr', 'message' => 'The specified int_attr field is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidIntAttr', 'message' => 'The specified parameter IntAttr is not valid.', 'http_code' => 400, 'description' => 'Invalid IntAttr'],
        ['code' => 'InvalidIntAttr2', 'message' => 'The specified parameter IntAttr2 is not valid.', 'http_code' => 400, 'description' => 'Invalid IntAttr2'],
        ['code' => 'InvalidIntAttr3', 'message' => 'The specified parameter IntAttr3 is not valid.', 'http_code' => 400, 'description' => 'Invalid IntAttr3'],
        ['code' => 'InvalidIntAttr4', 'message' => 'The specified parameter IntAttr4 is not valid.', 'http_code' => 400, 'description' => 'Invalid'],
        ['code' => 'InvalidMetaItem', 'message' => 'The meta field is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidNum', 'message' => 'The specified Num parameter is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidNumParameter', 'message' => 'The specified parameter num is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidParameterReturnPicFormat', 'message' => 'The specified parameter returnPicFormat is invalid', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidParameterReturnPicType', 'message' => 'The specified parameter returnPicType is invalid', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidParameterTitleIndex', 'message' => 'The specified parameter titleIndex is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidPicContent', 'message' => 'The image size exceeds 4 MB.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidPicList', 'message' => 'The specified pic_list parameter is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidPicName', 'message' => 'The specified PicName is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidPicUrl', 'message' => 'The specified parameter PicUrl is not valid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidPrimaryPicContent', 'message' => 'The specified parameter PrimaryPicContent is not valid.', 'http_code' => 400, 'description' => 'Invalid PrimaryPicContent parameter'],
        ['code' => 'InvalidProductId', 'message' => 'The specified ProductId is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidProductId', 'message' => 'The parameter ProductId no specified.', 'http_code' => 400, 'description' => 'Invalid ProductId'],
        ['code' => 'InvalidSecondaryPicContent', 'message' => 'The specified parameter SecondaryPicContent is not valid.', 'http_code' => 400, 'description' => 'Invalid SecondaryPicContent parameter'],
        ['code' => 'InvalidStart', 'message' => 'The specified Start parameter is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidStartParameter', 'message' => 'The specified parameter start is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidStrAttr', 'message' => 'The specified StrAttr is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidStrAttr', 'message' => 'The specified parameter StrAttr is not valid.', 'http_code' => 400, 'description' => 'Invalid StrAttr'],
        ['code' => 'InvalidStrAttr2', 'message' => 'The specified parameter StrAttr2 is not valid.', 'http_code' => 400, 'description' => 'Invalid'],
        ['code' => 'InvalidStrAttr3', 'message' => 'The specified parameter StrAttr3 is not valid.', 'http_code' => 400, 'description' => 'Invalid StrAttr3'],
        ['code' => 'InvalidStrAttr4', 'message' => 'The specified parameter StrAttr4 is not valid.', 'http_code' => 400, 'description' => 'Invalid StrAttr4'],
        ['code' => 'InvalidText', 'message' => 'The specified parameter Text is not valid.', 'http_code' => 400, 'description' => 'Description Text cannot be null'],
        ['code' => 'InvalidTextLength', 'message' => 'Invalid text clause.', 'http_code' => 400, 'description' => 'The text field length must be within 512.'],
        ['code' => 'InvalidType', 'message' => 'The specified Type is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'InvalidUserType', 'message' => 'The specified UserType parameter is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'NeedRegisterBeforeInvoke', 'message' => 'Register for PID before invoking the service.', 'http_code' => 400, 'description' => ''],
        ['code' => 'NetworkException', 'message' => 'A network error occurred.', 'http_code' => 500, 'description' => ''],
        ['code' => 'NoCaretSeperator', 'message' => 'The body content is missing the ^ separator.', 'http_code' => 400, 'description' => ''],
        ['code' => 'NoPermission', 'message' => 'You are not authorized to perform this operation.', 'http_code' => 403, 'description' => ''],
        ['code' => 'NoPicList', 'message' => 'The body content is missing the pic_list parameter.', 'http_code' => 400, 'description' => ''],
        ['code' => 'NoSpecifiedAddPic', 'message' => 'You must specify an image.', 'http_code' => 400, 'description' => ''],
        ['code' => 'NoSpecifiedItemId', 'message' => 'You must specify item_id.', 'http_code' => 400, 'description' => ''],
        ['code' => 'NoSpecifiedPic', 'message' => 'The content of an image is not specified in the HTTP POST body.', 'http_code' => 400, 'description' => ''],
        ['code' => 'NoSpecifiedPicContent', 'message' => 'You must specify PicContent.', 'http_code' => 400, 'description' => ''],
        ['code' => 'NoSpecifiedPicName', 'message' => 'You must specify PicName.', 'http_code' => 400, 'description' => ''],
        ['code' => 'NoSpecifiedProductId', 'message' => 'You must specify ProductId.', 'http_code' => 400, 'description' => ''],
        ['code' => 'NoSpecifiedSearchPic', 'message' => 'You must specify a search image.', 'http_code' => 400, 'description' => ''],
        ['code' => 'OverflowMaxResultNum', 'message' => 'The specified number of total results exceeds the maximum of 500.', 'http_code' => 400, 'description' => ''],
        ['code' => 'OverflowMaxReturnNum', 'message' => 'The specified number of results for each request exceeds the maximum of 100.', 'http_code' => 400, 'description' => ''],
        ['code' => 'PicNotExist', 'message' => 'The specified image does not exist.', 'http_code' => 400, 'description' => ''],
        ['code' => 'PictureError', 'message' => '[download] Img Download Failed.', 'http_code' => 500, 'description' => 'Picture download failed, please check the picture'],
        ['code' => 'PidNotExist', 'message' => 'The specified Pid parameter does not exist.', 'http_code' => 400, 'description' => ''],
        ['code' => 'RequestTimeout', 'message' => 'The request timed out.', 'http_code' => 500, 'description' => ''],
        ['code' => 'SearchTimeout', 'message' => 'The request timed out.', 'http_code' => 400, 'description' => ''],
        ['code' => 'ServerInternalError', 'message' => 'An internal error occurred.', 'http_code' => 500, 'description' => ''],
        ['code' => 'TimeoutForTransferImage', 'message' => 'Image transfer timed out.', 'http_code' => 400, 'description' => ''],
        ['code' => 'UnknownException', 'message' => 'An internal server error occurred.', 'http_code' => 500, 'description' => ''],
        ['code' => 'UnsupportedInstanceType', 'message' => 'The instance type is not supported.', 'http_code' => 500, 'description' => ''],
        ['code' => 'UnsupportedOperationType', 'message' => 'The specified action is not supported.', 'http_code' => 500, 'description' => ''],
        ['code' => 'UnsupportedPicCategory', 'message' => 'The picture category is not supported.', 'http_code' => 400, 'description' => ''],
        ['code' => 'UnsupportedPicFormat', 'message' => 'The specified image format is invalid.', 'http_code' => 400, 'description' => ''],
        ['code' => 'UnsupportedPicPixels', 'message' => 'The specified pixels is not supported.', 'http_code' => 400, 'description' => ''],
        ['code' => 'UnsupportedPictureFormat', 'message' => 'The format of the specified picture is not supported.', 'http_code' => 400, 'description' => ''],
        ['code' => 'UnsupportedInstanceType', 'message' => 'The instance type is not supported.', 'http_code' => 400, 'description' => ''],
        ['code' => 'UnsupportedOperationType', 'message' => 'The specified action is not supported.', 'http_code' => 400, 'description' => ''],
        ['code' => 'PictureError', 'message' => '[download] Img Download Failed.', 'http_code' => 400, 'description' => 'Picture download failed, please check the picture'],
        ['code' => 'Console.OssError', 'message' => 'OSS information error.', 'http_code' => 400, 'description' => 'oss information error'],
    ],
    'changeSet' => [],
    'flowControl' => [
        'flowControlList' => [
            ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateImage'],
            ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'],
            ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteImage'],
            ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchImageByPic'],
            ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchImageByName'],
            ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddImage'],
        ],
    ],
    'ram' => [
        'productCode' => 'ImageSearch',
        'productName' => 'Image Search',
        'ramCodes' => ['imagesearch'],
        'ramLevel' => 'RESOURCE',
        'ramConditions' => [],
        'ramActions' => [
            [
                'apiName' => 'SearchImageByPic',
                'description' => '',
                'operationType' => 'get',
                'ramAction' => [
                    'action' => 'imagesearch:SearchImageByPic',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'DumpMetaList',
                'description' => '',
                'operationType' => '',
                'ramAction' => [
                    'action' => 'imagesearch:DumpMetaList',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'SearchImageByText',
                'description' => '',
                'operationType' => 'get',
                'ramAction' => [
                    'action' => 'imagesearch:SearchImageByText',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'AddImage',
                'description' => '',
                'operationType' => 'create',
                'ramAction' => [
                    'action' => 'imagesearch:AddImage',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'SearchImageByName',
                'description' => '',
                'operationType' => 'get',
                'ramAction' => [
                    'action' => 'imagesearch:SearchImageByName',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'SearchImageByFilter',
                'description' => '',
                'operationType' => 'get',
                'ramAction' => [
                    'action' => 'imagesearch:SearchImageByFilter',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'DumpMeta',
                'description' => '',
                'operationType' => '',
                'ramAction' => [
                    'action' => 'imagesearch:DumpMeta',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'UpdateImage',
                'description' => '',
                'operationType' => 'update',
                'ramAction' => [
                    'action' => 'imagesearch:UpdateImage',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'DeleteImage',
                'description' => '',
                'operationType' => 'delete',
                'ramAction' => [
                    'action' => 'imagesearch:DeleteImage',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'CheckImageExists',
                'description' => '',
                'operationType' => 'get',
                'ramAction' => [
                    'action' => 'imagesearch:CheckImageExists',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'IncreaseInstance',
                'description' => '',
                'operationType' => '',
                'ramAction' => [
                    'action' => 'imagesearch:IncreaseInstance',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'Detail',
                'description' => '',
                'operationType' => '',
                'ramAction' => [
                    'action' => 'imagesearch:Detail',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'IncreaseList',
                'description' => '',
                'operationType' => '',
                'ramAction' => [
                    'action' => 'imagesearch:IncreaseList',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
            [
                'apiName' => 'CompareSimilarByImage',
                'description' => '',
                'operationType' => 'none',
                'ramAction' => [
                    'action' => 'imagesearch:CompareSimilarByImage',
                    'authLevel' => 'operate',
                    'actionConditions' => [],
                    'resources' => [
                        ['validationType' => 'always', 'product' => 'ImageSearch', 'resourceType' => 'All Resource', 'arn' => '*'],
                    ],
                ],
            ],
        ],
        'resourceTypes' => [],
    ],
];