Text to SVG
Generates one or more SVGs from a prompt and optional references.
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.
Authorizations
Authentication via Bearer token API key
Body
Model identifier to use for generation or vectorization.
1"arrow-1.1"
Primary text prompt that describes the desired SVG.
1"Generate an icon of a unicorn"
Optional SVG root attributes requested by the caller.
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
Additional style or formatting guidance.
1"Use a flat monochrome style with clean geometry."
Number of outputs to generate.
1 <= x <= 161
Optional reference images to guide style/composition. Accepts { url }, { base64 }, or URL string shorthand. Runtime limits are model-specific: 4 for Arrow 1.1/Arrow 1.x aliases, 16 for Arrow 1.1 Max.
16Response
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. For n > 1, events are interleaved across outputs, each output keeps a stable data.id, and data.index indicates the output position. 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
11"resp_01J9AZ3XJ7D5S9ZV2Q5Z8E1A4N"
Credit cost for this request. Use this for billing instead of usage tokens.
x >= 01
Deprecated. Use credits for billing values.