Text Art Image to Text art API

Generate an ASCII art from a image.

To access the web version of this service click here.

API End Points

The end point for connecting : If you subscribe directly from us use this endpoint.
	http://api.textart.io/img2txt
	

Ratelimiting

Our Text Art Image to Text art API is public. To maintain our service level we ratelimit the number of API calls. For public API calls this is 60 API calls a day with distribution of 5 calls an hour. For paid plans this limit is increased according to the service level described in the plan.

Authentication

For public calls you don't need to pass any API key. Just invoke the endpoint (see examples below). For paid subscriptions you need to pass the API key.

Currently we support API Key based authentication. Please set a request header 'X-Textart-Api-Secret' with value of your API key. Alternatively you can also pass api_key= as a request parameter, though we strongly discourage this mode of passing the key.

Convert the given image into text art (color or mono) public ratelimited

Convert an image into text art.

POST  /img2txt

Convert an image to text art

Parameters
Parameter NameParameter TypeDescription
imagebinaryImage file to convert to text art.
formatstringTarget text art format : "color" / "mono".
encodeboolShould Base64 encode the result or not.
output
The result is a json object with the image converted to text art .

Here is an example using CURL to convert the given text.

curl -v -i -X POST -H 'X-Textart-Api-Secret: <api_key>' http://api.textartio/img2txt.json --form image=@girl.png
	

The above call if successful will return a json response something like this.

{
    "success": {
        "total": "1"
    },
    "contents": {
        "style" : "color",
        "textart": "..."
    }
}
	

Subscribe

Text Art Image to Text API Basic

$4.99/mo

No contracts. Anytime cancellation.
1 API Key
2000 API Calls / day
Best in class backend tools
Easy to use REST API
Immediate provisioning

Text Art Image to Text API Premium

$9.99/mo

No contracts. Anytime cancellation.
1 API Key
5000 API Calls / day
Best in class backend tools
Easy to use REST API
Immediate provisioning

Text Art Image to Text API Ultra

$24.99/mo

No contracts. Anytime cancellation.
1 API Key
15000 API Calls / day
Best in class backend tools
Easy to use REST API
Immediate provisioning