Text To Equation Images API

Get Math Equations as images just by giving text as input via API. Great addition to you document workflow.

Equation to Image API

Bring your equations to life with our powerful API that converts mathematical expressions into high-quality images. Perfect for developers, educators, and content creators who need seamless equation rendering for web apps, documents, or presentations.

Why Choose Our API?

  • Fast & Reliable – Get equation images in seconds.
  • High-Quality Output – Crisp, clear, and customizable visuals.
  • Seamless Integration – Easy-to-use API for any platform.

Use Cases

  • Educational Platforms – Enhance learning materials with clear mathematical visuals.
  • Technical Blogs – Improve content readability with properly formatted equations.
  • Research Papers – Generate precise mathematical notation for documentation.
  • E-commerce & Apps – Display pricing formulas, physics equations, and more.

Here is an actual output image from the API

Equation output

Text to Equation Image API Documentation

POST /image/equation
    parameters 
              equation = <equation>
              format = <jpeg/png>
              size = <number> // Font size
              color = <#000000> // Font color in hex
              bgcolor = <#ffffff> // background color in hex
              transparent = true/false // Transparent background ? Only if PNG

The above call should produce a result like this

{
    "success": {
        "total": 6
    },
    "contents": {
        "success": true,
        "format": "jpeg",
        "size": "24",
        "image": "/9j/4AAQSkZJRgABAQEA...",
        "equation": "S(f)(t)=a_{0}+sum{n=1}{+infty}{a_{n} cos(n omega t)+b_{n} sin(n omega t)}",
        "encoding": "base64"
    },
    "copyright": {
        "url": "api.interfaces.one",
        "year": "2025"
    }
}

Ratelimiting

Some of our API calls may be public(requires free API key) , while others requires paid subscription. To maintain our serice levels both public and private API endpoints are ratelimited. Please consult your specific plan that you subscribed to for the rate limit details.

Authentication

Currently we support API Key based authentication. Please set your Autorization Bearer request header 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, since it will allow others to see your key.

In curl this would mean sending the Authorization header like below.

            
 curl -i <url> -H "Authorization: Bearer <api_key>"
            
            

If you are using PHP.

            
$authorization = "Authorization: Bearer <api_key>";
$ch = curl_init('<url>'); // Initialise cURL
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json' , $authorization ));
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); // OR GET
$result = curl_exec($ch);
curl_close($ch);
            
            

In javascript you can use headers key to add the authorization header

            
$.ajax({
   url: '<url>'
   type: 'GET',
   contentType: 'application/json'
   headers: {
      'Authorization': 'Bearer <api_key>'
   },
   success: function (result) {
       // CallBack(result);
   },
   error: function (error) {

   }
});
            
            

API Console

The following are the API calls you can make. You can try out / test the calls right from this page. Please note, javascript needs to be enabled to see the documentation below.

Pricing

Choose the Perfect Plan for Your Needs

We understand that every customer is unique, which is why we offer a variety of pricing plans tailored to fit different needs and budgets. Whether you're a small business owner, a growing startup, or a large enterprise, we have a plan that will provide you with the features and support you need to succeed. Explore our plans below and find the one that's right for you!

Interfaces One Text to Equation Images API Starter

$ 24 99 /month
  • 1 API Key
  • No setup, or hidden fees
  • 5000 API Calls/day
  • Fast support
Get started

Interfaces One Text to Equation Images API Premium

$ 49 99 /month
  • 1 API Key
  • No setup, or hidden fees
  • 15000 API Calls/day
  • Fast support
Get started

Interfaces One Text to Equation Images API Enterprise

$ 99 99 /month
  • 1 API Key
  • No setup, or hidden fees
  • 25000 API Calls/day
  • Fast support
Get started