Spiral gives your agent every tool with one account. Browse the tools →

Claude Code · Image

How to Use Recraft Vectorize in Claude Code

Recraft Vectorize turns existing raster artwork into editable SVG shapes for logos, icons, and illustrations. It traces an image rather than creating new artwork from a text description.

Prompts to try with Recraft Vectorize in Claude Code

Copy an example into Claude Code, or ask in your own words.

Use Recraft Vectorize to convert assets/logo.png into SVG. Save it beside the original and show me a comparison before changing any references.

Recraft VectorizeClaude Code
Try asking
  • Find the simple raster icons in this project's assets directory. Convert them individually with Recraft Vectorize and prepare a preview at their current interface sizes.

  • Use Recraft Vectorize on the flat illustration in public/onboarding.png. Save the SVG and compare its shapes with the original.

  • Convert docs/architecture-diagram.png with Recraft Vectorize. Inspect parallel lines and intersections, then report any visible distortions.

  • Use Recraft Vectorize to convert assets/venue-map.png into SVG. Add a preview page so I can compare it with the raster map.

How to set up Recraft Vectorize in Claude Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Recraft Vectorize

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "fal",
        "model": "fal-ai/recraft/vectorize",
        "input": {
          "image_url": "https://storage.googleapis.com/falserverless/example_inputs/man_wave.png"
        }
      }'

Then paste one of the prompts above: Claude Code finds Recraft Vectorize on Spiral, shows the price and runs it.

Recraft Vectorize providers and prices

Spiral runs Recraft Vectorize through fal. Open a card for today's price, with every fee included.

falImage
Recraft · Vectorize
fal-ai/recraft/vectorize

What can you do with Recraft Vectorize in Claude Code?

Turn existing project artwork into editable SVG assets for interfaces and documentation. Have the agent compare the conversion with the source before replacing an asset.

Recover a scalable logo

Convert an existing raster logo into editable SVG artwork for reuse at different sizes.

Convert app icons

Turn simple raster icons into vector assets. Review their outlines before placing them in an interface.

Prepare illustrations for editing

Convert flat raster illustrations into editable shapes for subsequent design work.

Enlarge signage artwork

Vectorize a high-contrast sign graphic so it can be resized for larger placements.

Reuse technical diagrams

Convert a simple raster schematic into vector artwork for documentation or print. Inspect lines and intersections before use.

Scale illustrated maps

Convert a simplified raster map into SVG for use at different display sizes.

Questions about Recraft Vectorize in Claude Code

Can Claude Code use Recraft Vectorize?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Recraft Vectorize like any built-in tool.

How much does Recraft Vectorize cost in Claude Code?

$0.013 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

Do I need a fal account to use Recraft Vectorize in Claude Code?

No. Spiral runs Recraft Vectorize on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up Recraft Vectorize in Claude Code?

About two minutes: add the hosted server, then sign in.

Does Claude Code wait while Recraft Vectorize runs?

Recraft Vectorize runs in the background. Claude Code starts the run, checks on it and gives you the image when it's ready.

What does Recraft Vectorize produce?

It converts an existing raster image into an SVG made of editable shapes. Use it to turn existing artwork into a vector asset.

Which images work best?

Start with artwork that has clear contrast, geometric shapes, and few colors. Logos, icons, and simple diagrams are practical choices.

Can Recraft Vectorize preserve photographic detail?

Photos, 3D renders, and heavily textured illustrations can produce artifacts. Choose simpler source artwork when you need a clean vector result.

What resolution is the SVG output?

SVG can be rendered at any resolution. Set the display or print dimensions for your intended use without enlarging a fixed grid of pixels.

Can I create new artwork with a text prompt?

Recraft Vectorize traces an existing image. For new SVG artwork from a description, use a vector generation model.

Get started

Start using Recraft Vectorize in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options