Check API Quota
Request Parameters
Sample Request
IopClient client = new IopClientImpl(url, appkey, appSecret);
IopRequest request = new IopRequest();
request.setApiName("/ai/query/balance");
// If you have not purchased a formal quota, please add a trial marker; otherwise, you will receive the NoResource error code.
// request.addHeaderParameter("x-iop-trial","true");
request.addApiParameter("apiPath", "/ai/image/translation");
IopResponse response = client.execute(request);
System.out.println(response.getBody());
Thread.sleep(10);Parameter Response
Sample Response
Error Code
Last updated