input (required): the format of math in input.
Valid values:
latex,
mathml
output (required): the output format.
Valid values:
mathml,
svg,
png
source (required): the math to be rendered.
Make sure it is URL-escaped.
Valid value: string type, depends on the input format.
inline (optional): when input is latex, optionally enable "inline" mode.
Valid values:
0,
1
width, height (optional):
when output is png, specify the dimensions of the image to generate.
Valid values: positive integers.
foreground, background (optional):
colors of the foreground text and the background.
Valid values: any HTML color, in hexadecimal form (# prefix is optional for convenience)
or named form (eg: chartreuse), but in the latter case the alpha is always ignored.
foreground_alpha, background_alpha (optional):
opacity of the foreground text (default: 255)
and of the background (default: 0).
If set, will override an eventual alpha value in foreground or background, respectively.
Valid values: positive integers in the range 0-255.