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

Claude Code · Image

How to Use Recraft V4 Styles Vector in Claude Code

Recraft V4 Styles Vector creates editable SVG icons and illustrations that follow your reference style. Use it for faster iteration, then consider Recraft V4 Styles Pro Vector for final artwork with more reference detail.

Prompts to try with Recraft V4 Styles Vector in Claude Code

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

Use Recraft V4 Styles Vector to draft an archive icon from the approved icon references in this project. Choose precise matching, center the archive box, and show the result beside our existing icons.

Recraft V4 Styles VectorClaude Code
Try asking
  • Use Recraft V4 Styles Vector to create separate planning, review, and delivery illustrations using the same project reference and precise matching. Put each SVG in the assets directory with a descriptive filename.

  • Use Recraft V4 Styles Vector to explore a new search empty state using the project's illustration reference and flexible matching. Show a person looking through a magnifying glass at an empty shelf.

  • Use Recraft V4 Styles Vector to create an empty inbox illustration using the project's approved illustration reference. Show an open mailbox with one leaf inside, with the subject in the lower half.

  • Use Recraft V4 Styles Vector to illustrate a gardener watering a young tree for our onboarding screen. Follow the approved project reference and leave open space above the tree.

How to set up Recraft V4 Styles Vector 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 V4 Styles Vector

    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": "recraft/v4/style/text-to-vector",
        "input": {
          "prompt": "a cute character fox with cool clothes, 3d flat color, design"
        }
      }'

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

Recraft V4 Styles Vector providers and prices

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

falImage
Recraft V4 Styles Text to Vector
recraft/v4/style/text-to-vector

Settings you can ask for

Recraft V4 Styles Vector works from your prompt and image URLs. Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Style matchprecise or flexible

Override how closely the generation follows the custom style.

Every API field of Recraft V4 Styles Text to Vector is on its tool page: open its card above.

What can you do with Recraft V4 Styles Vector in Claude Code?

Create SVG artwork that follows your product's existing visual style. A coding agent can use project assets as references and place generated icons or illustrations in the relevant screens.

Extend an existing icon set

Use approved icons as style references to draft matching symbols for new product features.

Create product empty states

Build related illustrations for an empty inbox, a completed task list, and a search with no results using one reference style.

Illustrate an editorial series

Give related articles distinct subjects while carrying the same visual treatment across their artwork.

Prepare presentation artwork

Create coordinated spot illustrations for slides about planning, collaboration, and delivery.

Build educational illustration sets

Generate separate illustrations of plants, tools, or animals in a consistent reference style for worksheets and lesson materials.

Develop packaging motifs

Use approved brand artwork as a reference for new ingredient illustrations, such as lemons, mint, and ginger, across a product line.

Questions about Recraft V4 Styles Vector in Claude Code

Can Claude Code use Recraft V4 Styles Vector?

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

How much does Recraft V4 Styles Vector cost in Claude Code?

$0.065 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 V4 Styles Vector in Claude Code?

No. Spiral runs Recraft V4 Styles Vector 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 V4 Styles Vector in Claude Code?

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

Does Claude Code wait while Recraft V4 Styles Vector runs?

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

Does Recraft V4 Styles Vector produce actual vector files?

Yes. Recraft V4 Styles Vector and Recraft V4 Styles Pro Vector return SVG artwork with no fixed pixel size, so pixel resolution is not the measure of their output size.

Can I generate artwork from text alone?

Both models need a reference style, supplied through reference images or a saved style. Your prompt describes the new artwork to create in that style.

What makes a useful set of references?

Choose images that share the same visual treatment. If your references point in different directions, start with one clear example.

When should I use Precise or Flexible matching?

Use Precise when a series needs to follow an established visual treatment closely. Choose Flexible when you want more interpretation of the reference.

What should I put in the prompt?

Describe what appears, what it is doing, and where it sits in the composition. Let the reference supply the visual treatment instead of adding competing style instructions.

Get started

Start using Recraft V4 Styles Vector 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