# HivemindOS SVG Vectorizer

> HivemindOS SVG Vectorizer is a paid API for AI agents from api.hivemindos.app, paid per call via x402, $0.4/call, status unknown (last checked 2026-10-10).

Converts a raster image (URL or base64) into a clean, scalable SVG vector graphic

## Facts

- Endpoint: POST https://api.hivemindos.app/v1/x402/svg-studio/svgs.vectorize?utm_source=zero.xyz
- Price: $0.4/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hivemindos-svg-vectorizer-f90f80fe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap___-ZGecZxKUndyl9WAqxY

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hivemindos-svg-vectorizer-f90f80fe -d '<json body>'
```

Example prompt: Can you vectorize this PNG logo for me — here's the URL: https://example.com/logo.png — use high reasoning effort and target a size of 512px, and auto-crop it too?

## When to prefer this

Choose this endpoint when you need to programmatically convert a raster image (PNG, JPEG, WebP) into a scalable SVG vector — especially for logos, icons, or illustrations. It is pay-per-success ($0.40 USDC), so there is no cost on failure. Prefer this over generic vectorization tools when you need configurable reasoning effort, optional auto-crop, and target size control in an agent-native x402 payment workflow.

## Known failure modes

- Image URL is unreachable or returns a non-image response
- Base64 string is malformed or missing
- Both url and base64 are provided simultaneously (not allowed)
- Target size outside 128–4096 range
- Image format not supported
- Network timeout during processing
- Insufficient USDC balance to cover $0.40 fee

## How this service works

Vectorize an image to SVG: turns a raster image into a clean SVG. $0.40 this call, in USDC on Base; you pay only if it succeeds. HivemindOS SuperAgent API.

## Output

A clean SVG vector file derived from the input raster image, suitable for scalable use in print, web, and design applications. The SVG is returned only if the conversion succeeds; payment of $0.40 USDC on Base is charged only on success.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "image": {
   "type": "object",
   "properties": {
    "url": {
     "type": "string",
     "format": "uri"
    },
    "base64": {
     "type": "string",
     "description": "Raw base64, no data: prefix."
    }
   },
   "description": "Either url (http/https) or base64, not both."
  },
  "autoCrop": {
   "type": "boolean"
  },
  "targetSize": {
   "type": "integer",
   "maximum": 4096,
   "minimum": 128
  },
  "reasoningEffort": {
   "enum": [
    "low",
    "medium",
    "high",
    "xhigh"
   ],
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hivemindos-svg-vectorizer-f90f80fe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.hivemindos.app](https://www.zero.xyz/host/api.hivemindos.app/llms.txt)
