You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 1, 2025. It is now read-only.
// Import classes:importio.imager200.ApiClient;
importio.imager200.ApiException;
importio.imager200.Configuration;
importio.imager200.auth.*;
importio.imager200.models.*;
importio.imager200.client.TextApi;
publicclassExample {
publicstaticvoidmain(String[] args) {
ApiClientdefaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.imager200.io");
// Configure API key authorization: ApiKeyAuthApiKeyAuthApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
ApiKeyAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");TextApiapiInstance = newTextApi(defaultClient);
Stringurl = "url_example"; // String | image url, supported formats jpeg,png,bmp,gifStringtext = "text_example"; // String | the text to be added.Stringcolor = "white"; // String | defines the color of the text. Must be a valid color name (supported names are specified here [https://www.w3schools.com/colors/colors_names.asp](https://www.w3schools.com/colors/colors_names.asp)) or hexadecimal code.Stringfont = "calibri"; // String | defines the font type name. Possible values can be found [here](https://api-docs.imager200.io/fonts_example/). (More fonts can be added on request)BigDecimalsize = newBigDecimal("12"); // BigDecimal | the text size in pixels.Integerx = 50; // Integer | the x coordinate in pixels of the point where the text will be added.Integery = 50; // Integer | the y coordinate in pixels of the point where the text will be added.try {
InfoResponseresult = apiInstance.textAsyncGet(url, text, color, font, size, x, y);
System.out.println(result);
} catch (ApiExceptione) {
System.err.println("Exception when calling TextApi#textAsyncGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
// Import classes:importio.imager200.ApiClient;
importio.imager200.ApiException;
importio.imager200.ApiResponse;
importio.imager200.Configuration;
importio.imager200.auth.*;
importio.imager200.models.*;
importio.imager200.client.TextApi;
publicclassExample {
publicstaticvoidmain(String[] args) {
ApiClientdefaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.imager200.io");
// Configure API key authorization: ApiKeyAuthApiKeyAuthApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
ApiKeyAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");TextApiapiInstance = newTextApi(defaultClient);
Stringurl = "url_example"; // String | image url, supported formats jpeg,png,bmp,gifStringtext = "text_example"; // String | the text to be added.Stringcolor = "white"; // String | defines the color of the text. Must be a valid color name (supported names are specified here [https://www.w3schools.com/colors/colors_names.asp](https://www.w3schools.com/colors/colors_names.asp)) or hexadecimal code.Stringfont = "calibri"; // String | defines the font type name. Possible values can be found [here](https://api-docs.imager200.io/fonts_example/). (More fonts can be added on request)BigDecimalsize = newBigDecimal("12"); // BigDecimal | the text size in pixels.Integerx = 50; // Integer | the x coordinate in pixels of the point where the text will be added.Integery = 50; // Integer | the y coordinate in pixels of the point where the text will be added.try {
ApiResponse<InfoResponse> response = apiInstance.textAsyncGetWithHttpInfo(url, text, color, font, size, x, y);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiExceptione) {
System.err.println("Exception when calling TextApi#textAsyncGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
// Import classes:importio.imager200.ApiClient;
importio.imager200.ApiException;
importio.imager200.Configuration;
importio.imager200.auth.*;
importio.imager200.models.*;
importio.imager200.client.TextApi;
publicclassExample {
publicstaticvoidmain(String[] args) {
ApiClientdefaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.imager200.io");
// Configure API key authorization: ApiKeyAuthApiKeyAuthApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
ApiKeyAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");TextApiapiInstance = newTextApi(defaultClient);
Stringtext = "text_example"; // String | the text to be added.Filebody = newFile("/path/to/file"); // File | image binary data, acceptable formats: jpeg,png,bmp,gifStringcolor = "white"; // String | defines the color of the text. Must be a valid color name (supported names are specified here [https://www.w3schools.com/colors/colors_names.asp](https://www.w3schools.com/colors/colors_names.asp)) or hexadecimal code.Stringfont = "calibri"; // String | defines the font type name. Possible values can be found [here](https://api-docs.imager200.io/fonts_example/). (More fonts can be added on request)BigDecimalsize = newBigDecimal("12"); // BigDecimal | the text size in pixels.Integerx = 50; // Integer | the x coordinate in pixels of the point where the text will be added.Integery = 50; // Integer | the y coordinate in pixels of the point where the text will be added.try {
InfoResponseresult = apiInstance.textAsyncPost(text, body, color, font, size, x, y);
System.out.println(result);
} catch (ApiExceptione) {
System.err.println("Exception when calling TextApi#textAsyncPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
// Import classes:importio.imager200.ApiClient;
importio.imager200.ApiException;
importio.imager200.ApiResponse;
importio.imager200.Configuration;
importio.imager200.auth.*;
importio.imager200.models.*;
importio.imager200.client.TextApi;
publicclassExample {
publicstaticvoidmain(String[] args) {
ApiClientdefaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.imager200.io");
// Configure API key authorization: ApiKeyAuthApiKeyAuthApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
ApiKeyAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");TextApiapiInstance = newTextApi(defaultClient);
Stringtext = "text_example"; // String | the text to be added.Filebody = newFile("/path/to/file"); // File | image binary data, acceptable formats: jpeg,png,bmp,gifStringcolor = "white"; // String | defines the color of the text. Must be a valid color name (supported names are specified here [https://www.w3schools.com/colors/colors_names.asp](https://www.w3schools.com/colors/colors_names.asp)) or hexadecimal code.Stringfont = "calibri"; // String | defines the font type name. Possible values can be found [here](https://api-docs.imager200.io/fonts_example/). (More fonts can be added on request)BigDecimalsize = newBigDecimal("12"); // BigDecimal | the text size in pixels.Integerx = 50; // Integer | the x coordinate in pixels of the point where the text will be added.Integery = 50; // Integer | the y coordinate in pixels of the point where the text will be added.try {
ApiResponse<InfoResponse> response = apiInstance.textAsyncPostWithHttpInfo(text, body, color, font, size, x, y);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiExceptione) {
System.err.println("Exception when calling TextApi#textAsyncPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
// Import classes:importio.imager200.ApiClient;
importio.imager200.ApiException;
importio.imager200.Configuration;
importio.imager200.auth.*;
importio.imager200.models.*;
importio.imager200.client.TextApi;
publicclassExample {
publicstaticvoidmain(String[] args) {
ApiClientdefaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.imager200.io");
// Configure API key authorization: ApiKeyAuthApiKeyAuthApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
ApiKeyAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");TextApiapiInstance = newTextApi(defaultClient);
Stringurl = "url_example"; // String | image url, supported formats jpeg,png,bmp,gifStringtext = "text_example"; // String | the text to be added.Stringcolor = "white"; // String | defines the color of the text. Must be a valid color name (supported names are specified here [https://www.w3schools.com/colors/colors_names.asp](https://www.w3schools.com/colors/colors_names.asp)) or hexadecimal code.Stringfont = "calibri"; // String | defines the font type name. Possible values can be found [here](https://api-docs.imager200.io/fonts_example/). (More fonts can be added on request)BigDecimalsize = newBigDecimal("12"); // BigDecimal | the text size in pixels.Integerx = 50; // Integer | the x coordinate in pixels of the point where the text will be added.Integery = 50; // Integer | the y coordinate in pixels of the point where the text will be added.try {
Fileresult = apiInstance.textSyncGet(url, text, color, font, size, x, y);
System.out.println(result);
} catch (ApiExceptione) {
System.err.println("Exception when calling TextApi#textSyncGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
// Import classes:importio.imager200.ApiClient;
importio.imager200.ApiException;
importio.imager200.ApiResponse;
importio.imager200.Configuration;
importio.imager200.auth.*;
importio.imager200.models.*;
importio.imager200.client.TextApi;
publicclassExample {
publicstaticvoidmain(String[] args) {
ApiClientdefaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.imager200.io");
// Configure API key authorization: ApiKeyAuthApiKeyAuthApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
ApiKeyAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");TextApiapiInstance = newTextApi(defaultClient);
Stringurl = "url_example"; // String | image url, supported formats jpeg,png,bmp,gifStringtext = "text_example"; // String | the text to be added.Stringcolor = "white"; // String | defines the color of the text. Must be a valid color name (supported names are specified here [https://www.w3schools.com/colors/colors_names.asp](https://www.w3schools.com/colors/colors_names.asp)) or hexadecimal code.Stringfont = "calibri"; // String | defines the font type name. Possible values can be found [here](https://api-docs.imager200.io/fonts_example/). (More fonts can be added on request)BigDecimalsize = newBigDecimal("12"); // BigDecimal | the text size in pixels.Integerx = 50; // Integer | the x coordinate in pixels of the point where the text will be added.Integery = 50; // Integer | the y coordinate in pixels of the point where the text will be added.try {
ApiResponse<File> response = apiInstance.textSyncGetWithHttpInfo(url, text, color, font, size, x, y);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiExceptione) {
System.err.println("Exception when calling TextApi#textSyncGet");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}
// Import classes:importio.imager200.ApiClient;
importio.imager200.ApiException;
importio.imager200.Configuration;
importio.imager200.auth.*;
importio.imager200.models.*;
importio.imager200.client.TextApi;
publicclassExample {
publicstaticvoidmain(String[] args) {
ApiClientdefaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.imager200.io");
// Configure API key authorization: ApiKeyAuthApiKeyAuthApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
ApiKeyAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");TextApiapiInstance = newTextApi(defaultClient);
Stringtext = "text_example"; // String | the text to be added.Filebody = newFile("/path/to/file"); // File | image binary data, acceptable formats: jpeg,png,bmp,gifStringcolor = "white"; // String | defines the color of the text. Must be a valid color name (supported names are specified here [https://www.w3schools.com/colors/colors_names.asp](https://www.w3schools.com/colors/colors_names.asp)) or hexadecimal code.Stringfont = "calibri"; // String | defines the font type name. Possible values can be found [here](https://api-docs.imager200.io/fonts_example/). (More fonts can be added on request)BigDecimalsize = newBigDecimal("12"); // BigDecimal | the text size in pixels.Integerx = 50; // Integer | the x coordinate in pixels of the point where the text will be added.Integery = 50; // Integer | the y coordinate in pixels of the point where the text will be added.try {
Fileresult = apiInstance.textSyncPost(text, body, color, font, size, x, y);
System.out.println(result);
} catch (ApiExceptione) {
System.err.println("Exception when calling TextApi#textSyncPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
// Import classes:importio.imager200.ApiClient;
importio.imager200.ApiException;
importio.imager200.ApiResponse;
importio.imager200.Configuration;
importio.imager200.auth.*;
importio.imager200.models.*;
importio.imager200.client.TextApi;
publicclassExample {
publicstaticvoidmain(String[] args) {
ApiClientdefaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.imager200.io");
// Configure API key authorization: ApiKeyAuthApiKeyAuthApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
ApiKeyAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");TextApiapiInstance = newTextApi(defaultClient);
Stringtext = "text_example"; // String | the text to be added.Filebody = newFile("/path/to/file"); // File | image binary data, acceptable formats: jpeg,png,bmp,gifStringcolor = "white"; // String | defines the color of the text. Must be a valid color name (supported names are specified here [https://www.w3schools.com/colors/colors_names.asp](https://www.w3schools.com/colors/colors_names.asp)) or hexadecimal code.Stringfont = "calibri"; // String | defines the font type name. Possible values can be found [here](https://api-docs.imager200.io/fonts_example/). (More fonts can be added on request)BigDecimalsize = newBigDecimal("12"); // BigDecimal | the text size in pixels.Integerx = 50; // Integer | the x coordinate in pixels of the point where the text will be added.Integery = 50; // Integer | the y coordinate in pixels of the point where the text will be added.try {
ApiResponse<File> response = apiInstance.textSyncPostWithHttpInfo(text, body, color, font, size, x, y);
System.out.println("Status code: " + response.getStatusCode());
System.out.println("Response headers: " + response.getHeaders());
System.out.println("Response body: " + response.getData());
} catch (ApiExceptione) {
System.err.println("Exception when calling TextApi#textSyncPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Response headers: " + e.getResponseHeaders());
System.err.println("Reason: " + e.getResponseBody());
e.printStackTrace();
}
}
}