← 返回
开发者工具 Key 中文

QuiverAI

Generate and vectorize SVG graphics via the QuiverAI API (Arrow model). Use when the user asks to create logos, icons, or illustrations as SVG, convert raste...
通过 QuiverAI API (Arrow 模型) 生成和矢量化 SVG 图形。适用于用户请求创建 Logo、图标、插图或转换光栅图像的场景。
charmmm718
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 599
下载
💾 65
安装
1
版本
#latest

概述

QuiverAI — AI Vector Graphics

QuiverAI generates production-ready SVGs from text prompts or raster images.

  • Site: https://quiver.ai
  • Docs: https://docs.quiver.ai
  • API base: https://api.quiver.ai/v1
  • Model: arrow-preview
  • Auth: Bearer token via QUIVERAI_API_KEY
  • Billing: 1 credit per request (regardless of n).

Setup

Get an API key at https://app.quiver.ai/settings/api-keys (create account at https://quiver.ai/start first).

Text to SVG

Generate SVGs from a text description.

Endpoint: POST /v1/svgs/generations

curl -X POST https://api.quiver.ai/v1/svgs/generations \
  -H "Authorization: Bearer $QUIVERAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "arrow-preview",
    "prompt": "A minimalist monogram logo using the letter Q",
    "n": 1,
    "stream": false
  }'

Node.js SDK (npm install @quiverai/sdk):

import { QuiverAI } from "@quiverai/sdk";
const client = new QuiverAI({ bearerAuth: process.env.QUIVERAI_API_KEY });

const result = await client.createSVGs.generateSVG({
  model: "arrow-preview",
  prompt: "A minimalist monogram logo using the letter Q",
});
// result.data[0].svg contains the SVG markup

Parameters

ParamTypeDefaultDescription
------------
modelstringRequired. Use arrow-preview.
promptstringRequired. Describes the desired SVG.
instructionsstringAdditional style guidance (e.g. "flat monochrome, rounded corners").
referencesarrayUp to 4 reference images ({ url } or { base64 }).
nint1Number of outputs (1–16).
temperaturefloat1Sampling temperature (0–2). Lower = more deterministic.
top_pfloat1Nucleus sampling (0–1).
max_output_tokensintUpper bound for output tokens (max 131072).
streamboolfalseSSE streaming (events: reasoning, draft, content).

Response

{
  "id": "resp_01J...",
  "created": 1704067200,
  "data": [{ "svg": "<svg ...>...</svg>", "mime_type": "image/svg+xml" }],
  "usage": { "total_tokens": 1640, "input_tokens": 1200, "output_tokens": 440 }
}

Image to SVG (Vectorize)

Convert a raster image (PNG/JPEG/WebP) into SVG.

Endpoint: POST /v1/svgs/vectorizations

curl -X POST https://api.quiver.ai/v1/svgs/vectorizations \
  -H "Authorization: Bearer $QUIVERAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "arrow-preview",
    "stream": false,
    "image": { "url": "https://example.com/logo.png" }
  }'

SDK:

const result = await client.vectorizeSVG.vectorizeSVG({
  model: "arrow-preview",
  image: { url: "https://example.com/logo.png" },
});

Additional parameters (beyond Text-to-SVG shared ones)

ParamTypeDefaultDescription
------------
imageobjectRequired. { url: "..." } or { base64: "..." }.
auto_cropboolfalseCrop to dominant subject before vectorization.
target_sizeintSquare resize target in px (128–4096) before inference.

Response format is identical to Text-to-SVG.

Error codes

StatusCodeMeaning
---------
400invalid_requestMalformed body or missing fields.
401unauthorizedBad or missing API key.
402insufficient_creditsOut of credits.
429rate_limit_exceededToo many requests; back off and retry.

Tips

  • Save SVG output to a .svg file for immediate use.
  • Use instructions to control style without changing the prompt.
  • For logos, try low temperature (0.3–0.5) for cleaner, more consistent results.
  • Use references to provide visual examples the model should match.
  • For vectorization, enable auto_crop: true when the source image has excess whitespace.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 00:36 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,927
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,474
communication-collaboration

MaxClaw User Guide

charmmm718
MaxClaw 平台用户指南和常见问题解答。用于回答关于 MaxClaw 部署、一键设置、Telegram 连接、积分使用、故障排除等问题。
★ 0 📥 631