# Quiver (/integrations/quiver)



{/* MANUAL-CONTENT-START:intro */}

Use [QuiverAI](https://quiver.ai/) to generate SVG graphics from text or vectorize a raster image. Supply up to four reference images for generation, and configure temperature, output count, and token limits where supported.

**List Models** reports available models and capabilities. Generated SVG markup and stored files are returned for downstream processing, storage, or delivery.

{/* MANUAL-CONTENT-END */}

## Use the block [#usage-instructions]

Generate SVG images from text prompts or vectorize raster images into SVGs using QuiverAI. Supports reference images, style instructions, and multiple output generation.

## Actions [#actions]

### Quiver Text to SVG [#quiver-text-to-svg]

Generate SVG images from text prompts using QuiverAI

#### Input [#input]

| Parameter | Type | Required | Description |
| - | - | - | - |
| `apiKey` | string | Yes | QuiverAI API key |
| `prompt` | string | Yes | A text description of the desired SVG |
| `model` | string | Yes | The model to use for SVG generation (e.g., "arrow-preview") |
| `instructions` | string | No | Style or formatting guidance for the SVG output |
| `references` | file | No | Reference images to guide SVG generation (up to 4) |
| `n` | number | No | Number of SVGs to generate (1-16, default 1) |
| `temperature` | number | No | Sampling temperature (0-2, default 1) |
| `top_p` | number | No | Nucleus sampling probability (0-1, default 1) |
| `max_output_tokens` | number | No | Maximum output tokens (1-131072) |
| `presence_penalty` | number | No | Token penalty for prior output (-2 to 2, default 0) |

#### Output [#output]

| Parameter | Type | Description |
| - | - | - |
| `files` | file\[] | All generated SVG files |
| `id` | string | Request ID |
| `usage` | json | Token usage statistics |
| ↳ `totalTokens` | number | Total tokens used |
| ↳ `inputTokens` | number | Input tokens used |
| ↳ `outputTokens` | number | Output tokens used |

### Quiver Image to SVG [#quiver-image-to-svg]

Convert raster images into vector SVG format using QuiverAI

#### Input [#input-1]

| Parameter | Type | Required | Description |
| - | - | - | - |
| `apiKey` | string | Yes | QuiverAI API key |
| `model` | string | Yes | The model to use for vectorization (e.g., "arrow-preview") |
| `image` | file | Yes | The raster image to vectorize into SVG |
| `temperature` | number | No | Sampling temperature (0-2, default 1) |
| `top_p` | number | No | Nucleus sampling probability (0-1, default 1) |
| `max_output_tokens` | number | No | Maximum output tokens (1-131072) |
| `presence_penalty` | number | No | Token penalty for prior output (-2 to 2, default 0) |
| `auto_crop` | boolean | No | Automatically crop the image before vectorizing |
| `target_size` | number | No | Square resize target in pixels (128-4096) |

#### Output [#output-1]

| Parameter | Type | Description |
| - | - | - |
| `files` | file\[] | All generated SVG files |
| `id` | string | Request ID |
| `usage` | json | Token usage statistics |
| ↳ `totalTokens` | number | Total tokens used |
| ↳ `inputTokens` | number | Input tokens used |
| ↳ `outputTokens` | number | Output tokens used |

### Quiver List Models [#quiver-list-models]

List all available QuiverAI models

#### Input [#input-2]

| Parameter | Type | Required | Description |
| - | - | - | - |
| `apiKey` | string | Yes | QuiverAI API key |

#### Output [#output-2]

| Parameter | Type | Description |
| - | - | - |
| `success` | boolean | Whether the request succeeded |
| `output` | object | Available models |
| ↳ `models` | json | List of available QuiverAI models |
| ↳ `id` | string | Model identifier |
| ↳ `name` | string | Human-readable model name |
| ↳ `description` | string | Model capabilities summary |
| ↳ `created` | number | Unix timestamp of creation |
| ↳ `ownedBy` | string | Organization that owns the model |
| ↳ `inputModalities` | json | Supported input types (text, image, svg) |
| ↳ `outputModalities` | json | Supported output types (text, image, svg) |
| ↳ `contextLength` | number | Maximum context window |
| ↳ `maxOutputLength` | number | Maximum generation length |
| ↳ `supportedOperations` | json | Available operations (svg\_generate, svg\_edit, svg\_animate, svg\_vectorize, chat\_completions) |
| ↳ `supportedSamplingParameters` | json | Supported sampling parameters (temperature, top\_p, top\_k, repetition\_penalty, presence\_penalty, stop) |
