Vectorize an image to SVG
Convert a raster image (PNG) to a scalable SVG by remapping pixels to the supplied palette and tracing each color layer. Best for logos, icons, and illustrations with flat colors — not photographs.
Costs 0.10 in credits (EUR, excluding VAT; VAT is added when you buy credits) per call; see GET /v1/pricing. The output is an SVG (image/svg+xml) with an embedded C2PA content-credentials manifest when signing is enabled.
Authorizations
Section titled “ Authorizations ”Request Body
Section titled “ Request Body ”object
Background hex color (#RRGGBB). Composited under transparent inputs.
Transparency mode for RGBA inputs. true = clip-mask (silhouettes); false = green-key (interior light fills). Defaults to true.
Foreground hex colors (#RRGGBB), 1-20 entries. Fewer, distinct colors produce cleaner SVGs.
HTTPS URL of the PNG to vectorize. Best for logos, icons, and illustrations with flat colors — not photographs.
Responses
Section titled “ Responses ”OK
object
When true, treat the output as AI-generated content (EU AI Act Art. 50). False when no AI marker was found in the input; this does not mean the input was not made with AI.
Remaining balance after this operation, in credits (EUR, excluding VAT). Omitted when it cannot be stated exactly (the charge could not be recorded, or the balance could not be read).
MIME type of the output image.
What this operation charged, in credits (EUR, excluding VAT): processing_cost_eur, or its override in processing_operation_costs (GET /v1/pricing). 0.00 when the charge could not be recorded; you are then not charged.
ISO 8601 expiry time of the signed URL.
Signed URL of the processed image. Expires in 1 hour.
Processing operation performed.
Bad Request
object
Unauthorized
object
Payment Required
object
Forbidden
object
Not Found
object
Conflict
object
Unprocessable Entity
object
Too Many Requests
object
Unavailable For Legal Reasons
object
Internal Server Error
object
Bad Gateway
object
Service Unavailable