Text To Equation Images API

  1. Home
  2. Products
  3. Text To Equation Images API

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?

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

Use Cases

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

Here is an actual output image from the API

Equation output

Here are some examples you can input to the API

Example Inputs

  • x^2 - y^2 = (x - y)
  • f(t) = x + y * z
  • S(f)(t)=a_{0}+sum{n=1}{+infty}{a_{n} cos(n omega t)+b_{n} sin(n omega t)}
  • delim{lbrace}{matrix{3}{1}{ {3x-5y+z=0} {sqrt{2}x-7y+8z=0} {x-8y+9z=0}}}{ }
  • delim{|}{ {1/N} sum{n=1}{N}{gamma(u_n)} - 1/{2 pi} int{0}{2 pi}{gamma(t) dt}}{|} <= epsilon/3

Reference

Usual commands

x+y : x+y
x-y : x-y
x*y : x*y
x/y : x/y
x^y : x^y
x_y : x_y
x<>y : x<>y
x>y : x>y
x>=y : x>=y
x<y : x<y
x<=y : x<=y

Limits

lim{a}{x} : lim{a}{x}

Operators

int{a}{b}{x} : int{a}{b}{x}
doubleint{a}{b}{x} : doubleint{a}{b}{x}
tripleint{a}{b}{x} : tripleint{a}{b}{x}
oint{a}{b}{x} : oint{a}{b}{x}
sum{a}{b}{x} : sum{a}{b}{x}
prod{a}{b}{x} : prod{a}{b}{x}
bigcup{a}{b}{x} : bigcup{a}{b}{x}
bigcap{a}{b}{x} : bigcap{a}{b}{x}

Arrows

left : left
right : right
leftright : leftright
doubleleft : doubleleft
doubleright : doubleright
doubleleftright : doubleleftright
nearrow : nearrow
searrow : searrow

Sets

bbR : bbR
bbN : bbN
bbZ : bbZ
bbC : bbC

Greek Letters

alpha : alpha
beta : beta
gamma : gamma
delta : delta
epsilon : epsilon
varepsilon : varepsilon
zeta : zeta
eta : eta
theta : theta
vartheta : vartheta
iota : iota
kappa : kappa
lambda : lambda
mu : mu
nu : nu
xi : xi
pi : pi
varpi : varpi
rho : rho
varrho : varrho
sigma : sigma
varsigma : varsigma
tau : tau
upsilon : upsilon
phi : phi
varphi : varphi
chi : chi
psi : psi
omega : omega
Gamma : Gamma
Lambda : Lambda
Sigma : Sigma
Psi : Psi
Delta : Delta
Xi : Xi
Upsilon : Upsilon
Omega : Omega
Theta : Theta
Pi : Pi
Phi : Phi

Roots

sqrt{a} : sqrt{a}
root{n}{a} : root{n}{a}

Constructions

vec{express} : vec{express}

{express}under{foo} : {express}under{foo}

{express}over{foo} : {express}over{foo}

overline{express} : overline{express}

underline{express} : underline{express}

hat{express} : hat{express}

Delimiters

delim{[}{x}{]} : delim{[}{x}{]}
delim{]}{x}{]} : delim{]}{x}{]}
delim{[}{x}{[} : delim{[}{x}{[}
delim{]}{x}{[} : delim{]}{x}{[}
delim{lbrace}{x}{rbrace} : delim{lbrace}{x}{rbrace}
delim{|}{x}{|} : delim{|}{x}{|}
delim{vert}{x}{vert} : delim{vert}{x}{vert}

Parenthesis

visible : (x)
invisible : {x}

Math Space

a~b : a~b

Symbols

infty : infty
in : in
notin : notin
forall : forall
exists : exists
notexists : notexists
partial : partial
approx : approx
pm : pm
inter : inter
union : union
ortho : ortho
parallel : parallel
backslash : backslash
prime : prime
wedge : wedge
vert : vert
lbrace : {
rbrace : }
circ : circ
varnothing : varnothing
subset : subset
notsubset : notsubset
cdots : cdots
vdots : vdots
ddots : ddots

Matrix

matrix{num of lines}{num of columns}{first_element ... last_element}
Example :
matrix{2}{3}{a b c d e f g} : matrix{2}{3}{a b c d e f g}

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