image

Vectorize image

post/v1/images/vectorize

Request

Request body

image_format'webp' | 'png'
response_format'url' | 'b64_json' | 'multipart'
upscale'upscale4mp' | 'upscale16mp'
zdrboolean

Zero data retention: the prompt and the input and output image bytes are neither stored nor logged; only an output requested as a URL is uploaded so it can be served.

color_reduction'on' | 'off'
limit_num_shapes'on' | 'off'
max_num_colorsinteger
max_num_shapesinteger
return_gradients'on' | 'off'
shape_stacking'cut_out' | 'hierarchical'
small_shape_filter'on' | 'off'
svg_compression'on' | 'off'
image_urlstring

URL or data URL of the input image. JSON counterpart of the image file.

Response

OK

createdinteger required
creditsinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.