[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [Recraft Vectorize](https://spiral.ai/integrations/antigravity/recraft-vectorize)

# How to Use Recraft Vectorize in Google Antigravity

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.

|  |  |
| --- | --- |
| Model | Recraft Vectorize |
| Available through | fal |
| Category | Image |
| Price | $0.013 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Recraft Vectorize in Google Antigravity

- Use Recraft Vectorize to convert assets/logo.png into SVG. Save it beside the original and show me a comparison before changing any references.
- 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 Google Antigravity

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

### Use Spiral's MCP server

1. **Open the MCP config**: * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit `~/.gemini/config/mcp_config.json`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **Sign in**: In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

### Use the Spiral skill

1. **Send Google Antigravity 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.

```bash
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.

```bash
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: Google Antigravity finds Recraft Vectorize on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/antigravity

## Recraft Vectorize tools and prices

- [Recraft · Vectorize](https://spiral.ai/tools/fal/fal-ai/recraft/vectorize) (fal): $0.013 per image.

## What can you do with Recraft Vectorize in Google Antigravity?

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.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Google Antigravity guides](https://spiral.ai/integrations/antigravity)

## Recraft Vectorize in other agents

- [Amp](https://spiral.ai/integrations/amp/recraft-vectorize)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/recraft-vectorize)
- [Claude](https://spiral.ai/integrations/claude-desktop/recraft-vectorize)
- [Claude Code](https://spiral.ai/integrations/claude-code/recraft-vectorize)
- [Cline](https://spiral.ai/integrations/cline/recraft-vectorize)
- [Codex](https://spiral.ai/integrations/codex/recraft-vectorize)
- [Cursor](https://spiral.ai/integrations/cursor/recraft-vectorize)
- [Devin](https://spiral.ai/integrations/devin/recraft-vectorize)
- [dots](https://spiral.ai/integrations/dots/recraft-vectorize)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/recraft-vectorize)
- [Gemini](https://spiral.ai/integrations/gemini/recraft-vectorize)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/recraft-vectorize)
- [goose](https://spiral.ai/integrations/goose/recraft-vectorize)
- [Grok](https://spiral.ai/integrations/grok/recraft-vectorize)
- [Grok Build](https://spiral.ai/integrations/grok-build/recraft-vectorize)
- [Hermes](https://spiral.ai/integrations/hermes/recraft-vectorize)
- [Instinct](https://spiral.ai/integrations/instinct/recraft-vectorize)
- [Manus](https://spiral.ai/integrations/manus/recraft-vectorize)
- [Muse](https://spiral.ai/integrations/muse/recraft-vectorize)
- [Muse Code](https://spiral.ai/integrations/muse-code/recraft-vectorize)
- [n8n](https://spiral.ai/integrations/n8n/recraft-vectorize)
- [Notion](https://spiral.ai/integrations/notion/recraft-vectorize)
- [OpenClaw](https://spiral.ai/integrations/openclaw/recraft-vectorize)
- [opencode](https://spiral.ai/integrations/opencode/recraft-vectorize)
- [Perplexity](https://spiral.ai/integrations/perplexity/recraft-vectorize)
- [Raycast](https://spiral.ai/integrations/raycast/recraft-vectorize)
- [VS Code](https://spiral.ai/integrations/vscode/recraft-vectorize)
- [Windsurf](https://spiral.ai/integrations/windsurf/recraft-vectorize)
- [Zapier](https://spiral.ai/integrations/zapier/recraft-vectorize)

## More Google Antigravity guides

- [Recraft V4.1 Vector](https://spiral.ai/integrations/antigravity/recraft-v4-1-vector)
- [Rembg Enhance](https://spiral.ai/integrations/antigravity/rembg-enhance)
- [Recraft V4.1 Utility Pro](https://spiral.ai/integrations/antigravity/recraft-v4-1-utility-pro)
- [RunDiffusion Photo Flux](https://spiral.ai/integrations/antigravity/rundiffusion-photo-flux)
- [Recraft V4.1 Utility](https://spiral.ai/integrations/antigravity/recraft-v4-1-utility)
- [SAM 3 Image](https://spiral.ai/integrations/antigravity/sam-3-image)

## Questions about Recraft Vectorize in Google Antigravity

**Can Google Antigravity use Recraft Vectorize?**

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

**How much does Recraft Vectorize cost in Google Antigravity?**

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

**Do I need a fal account to use Recraft Vectorize in Google Antigravity?**

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 Google Antigravity?**

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while Recraft Vectorize runs?**

Recraft Vectorize runs in the background. Google Antigravity 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.

