@ai-sdk/quiverai
v2.0.29
Published
The **QuiverAI provider** for the [AI SDK](https://ai-sdk.dev/docs) adds image generation support for the [QuiverAI](https://quiver.ai/) API. QuiverAI generates SVG documents from text prompts and can also vectorize raster images.
Keywords
Readme
AI SDK - QuiverAI Provider
The QuiverAI provider for the AI SDK adds image generation support for the QuiverAI API. QuiverAI generates SVG documents from text prompts and can also vectorize raster images.
Deploying to Vercel? With Vercel's AI Gateway you can access many models from other providers — no additional packages, API keys, or extra cost. Get started with AI Gateway.
Setup
The QuiverAI provider is available in the @ai-sdk/quiverai module. You can install it with:
npm i @ai-sdk/quiveraiSkill for Coding Agents
If you use coding agents such as Claude Code or Cursor, we highly recommend adding the AI SDK skill to your repository:
npx skills add vercel/aiProvider Instance
You can import the default provider instance quiverai from @ai-sdk/quiverai:
import { quiverai } from '@ai-sdk/quiverai';Image Generation Example
import { quiverai } from '@ai-sdk/quiverai';
import { generateImage } from 'ai';
import fs from 'fs';
const { image } = await generateImage({
model: quiverai.image('arrow-1.1'),
prompt: 'A logo for the next AI Design startup',
});
const filename = `image-${Date.now()}.svg`;
fs.writeFileSync(filename, image.uint8Array);
console.log(`Image saved to ${filename}`);Documentation
Please check out the QuiverAI provider for more information.
