curl --request POST \
--url https://api.quiver.ai/v1/svgs/vectorizations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "arrow-preview",
"stream": false,
"image": {
"url": "https://example.com/uploads/logo.png"
}
}
'{
"id": "resp_01J9AZ3XJ7D5S9ZV2Q5Z8E1A4N",
"created": 1704067200,
"data": [
{
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M12 2l8 20H4z\"/></svg>",
"mime_type": "image/svg+xml"
}
],
"usage": {
"total_tokens": 1640,
"input_tokens": 1200,
"output_tokens": 440
}
}Converts an image input into one or more SVG outputs.
curl --request POST \
--url https://api.quiver.ai/v1/svgs/vectorizations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "arrow-preview",
"stream": false,
"image": {
"url": "https://example.com/uploads/logo.png"
}
}
'{
"id": "resp_01J9AZ3XJ7D5S9ZV2Q5Z8E1A4N",
"created": 1704067200,
"data": [
{
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M12 2l8 20H4z\"/></svg>",
"mime_type": "image/svg+xml"
}
],
"usage": {
"total_tokens": 1640,
"input_tokens": 1200,
"output_tokens": 440
}
}Authentication via Bearer token API key
Model identifier to use for generation or vectorization.
1"arrow-preview"
Show child attributes
Number of outputs to generate.
1 <= x <= 161
Nucleus sampling probability.
0 <= x <= 10.95
Upper bound for output token count.
1 <= x <= 1310724096
When true, emits a Server-Sent Events stream.
false
Sampling temperature.
0 <= x <= 20.4
Penalty for tokens already present in prior output.
-2 <= x <= 20.2
Auto-crop image to the dominant subject before vectorization.
true
Square resize target in pixels before inference.
128 <= x <= 40961024
When stream is false, returns application/json with the full SVG response. When stream is true, returns text/event-stream with Server-Sent Events. Each SSE message contains an event: line (reasoning, draft, or content) and a data: line with a JSON payload. The stream terminates with data: [DONE].
Was this page helpful?