Math API

Usage

https://mathapi.aitechtogether.com/?from=[LaTeX Math Equation]

Block notation

https://mathapi.aitechtogether.com/?from=\frac{1}{\Gamma(s)}\int_{0}^{\infty}\frac{u^{s-1}}{e^{u}-1}\mathrm{d}u

Inline notation

https://mathapi.aitechtogether.com/?inline=\frac{1}{\Gamma(s)}\int_{0}^{\infty}\frac{u^{s-1}}{e^{u}-1}\mathrm{d}u

Color

By default, the color of equation will be black in light theme, or white in dark theme. You can manually change this behavior by passing `color` and `alternateColor` parameters.

https://mathapi.aitechtogether.com/?from=\sum&color=red

https://mathapi.aitechtogether.com/?from=\sum&color=red&alternateColor=cyan

HTML Example

<img src="https://mathapi.aitechtogether.com/?from=\log\prod^N_{i}x_{i}=\sum^N_i\log{x_i}" />

<img src="https://mathapi.aitechtogether.com/?inline=\log\prod^N_{i}x_{i}=\sum^N_i\log{x_i}" />

Markdown Example

![Equation 1](https://mathapi.aitechtogether.com/?from=\text{softplus}(x)=\log(1+e^x))