AptlyStar

Quiver

Generate and vectorize SVGs

使用说明

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

工具

quiver_text_to_svg

Generate SVG images from text prompts using QuiverAI

输入

参数类型必填描述
apiKeystring是QuiverAI API key
promptstring是A text description of the desired SVG
modelstring是The model to use for SVG generation (e.g., "arrow-preview")
instructionsstring否Style or formatting guidance for the SVG output
referencesfile否Reference images to guide SVG generation (up to 4)
nnumber否Number of SVGs to generate (1-16, default 1)
temperaturenumber否Sampling temperature (0-2, default 1)
top_pnumber否Nucleus sampling probability (0-1, default 1)
max_output_tokensnumber否Maximum output tokens (1-131072)
presence_penaltynumber否Token penalty for prior output (-2 to 2, default 0)

输出

参数类型描述
successbooleanWhether the SVG generation succeeded
outputobjectGenerated SVG output
↳ filefileFirst generated SVG file
↳ filesjsonAll generated SVG files (when n > 1)
↳ svgContentstringRaw SVG markup content of the first result
↳ idstringGeneration request ID
↳ usagejsonToken usage statistics
↳ totalTokensnumberTotal tokens used
↳ inputTokensnumberInput tokens used
↳ outputTokensnumberOutput tokens used

quiver_image_to_svg

Convert raster images into vector SVG format using QuiverAI

输入

参数类型必填描述
apiKeystring是QuiverAI API key
modelstring是The model to use for vectorization (e.g., "arrow-preview")
imagefile是The raster image to vectorize into SVG
temperaturenumber否Sampling temperature (0-2, default 1)
top_pnumber否Nucleus sampling probability (0-1, default 1)
max_output_tokensnumber否Maximum output tokens (1-131072)
presence_penaltynumber否Token penalty for prior output (-2 to 2, default 0)
auto_cropboolean否Automatically crop the image before vectorizing
target_sizenumber否Square resize target in pixels (128-4096)

输出

参数类型描述
successbooleanWhether the vectorization succeeded
outputobjectVectorized SVG output
↳ filefileGenerated SVG file
↳ svgContentstringRaw SVG markup content
↳ idstringVectorization request ID
↳ usagejsonToken usage statistics
↳ totalTokensnumberTotal tokens used
↳ inputTokensnumberInput tokens used
↳ outputTokensnumberOutput tokens used

quiver_list_models

List all available QuiverAI models

输入

参数类型必填描述
apiKeystring是QuiverAI API key

输出

参数类型描述
successbooleanWhether the request succeeded
outputobjectAvailable models
↳ modelsjsonList of available QuiverAI models
↳ idstringModel identifier
↳ namestringHuman-readable model name
↳ descriptionstringModel capabilities summary
↳ creatednumberUnix timestamp of creation
↳ ownedBystringOrganization that owns the model
↳ inputModalitiesjsonSupported input types (text, image, svg)
↳ outputModalitiesjsonSupported output types (text, image, svg)
↳ contextLengthnumberMaximum context window
↳ maxOutputLengthnumberMaximum generation length
↳ supportedOperationsjsonAvailable operations (svg_generate, svg_edit, svg_animate, svg_vectorize, chat_completions)
↳ supportedSamplingParametersjsonSupported sampling parameters (temperature, top_p, top_k, repetition_penalty, presence_penalty, stop)

On this page