Create image
Last updated
Last updated
POST
https://mtmx.io/v1/image
Authorization*
String
Bearer YOUR-API-KEY
html*
String
The HTML you want to render for creating an image.
content
Object
type
String
Defines whether to render JPEG or PNG image. Accepted values are png
and jpeg
. Default value is png
.
quality
Number
Defines the quality of JPG images. Not applicable to PNG images. Default value 80
.
selector
String
Target a specific HTML element to perform the screenshot. Default value is body
.
transparent
Boolean
Hides default white background and allows capturing screenshots with transparency. Default value is false
.
Updates values when using Handlebars templating syntax. .