搜索

PythonReactSEOPDF
OpenClaw

quiverai-quickstart

QuiverAI API快速入门指南。当用户想要学习如何使用QuiverAI的SVG生成API时使用此技能。包括API密钥创建、环境配置、SDK安装和发送请求的完整流程。

charmmm7180 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install charmmm718/quiverai-quickstart

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

QuiverAI 快速入门指南

本指南将帮助你快速上手QuiverAI的SVG生成API,包括账户创建、API密钥配置、SDK安装和发送请求的完整流程。

前期准备

1. 创建账户

首先访问 quiver.ai/start 创建QuiverAI公开测试账户,然后登录 app.quiver.ai。

2. 创建API密钥
  1. 在应用中打开 API Keys(Settings > Developers > API Keys)
  2. 点击 Create API key 并命名
  3. 立即复制密钥 —— 密钥只显示一次,无法后续找回
3. 配置环境变量

QuiverAI API使用Bearer认证方式。将密钥保存为 QUIVERAI_API_KEY:

macOS/Linux:

export QUIVERAI_API_KEY="<your-key>"

Windows PowerShell:

$env:QUIVERAI_API_KEY="<your-key>"

安装SDK

Node.js SDK

使用官方Node.js SDK:

npm install @quiverai/sdk

或使用 pnpm/bun:

pnpm add @quiverai/sdk
# 或
bun add @quiverai/sdk

发送第一个请求

使用Node.js SDK
import { QuiverAI } from "@quiverai/sdk";

const client = new QuiverAI({
  bearerAuth: process.env["QUIVERAI_API_KEY"],
});

const logo = await client.createSVGs.generateSVG({
  model: "arrow-preview",
  prompt: "A logo for the next AI Design startup",
});

console.log(logo);
使用REST API

也可以直接使用HTTP请求:

curl --request POST \
  --url https://api.quiver.ai/v1/svgs/generations \
  --header 'Authorization: Bearer <QUIVERAI_API_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "arrow-preview",
    "prompt": "A logo for the next AI Design startup",
    "n": 1,
    "stream": false
  }'

错误处理

API返回JSON错误载荷:

{
  "status": 429,
  "code": "rate_limit_exceeded",
  "message": "Rate limit exceeded",
  "request_id": "req_01J..."
}

常见错误码:

  • 401 Unauthorized: API密钥缺失或无效
  • 402 Payment Required: 积分不足
  • 429 Too Many Requests: 请求过于频繁,请稍后重试

计费模型

  • 每次成功的API请求消耗1积分
  • 计费按请求次数计算,即使 n 大于1也只消耗1积分...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/charmmm718/quiverai-quickstart
Version
—
Commit
bdc766e6865c0d75da98e9a7759500bdc7fb2fd0
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# QuiverAI 快速入门指南

本指南将帮助你快速上手QuiverAI的SVG生成API,包括账户创建、API密钥配置、SDK安装和发送请求的完整流程。

## 前期准备

### 1. 创建账户

首先访问 [quiver.ai/start](https://quiver.ai/start) 创建QuiverAI公开测试账户,然后登录 [app.quiver.ai](https://app.quiver.ai)。

### 2. 创建API密钥

1. 在应用中打开 [API Keys](https://app.quiver.ai/settings/api-keys)(Settings > Developers > API Keys)
2. 点击 **Create API key** 并命名
3. **立即复制密钥** —— 密钥只显示一次,无法后续找回

### 3. 配置环境变量

QuiverAI API使用Bearer认证方式。将密钥保存为 `QUIVERAI_API_KEY`:

**macOS/Linux:**
```bash
export QUIVERAI_API_KEY="<your-key>"
```

**Windows PowerShell:**
```bash
$env:QUIVERAI_API_KEY="<your-key>"
```

## 安装SDK

### Node.js SDK

使用官方Node.js SDK:

```bash
npm install @quiverai/sdk
```

或使用 pnpm/bun:
```bash
pnpm add @quiverai/sdk
# 或
bun add @quiverai/sdk
```

## 发送第一个请求

### 使用Node.js SDK

```javascript
import { QuiverAI } from "@quiverai/sdk";

const client = new QuiverAI({
  bearerAuth: process.env["QUIVERAI_API_KEY"],
});

const logo = await client.createSVGs.generateSVG({
  model: "arrow-preview",
  prompt: "A logo for the next AI Design startup",
});

console.log(logo);
```

### 使用REST API

也可以直接使用HTTP请求:

```bash
curl --request POST \
  --url https://api.quiver.ai/v1/svgs/generations \
  --header 'Authorization: Bearer <QUIVERAI_API_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "arrow-preview",
    "prompt": "A logo for the next AI Design startup",
    "n": 1,
    "stream": false
  }'
```

## 错误处理

API返回JSON错误载荷:

```json
{
  "status": 429,
  "code": "rate_limit_exceeded",
  "message": "Rate limit exceeded",
  "request_id": "req_01J..."
}
```

常见错误码:
- `401 Unauthorized`: API密钥缺失或无效
- `402 Payment Required`: 积分不足
- `429 Too Many Requests`: 请求过于频繁,请稍后重试

## 计费模型

- 每次成功的API请求消耗1积分
- 计费按请求次数计算,即使 `n` 大于1也只消耗1积分...

相关技能

OpenClaw

humanpages

human-pages-ai

Search and hire real humans for tasks — photography, delivery, research, and more

OpenClaw

openclaw-skills

zseven-w

Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.

OpenClaw

0xarchive

0xfantommenace

Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user...

OpenClaw

1sec-security

cutmob

Install, configure, and manage 1-SEC — an open-source, all-in-one cybersecurity platform (16 modules, single binary) on Linux servers and VPS instances. Use when the user asks to secure a server, install securi...