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

ahmedaldakheel /html2pic:129ade64

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
output_format
None
png
Output file format
width
integer
1920

Min: 100

Max: 7680

Image width in pixels
height
integer
1080

Min: 100

Max: 4320

Image height in pixels
quality
integer
90

Min: 1

Max: 100

Image quality (for JPEG only, 1-100)
full_page
boolean
False
Capture full page (ignores height parameter)
html_content
string
<html><body><h1 style='color: #00aeac; font-family: Arial;'>Hello World!</h1></body></html>
HTML content to convert to image
device_scale_factor
number
1

Min: 1

Max: 3

Device scale factor for high-DPI displays

Output schema

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

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}