You're looking at a specific version of this model. Jump to the model overview.

magpai-app /cog-puppeteer:6b398d82

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
mode
string (enum)
html

Options:

html, url

Page mode
data
string
HTML or URL
width
integer
512
Width
height
integer
512
Height
format
string
png
Format (png, jpg, pdf)
pdfSize
string
A4
PDF Size

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'properties': {'image': {'format': 'uri', 'title': 'Image', 'type': 'string'}},
 'required': ['image'],
 'title': 'Output',
 'type': 'object'}