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

unityaisolutions /svg-to-png:3ed33e45

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
svg_file
string
SVG file to convert to PNG
width
integer

Min: 1

Max: 10000

Output width in pixels (leave empty to use SVG width)
height
integer

Min: 1

Max: 10000

Output height in pixels (leave empty to use SVG height)
scale
number

Min: 0.1

Max: 10

Scale factor to multiply SVG dimensions by (overrides width/height if set)
dpi
integer
96

Min: 72

Max: 600

DPI (dots per inch) for rendering
background_color
string
transparent
Background color (hex code like '#FFFFFF' or 'transparent')

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'}