Create image
Before getting started: You will need to create your API key.
Create and return a new image URL
POST
https://mtmx.io/v1/image
Headers
Name | Type | Description |
---|---|---|
Authorization* | String |
|
Request Body
Name | Type | Description |
---|---|---|
html* | String | The HTML you want to render for creating an image. |
content | Object | Updates values when using Handlebars templating syntax. Learn more. |
type | String | Defines whether to render JPEG or PNG image. Accepted values are |
quality | Number | Defines the quality of JPG images. Not applicable to PNG images. Default value |
selector | String | Target a specific HTML element to perform the screenshot. Default value is |
transparent | Boolean | Hides default white background and allows capturing screenshots with transparency. Default value is |
Last updated