Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aiskillstore avatar

Create Svg From Prompt

  • 1 installs
  • 404 repo stars
  • Updated August 5, 2026
  • aiskillstore/marketplace

create-svg-from-prompt is a Claude skill that generates an SVG of a user-requested image or scene using Google Gemini and autotrace.

About

This skill generates an SVG of a requested image or scene. It calls the Google Gemini image model to render a raster image, then runs autotrace to convert that image into an SVG file. A developer reaches for it when they need vector art from a natural-language description inside an agent workflow.

  • Turns a text prompt into an SVG via Gemini image generation plus autotrace
  • Ships install commands for the autotrace dependency
  • Reads the Gemini key from the GEMINI_API_KEY environment variable

Create Svg From Prompt by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #1,200 of 1,335 Generative Media skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

create-svg-from-prompt capabilities & compatibility

Requires a Google Gemini API key (GEMINI_API_KEY); Gemini image calls are billed by Google.

Capabilities
image generation · svg generation · vector tracing
Works with
gcp
Use cases
image generation
Platforms
Linux
Runs
Runs locally
Pricing
Bring your own API key
From the docs

What create-svg-from-prompt says it does

Generate an SVG of a user-requested image or scene
SKILL.md
To generate an SVG of an image or scene use Google Gemini and autotrace:
SKILL.md
npx skills add https://github.com/aiskillstore/marketplace --skill create-svg-from-prompt

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars404
Last updatedAugust 5, 2026
Repositoryaiskillstore/marketplace

What it does

Generate an SVG vector graphic from a natural-language image prompt.

When should I use this skill?

When the user asks the model to generate an SVG of an image or scene.

What you get

An SVG file is written to disk from the user's image prompt.

  • an .svg file

By the numbers

  • uses gemini-2.5-flash-image model
  • output filename is 8-30 characters

Files

SKILL.mdMarkdownGitHub ↗

Setup

if autotrace is not available in the environment, then install it with the following command:

sudo apt update
sudo apt install git build-essential intltool imagemagick libmagickcore-dev pstoedit libpstoedit-dev autopoint
git clone https://github.com/autotrace/autotrace.git
cd autotrace
./autogen.sh
LD_LIBRARY_PATH=/usr/local/lib ./configure --prefix=/usr
make
sudo make install

Core Workflow

When the user prompts the model to generate an SVG of and image or scene:

User wants an SVG of an image or scene

To generate an SVG of an image or scene use Google Gemini and autotrace:

curl -s -X POST "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-image:generateContent" -H "x-goog-api-key: <GEMINI_API_KEY>" -H "Content-Type: application/json" -d '{ "contents": [{ "parts": [ {"text": "<IMAGE_PROMPT>"}]}]}' | grep -o '"data": "[^"]*"' | cut -d'"' -f4 | base64 --decode | autotrace -output-format svg -despeckle-level 10 -despeckle-tightness 2.0 -output-file <OUTPUT_FILE>.svg

Arguments from prompt:

  • <GEMINI_API_KEY>: The Gemini API key gotten from the environment variable "GEMINI_API_KEY"
  • <IMAGE_PROMPT>: The user's initial prompt modified to change phrases like "Generate an svg" to "Generate an image." Do not modify the rest of the prompt or add any extra instructions or descriptions.
  • <OUTPUT_FILE>: An 8-30 character filename based on the image the user wants

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.