QuiverAI
QuiverAI provides an OpenAI-compatible chat API optimized for generating SVG vector graphics. The provider extends the OpenAI provider and supports all standard chat completion options.
Setup
- Get an API key from QuiverAI
- Set
QUIVERAI_API_KEYenvironment variable or specifyapiKeyin your config
Available Models
| Model | Description |
|---|---|
arrow-0.5 | Flagship SVG generation model |
arrow-0.5-preview | Preview version with experimental features |
Both models support text and image inputs, and output SVG graphics in various styles (flat, outline, duotone, gradient) and modes (icon, illustration, logo).
Provider Formats
| Format | Description |
|---|---|
quiverai:model-name | Chat completions (default) |
quiverai:chat:model-name | Chat completions (explicit) |
Configuration
providers:
- id: quiverai:arrow-0.5
config:
temperature: 0.7
max_tokens: 4096
All OpenAI configuration options are supported, including temperature, top_p, max_tokens, frequency_penalty, and presence_penalty.
SVG Generation Example
QuiverAI's Arrow model generates SVG graphics via chat completions:
providers:
- id: quiverai:arrow-0.5
config:
max_tokens: 4096
prompts:
- file://prompt.json
tests:
- vars:
subject: a red heart icon
assert:
- type: contains
value: '<svg'
- type: contains
value: '</svg>'
Where prompt.json contains:
[
{
"role": "system",
"content": "You are a vector graphics designer. Output valid SVG code only."
},
{ "role": "user", "content": "Create an SVG of: {{subject}}" }
]
Sample Outputs
Here are examples of SVGs generated by QuiverAI's Arrow model:
Environment Variables
| Variable | Description |
|---|---|
QUIVERAI_API_KEY | API key (required) |
See Also
- OpenAI Provider - Compatible chat configuration options
- QuiverAI example