curl --request POST \
--url https://api.quiver.ai/v1/svgs/vectorizations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"image": {
"url": "https://example.com/uploads/logo.png"
},
"model": "arrow-1.1",
"stream": false
}
'{
"created": 1704067200,
"data": [
{
"mime_type": "image/svg+xml",
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M12 2l8 20H4z\"/></svg>"
}
],
"id": "resp_01J9AZ3XJ7D5S9ZV2Q5Z8E1A4N",
"credits": 1,
"usage": {
"input_tokens": 0,
"output_tokens": 0,
"total_tokens": 0
}
}Converts an image input into an SVG output.
curl --request POST \
--url https://api.quiver.ai/v1/svgs/vectorizations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"image": {
"url": "https://example.com/uploads/logo.png"
},
"model": "arrow-1.1",
"stream": false
}
'{
"created": 1704067200,
"data": [
{
"mime_type": "image/svg+xml",
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M12 2l8 20H4z\"/></svg>"
}
],
"id": "resp_01J9AZ3XJ7D5S9ZV2Q5Z8E1A4N",
"credits": 1,
"usage": {
"input_tokens": 0,
"output_tokens": 0,
"total_tokens": 0
}
}Documentation Index
Fetch the complete documentation index at: https://docs.quiver.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authentication via Bearer token API key
Model identifier to use for generation or vectorization.
1"arrow-1.1"
Show child attributes
Upper bound for output token count.
1 <= x <= 1310724096
Penalty for tokens already present in prior output.
-2 <= x <= 20.2
When true, emits a Server-Sent Events stream.
false
Sampling temperature.
0 <= x <= 20.4
Nucleus sampling probability.
0 <= x <= 10.95
Auto-crop image to the dominant subject before vectorization.
true
Square resize target in pixels.
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 (generating, reasoning, draft, or content) and a data: line with a JSON payload. usage token fields are deprecated and set to 0; use credits for billing values. For streaming, credits is emitted on completed content events. The stream terminates with data: [DONE].
x >= 01704067200
1Show child attributes
1"resp_01J9AZ3XJ7D5S9ZV2Q5Z8E1A4N"
Credit cost for this request. Use this for billing instead of usage tokens.
x >= 01
Deprecated. Use credits for billing values.
Show child attributes
Was this page helpful?